成人在线亚洲_国产日韩视频一区二区三区_久久久国产精品_99国内精品久久久久久久

您的位置:首頁技術文章
文章詳情頁

java - maven 打包依賴重復 求大佬

瀏覽:169日期:2023-10-19 11:37:54

問題描述

報錯信息:

Error: A JNI error has occurred, please check your installation and try againException in thread 'main' java.lang.SecurityException: Invalid signature file digest for Manifest main attributes at sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:314) at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:268) at java.util.jar.JarVerifier.processEntry(JarVerifier.java:316) at java.util.jar.JarVerifier.update(JarVerifier.java:228) at java.util.jar.JarFile.initializeVerifier(JarFile.java:383) at java.util.jar.JarFile.getInputStream(JarFile.java:450) at sun.misc.JarIndex.getJarIndex(JarIndex.java:137) at sun.misc.URLClassPath$JarLoader$1.run(URLClassPath.java:839) at sun.misc.URLClassPath$JarLoader$1.run(URLClassPath.java:831) at java.security.AccessController.doPrivileged(Native Method) at sun.misc.URLClassPath$JarLoader.ensureOpen(URLClassPath.java:830) at sun.misc.URLClassPath$JarLoader.<init>(URLClassPath.java:803) at sun.misc.URLClassPath$3.run(URLClassPath.java:530) at sun.misc.URLClassPath$3.run(URLClassPath.java:520) at java.security.AccessController.doPrivileged(Native Method) at sun.misc.URLClassPath.getLoader(URLClassPath.java:519) at sun.misc.URLClassPath.getLoader(URLClassPath.java:492) at sun.misc.URLClassPath.getNextLoader(URLClassPath.java:457) at sun.misc.URLClassPath.getResource(URLClassPath.java:211) at java.net.URLClassLoader$1.run(URLClassLoader.java:365) at java.net.URLClassLoader$1.run(URLClassLoader.java:362) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:361) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:495)

facade_app.jar pom.xml:

<project xmlns='http://maven.apache.org/POM/4.0.0' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd'> <parent><artifactId>iot_cloud</artifactId><groupId>com.iot.nero</groupId><version>1.0-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>facade_app</artifactId> <packaging>jar</packaging> <name>facade_app</name> <url>http://maven.apache.org</url> <properties><project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <dependencies><dependency> <groupId>com.iot.nero</groupId> <artifactId>parent_app</artifactId> <version>1.0-SNAPSHOT</version></dependency><dependency> <groupId>com.iot.nero</groupId> <artifactId>common</artifactId> <version>1.0-SNAPSHOT</version></dependency><dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.12</version></dependency> </dependencies> <build><plugins> <plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-shade-plugin</artifactId><version>1.4</version><executions> <execution><phase>package</phase><goals> <goal>shade</goal></goals><configuration> <filters><filter> <artifact>*:*</artifact> <excludes><exclude>META-INF/*.SF</exclude><exclude>META-INF/*.DSA</exclude><exclude>META-INF/*.RSA</exclude> </excludes></filter> </filters> <transformers><transformerimplementation='org.apache.maven.plugins.shade.resource.ManifestResourceTransformer'> <mainClass>com.defonds.RsaEncryptor</mainClass></transformer><transformerimplementation='org.apache.maven.plugins.shade.resource.AppendingTransformer'> <resource>META-INF/spring.handlers</resource></transformer><transformerimplementation='org.apache.maven.plugins.shade.resource.AppendingTransformer'> <resource>META-INF/spring.schemas</resource></transformer> </transformers></configuration> </execution></executions> </plugin></plugins> </build></project>

parent_app pom.xml

<project xmlns='http://maven.apache.org/POM/4.0.0' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd'> <parent><artifactId>iot_cloud</artifactId><groupId>com.iot.nero</groupId><version>1.0-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>parent_app</artifactId> <packaging>jar</packaging> <name>parent_app</name> <url>http://maven.apache.org</url> <properties><project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <dependencies><dependency> <groupId>com.iot.nero</groupId> <artifactId>parent</artifactId> <version>1.0-SNAPSHOT</version></dependency> </dependencies></project>

parent pom.xml

<project xmlns='http://maven.apache.org/POM/4.0.0' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd'> <parent><artifactId>iot_cloud</artifactId><groupId>com.iot.nero</groupId><version>1.0-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>parent</artifactId> <packaging>jar</packaging> <name>parent</name> <url>http://maven.apache.org</url> <properties><project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <dependencies><!--ttest--> </dependencies></project>

common pom.xml

<project xmlns='http://maven.apache.org/POM/4.0.0' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd'> <parent><artifactId>iot_cloud</artifactId><groupId>com.iot.nero</groupId><version>1.0-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>common</artifactId> <packaging>jar</packaging> <name>common</name> <url>http://maven.apache.org</url> <properties><project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <dependencies><dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>1.7.12</version></dependency><dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-core</artifactId> <version>1.1.1</version></dependency><dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> <version>1.1.1</version></dependency><!--database --><!--database --><dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>5.1.35</version> <scope>runtime</scope></dependency><dependency> <groupId>c3p0</groupId> <artifactId>c3p0</artifactId> <version>0.9.1.2</version></dependency><!--dao--><dependency> <groupId>org.mybatis</groupId> <artifactId>mybatis</artifactId> <version>3.3.0</version></dependency><dependency> <groupId>org.mybatis</groupId> <artifactId>mybatis-spring</artifactId> <version>1.2.3</version></dependency><!--json --><!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-core --><dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-core</artifactId> <version>2.5.4</version></dependency><dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>2.5.4</version></dependency><!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-annotations --><dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-annotations</artifactId> <version>2.5.4</version></dependency><dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId> <version>3.1.0</version></dependency><!--spring--><dependency> <groupId>org.springframework</groupId> <artifactId>spring-core</artifactId> <version>4.1.7.RELEASE</version></dependency><dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <version>4.1.7.RELEASE</version></dependency><dependency> <groupId>org.springframework</groupId> <artifactId>spring-beans</artifactId> <version>4.1.7.RELEASE</version></dependency><dependency> <groupId>org.springframework</groupId> <artifactId>spring-jdbc</artifactId> <version>4.1.7.RELEASE</version></dependency><dependency> <groupId>org.springframework</groupId> <artifactId>spring-tx</artifactId> <version>4.1.7.RELEASE</version></dependency><dependency> <groupId>org.springframework</groupId> <artifactId>spring-web</artifactId> <version>4.1.7.RELEASE</version></dependency><dependency> <groupId>org.springframework</groupId> <artifactId>spring-webmvc</artifactId> <version>4.1.7.RELEASE</version></dependency><!--spring test--><dependency> <groupId>org.springframework</groupId> <artifactId>spring-test</artifactId> <version>4.1.7.RELEASE</version></dependency><!-- https://mvnrepository.com/artifact/javax.mail/mail --><dependency> <groupId>javax.mail</groupId> <artifactId>mail</artifactId> <version>1.5.0-b01</version></dependency><!-- https://mvnrepository.com/artifact/org.apache.commons/commons-email --><dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-email</artifactId> <version>1.4</version></dependency><!--RPC framework--><dependency> <groupId>io.netty</groupId> <artifactId>netty-all</artifactId> <version>5.0.0.Alpha2</version></dependency><!--阿里巴巴dubbo依賴--><dependency> <groupId>com.alibaba</groupId> <artifactId>dubbo</artifactId> <version>2.5.3</version> <exclusions><exclusion> <artifactId>spring</artifactId> <groupId>org.springframework</groupId></exclusion> </exclusions></dependency><!--注冊中心依賴--><dependency> <groupId>org.ow2.util.bundles</groupId> <artifactId>zookeeper-3.3.1</artifactId> <version>1.0.0</version></dependency><!--zkclient--><dependency> <groupId>com.github.sgroschupf</groupId> <artifactId>zkclient</artifactId> <version>0.1</version></dependency> </dependencies> <excludes><exclude>META-INF/*.SF</exclude><exclude>META-INF/*.DSA</exclude><exclude>META-INF/*.RSA</exclude><exclude>junit:junit</exclude> </excludes></project>

facade_app.jar java - maven 打包依賴重復 求大佬

類都有兩份求大神幫忙

問題解答

回答1:

是不是因為

<excludes> <exclude>META-INF/*.SF</exclude> <exclude>META-INF/*.DSA</exclude> <exclude>META-INF/*.RSA</exclude></excludes>

然后再MAINFEST.ME 上又存在定義

標簽: java
相關文章:
成人在线亚洲_国产日韩视频一区二区三区_久久久国产精品_99国内精品久久久久久久
国产在线不卡一卡二卡三卡四卡| 欧美精品xxxxbbbb| 欧美在线一二三四区| 亚洲日本免费电影| 欧美精品一卡| 久久日韩精品一区二区五区| 国产一区二区h| 欧美日韩大陆在线| 黄页视频在线91| 欧美日韩精品一区二区三区四区 | 日韩高清在线观看| 国产伦精品一区二区三区视频黑人| 国产精品久久久久四虎| 91免费在线视频观看| 久久久欧美精品sm网站| eeuss鲁片一区二区三区在线观看| 日韩欧美一级二级三级| 成人自拍视频在线| 亚洲精品一区二区三区香蕉| 99精品久久免费看蜜臀剧情介绍| 久久久www成人免费无遮挡大片| 99久久精品国产麻豆演员表| 久久综合狠狠综合| 欧美va天堂在线| 国产亚洲女人久久久久毛片| 欧美大片专区| 中文字幕在线不卡一区| 亚洲看片免费| 亚洲成人在线观看视频| 一道本成人在线| 亚洲高清久久| 亚洲成人久久影院| 在线精品亚洲一区二区不卡| 美女视频网站久久| 91精品国产91久久久久久一区二区| 高清在线不卡av| 久久久91精品国产一区二区精品 | 久久精品国产亚洲一区二区三区| 欧美视频日韩视频在线观看| 国产乱码精品一区二区三区av| 日韩精品影音先锋| 91免费视频观看| 日韩毛片在线免费观看| 亚洲在线黄色| 裸体健美xxxx欧美裸体表演| 8x福利精品第一导航| 不卡免费追剧大全电视剧网站| 国产欧美精品在线观看| 日韩视频一区| 美腿丝袜亚洲一区| 欧美videossexotv100| 女人天堂亚洲aⅴ在线观看| 中文字幕一区日韩精品欧美| 亚洲欧美日韩另类精品一区二区三区 | 欧美日韩色一区| 日韩在线一区二区| 在线不卡欧美精品一区二区三区| eeuss影院一区二区三区| 成人免费在线播放视频| 久久一二三区| 成人午夜av电影| 国产精品国产精品国产专区不蜜| 国产亚洲毛片在线| 经典三级在线一区| 日本一区二区在线不卡| 亚洲一区三区视频在线观看| 国产综合一区二区| 欧美经典一区二区| 久久天堂成人| av不卡一区二区三区| 一区二区三区欧美| 91.com视频| 精品999在线观看| 精品一区二区国语对白| 国产欧美一区二区三区沐欲| 老色鬼久久亚洲一区二区| 成人av影视在线观看| 亚洲精品国产一区二区精华液| 欧美日韩国产小视频在线观看| 色综合色狠狠天天综合色| 香蕉久久一区二区不卡无毒影院| 91麻豆精品国产91久久久使用方法| 好吊色欧美一区二区三区四区| 人人爽香蕉精品| 国产精品日日摸夜夜摸av| 欧美性欧美巨大黑白大战| 欧美激情视频一区二区三区在线播放| 天使萌一区二区三区免费观看| 亚洲精品一区二区三区在线观看| 免费在线一区二区| thepron国产精品| 天使萌一区二区三区免费观看| 久久亚洲欧美国产精品乐播| 性刺激综合网| aaa欧美色吧激情视频| 婷婷综合五月天| 国产日韩欧美一区二区三区乱码| 色综合久久99| 欧美日韩一卡| 国产一区二区调教| 亚洲主播在线观看| 久久嫩草精品久久久精品一| 色呦呦国产精品| 国产一区视频在线观看免费| 国产综合色精品一区二区三区| 樱花草国产18久久久久| 精品久久久久一区| 色呦呦日韩精品| 欧美在线三区| 国模一区二区三区白浆 | 国产电影一区在线| 亚洲国产精品久久久久婷婷884 | 日韩经典一区二区| 国产精品看片你懂得| 精品视频色一区| 亚洲精选一区| 成人精品小蝌蚪| 奇米精品一区二区三区在线观看 | 精品成人a区在线观看| 91精品福利视频| 日韩视频三区| 色综合天天综合给合国产| 国产一区在线视频| 午夜精品久久久久久久久久久| 欧美国产日产图区| 欧美大片国产精品| 欧美在线视频不卡| 亚洲区国产区| 91免费视频网| 成人午夜视频福利| 久久精品72免费观看| 亚洲综合成人在线视频| 国产农村妇女毛片精品久久麻豆| 日韩欧美一区二区三区在线| 欧美性猛片aaaaaaa做受| 亚洲一级在线| 亚洲特级毛片| 欧美在线网站| 成人av网站免费观看| 九九精品一区二区| 五月婷婷久久丁香| 一区二区三区四区视频精品免费 | 欧美日韩一区二区在线观看| 国产视频欧美| 韩国一区二区三区在线观看| av电影天堂一区二区在线观看| 国产一区免费电影| 首页亚洲欧美制服丝腿| 亚洲精品免费视频| 亚洲欧洲一区二区在线播放| 国产日韩欧美不卡| 久久综合视频网| 欧美成人精品高清在线播放| 欧美人与禽zozo性伦| 在线观看不卡一区| 一本久久综合亚洲鲁鲁五月天| 亚洲欧美日韩国产一区二区| 日韩天天综合| 99亚洲精品| 亚洲精品一品区二品区三品区| 国产精品xvideos88| 欧美成人日韩| 午夜精品一区二区在线观看| 成人高清免费观看| 国产ts人妖一区二区| 激情五月婷婷综合| 精品一区二区av| 国产精品综合久久| 国产麻豆精品视频| 国产美女精品一区二区三区| 九一九一国产精品| 国内精品久久久久影院薰衣草| 九九视频精品免费| 国产一区二区三区在线观看免费 | 好看的av在线不卡观看| 91麻豆精品一区二区三区| a4yy欧美一区二区三区| 99精品一区二区三区| 91女厕偷拍女厕偷拍高清| 欧美韩国一区| 狠狠久久婷婷| 亚洲精品国产系列| 国产精品视频福利| 久久久久久一区| 在线观看免费亚洲| 欧美精品一二三四| 日韩欧美国产一区二区在线播放| 日韩午夜在线观看视频| 欧美成va人片在线观看| 欧美va亚洲va| 国产亚洲视频系列| 亚洲欧美一区二区在线观看| 亚洲精品中文在线观看| 亚洲第一精品在线| 免费观看成人鲁鲁鲁鲁鲁视频| 免费高清在线一区| 国产精品99久| 91蜜桃视频在线| 伊人久久婷婷色综合98网| 国产精品美女久久久|