主题 : 开源版打包报错
级别: 白丁
UID: 137392
积分:120 加为好友
威望: 1 精华: 0
主题:21 回复:33
注册时间:2021-03-01
在线时长:0
1#   发表于:2021-09-09 11:51:16  IP:27.180.*.*
读取/Users/haojie/Environment/apache-maven-3.8.1/maven-repo/com/kingbase/dialect-for-hibernate/5.2.17/dialect-for-hibernate-5.2.17.jar时出错; error in opening zip file

dialect-for-hibernate这个jar包打包时报错,导致放到tomcat上时也报这个错....

我看有好几个人提这个问题了,没人给解决吗?

开源版的打包报这个错,上线也报这个错,弄的都不敢购买商业版的了。
级别: 总版主
UID: 10736
积分:149787 加为好友
威望: 212 精华: 42
主题:297 回复:127674
注册时间:2010-09-08
在线时长:90.1
2#   发表于:2021-09-09 11:52:27  IP:111.203.*.*
读取/Users/haojie/Environment/apache-maven-3.8.1/maven-repo/com/kingbase/dialect-for-hibernate/5.2.17/dialect-for-hibernate-5.2.17.jar时出错; error in opening zip file

dialect-for-hibernate这个jar包打包时报错,导致放到tomcat上时也报这个错....

我看有好几个人提这个问题了,没人给解决吗?
什么版本?详细的报错日志发出来
路漫漫其修远兮,吾将上下而求索!
级别: 白丁
UID: 137392
积分:120 加为好友
威望: 1 精华: 0
主题:21 回复:33
注册时间:2021-03-01
在线时长:0
3#   发表于:2021-09-09 11:56:05  IP:27.180.*.*
回复第2楼
开源版本:jeecmsx1.10.0

打包时报错日志,导致放到tomcat运行也是error in opening zip file

[ERROR] 读取/Users/haojie/Environment/apache-maven-3.8.1/maven-repo/com/kingbase/dialect-for-hibernate/5.2.17/dialect-for-hibernate-5.2.17.jar时出错; error in opening zip file
[ERROR] 读取/Users/haojie/Environment/apache-maven-3.8.1/maven-repo/com/kingbase/dialect-for-hibernate/5.2.17/dialect-for-hibernate-5.2.17.jar时出错; error in opening zip file


/Library/Java/JavaVirtualMachines/jdk1.8.0_291.jdk/Contents/Home/bin/java -Dmaven.multiModuleProjectDirectory=/Users/haojie/IdeaProjects/detention/jeecms-parent -Dmaven.home=/Applications/IntelliJ IDEA.app/Contents/plugins/maven/lib/maven3 -Dclassworlds.conf=/Applications/IntelliJ IDEA.app/Contents/plugins/maven/lib/maven3/bin/m2.conf -Dmaven.ext.class.path=/Applications/IntelliJ IDEA.app/Contents/plugins/maven/lib/maven-event-listener.jar -javaagent:/Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar=53912:/Applications/IntelliJ IDEA.app/Contents/bin -Dfile.encoding=UTF-8 -classpath /Applications/IntelliJ IDEA.app/Contents/plugins/maven/lib/maven3/boot/plexus-classworlds.license:/Applications/IntelliJ IDEA.app/Contents/plugins/maven/lib/maven3/boot/plexus-classworlds-2.6.0.jar org.codehaus.classworlds.Launcher -Didea.version=2021.1.2 -s /Users/haojie/Environment/apache-maven-3.8.1/conf/settings.xml -Dmaven.repo.local=/Users/haojie/Environment/apache-maven-3.8.1/maven-repo -DskipTests=true package
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for com.jeecms:jeecms-component:jar:x1.10.0
[WARNING] 'dependencies.dependency.version' for org.jetbrains:annotations:jar is either LATEST or RELEASE (both of them are being deprecated) @ line 41, column 22
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] jeecms-parent                                                      [pom]
[INFO] jeecms-common                                                      [jar]
[INFO] jeecms-component                                                   [jar]
[INFO] jeecms-mq-thread                                                   [jar]
[INFO] jeecms-lucene                                                      [jar]
[INFO] jeecms-admin                                                       [jar]
[INFO] jeecms-form                                                        [jar]
[INFO] jeecms-front                                                       [war]
[INFO] 
[INFO] ----------------------< com.jeecms:jeecms-parent >----------------------
[INFO] Building jeecms-parent x1.10.0                                     [1/8]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] ----------------------< com.jeecms:jeecms-common >----------------------
[INFO] Building jeecms-common x1.10.0                                     [2/8]
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The POM for com.dm:DmDialect-for-hibernate:jar:5.0 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for com.dm:DmJdbcDriver:jar:18 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for com.kingbase:dialect-for-hibernate:jar:5.2.17 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ jeecms-common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ jeecms-common ---
Downloading from aliyunmaven: https://maven.aliyun.com/repository/spring/org/apache/maven/shared/maven-shared-utils/3.1.0/maven-shared-utils-3.1.0.pom
Downloaded from aliyunmaven: https://maven.aliyun.com/repository/spring/org/apache/maven/shared/maven-shared-utils/3.1.0/maven-shared-utils-3.1.0.pom (0 B at 0 B/s)
Downloading from aliyunmaven: https://maven.aliyun.com/repository/spring/org/apache/maven/shared/maven-shared-incremental/1.1/maven-shared-incremental-1.1.pom
Downloaded from aliyunmaven: https://maven.aliyun.com/repository/spring/org/apache/maven/shared/maven-shared-incremental/1.1/maven-shared-incremental-1.1.pom (0 B at 0 B/s)
Downloading from aliyunmaven: https://maven.aliyun.com/repository/spring/org/apache/maven/maven-core/2.2.1/maven-core-2.2.1.pom
Downloaded from aliyunmaven: https://maven.aliyun.com/repository/spring/org/apache/maven/maven-core/2.2.1/maven-core-2.2.1.pom (0 B at 0 B/s)
Downloading from aliyunmaven: https://maven.aliyun.com/repository/spring/org/apache/maven/maven-plugin-parameter-documenter/2.2.1/maven-plugin-parameter-documenter-2.2.1.pom
Downloaded from aliyunmaven: https://maven.aliyun.com/repository/spring/org/apache/maven/maven-plugin-parameter-documenter/2.2.1/maven-plugin-parameter-documenter-2.2.1.pom (0 B at 0 B/s)
Downloading from aliyunmaven: https://maven.aliyun.com/repository/spring/org/slf4j/slf4j-jdk14/1.5.6/slf4j-jdk14-1.5.6.pom
Downloaded from aliyunmaven: https://maven.aliyun.com/repository/spring/org/slf4j/slf4j-jdk14/1.5.6/slf4j-jdk14-1.5.6.pom (0 B at 0 B/s)
Downloading from aliyunmaven: https://maven.aliyun.com/repository/spring/org/slf4j/slf4j-parent/1.5.6/slf4j-parent-1.5.6.pom
Downloaded from aliyunmaven: https://maven.aliyun.com/repository/spring/org/slf4j/slf4j-parent/1.5.6/slf4j-parent-1.5.6.pom (0 B at 0 B/s)
Downloading from aliyunmaven: https://maven.aliyun.com/repository/spring/org/slf4j/slf4j-api/1.5.6/slf4j-api-1.5.6.pom
Downloaded from aliyunmaven: https://maven.aliyun.com/repository/spring/org/slf4j/slf4j-api/1.5.6/slf4j-api-1.5.6.pom (0 B at 0 B/s)
Downloading from aliyunmaven: https://maven.aliyun.com/repository/spring/org/slf4j/jcl-over-slf4j/1.5.6/jcl-over-slf4j-1.5.6.pom
Downloaded from aliyunmaven: https://maven.aliyun.com/repository/spring/org/slf4j/jcl-over-slf4j/1.5.6/jcl-over-slf4j-1.5.6.pom (0 B at 0 B/s)
Downloading from aliyunmaven: https://maven.aliyun.com/repository/spring/org/apache/maven/maven-error-diagnostics/2.2.1/maven-error-diagnostics-2.2.1.pom
Downloaded from aliyunmaven: https://maven.aliyun.com/repository/spring/org/apache/maven/maven-error-diagnostics/2.2.1/maven-error-diagnostics-2.2.1.pom (0 B at 0 B/s)
Downloading from aliyunmaven: https://maven.aliyun.com/repository/spring/org/apache/maven/maven-plugin-descriptor/2.2.1/maven-plugin-descriptor-2.2.1.pom
Downloaded from aliyunmaven: https://maven.aliyun.com/repository/spring/org/apache/maven/maven-plugin-descriptor/2.2.1/maven-plugin-descriptor-2.2.1.pom (0 B at 0 B/s)
Downloading from aliyunmaven: https://maven.aliyun.com/repository/spring/org/apache/maven/maven-monitor/2.2.1/maven-monitor-2.2.1.pom
Downloaded from aliyunmaven: https://maven.aliyun.com/repository/spring/org/apache/maven/maven-monitor/2.2.1/maven-monitor-2.2.1.pom (0 B at 0 B/s)
Downloading from aliyunmaven: https://maven.aliyun.com/repository/spring/org/apache/maven/shared/maven-shared-utils/0.1/maven-shared-utils-0.1.pom
Downloaded from aliyunmaven: https://maven.aliyun.com/repository/spring/org/apache/maven/shared/maven-shared-utils/0.1/maven-shared-utils-0.1.pom (0 B at 0 B/s)
Downloading from aliyunmaven: https://maven.aliyun.com/repository/spring/org/apache/maven/shared/maven-shared-components/18/maven-shared-components-18.pom
Downloaded from aliyunmaven: https://maven.aliyun.com/repository/spring/org/apache/maven/shared/maven-shared-components/18/maven-shared-components-18.pom (0 B at 0 B/s)
Downloading from aliyunmaven: https://maven.aliyun.com/repository/spring/org/codehaus/plexus/plexus-java/0.9.2/plexus-java-0.9.2.pom
Downloaded from aliyunmaven: https://maven.aliyun.com/repository/spring/org/codehaus/plexus/plexus-java/0.9.2/plexus-java-0.9.2.pom (0 B at 0 B/s)
Downloading from aliyunmaven: https://maven.aliyun.com/repository/spring/org/codehaus/plexus/plexus-languages/0.9.2/plexus-languages-0.9.2.pom
Downloaded from aliyunmaven: https://maven.aliyun.com/repository/spring/org/codehaus/plexus/plexus-languages/0.9.2/plexus-languages-0.9.2.pom (0 B at 0 B/s)
Downloading from aliyunmaven: https://maven.aliyun.com/repository/spring/org/ow2/asm/asm/6.0_BETA/asm-6.0_BETA.pom
Downloaded from aliyunmaven: https://maven.aliyun.com/repository/spring/org/ow2/asm/asm/6.0_BETA/asm-6.0_BETA.pom (0 B at 0 B/s)
Downloading from aliyunmaven: https://maven.aliyun.com/repository/spring/org/ow2/asm/asm-parent/6.0_BETA/asm-parent-6.0_BETA.pom
Downloaded from aliyunmaven: https://maven.aliyun.com/repository/spring/org/ow2/asm/asm-parent/6.0_BETA/asm-parent-6.0_BETA.pom (0 B at 0 B/s)
Downloading from aliyunmaven: https://maven.aliyun.com/repository/spring/com/thoughtworks/qdox/qdox/2.0-M7/qdox-2.0-M7.pom
Downloaded from aliyunmaven: https://maven.aliyun.com/repository/spring/com/thoughtworks/qdox/qdox/2.0-M7/qdox-2.0-M7.pom (0 B at 0 B/s)
Downloading from aliyunmaven: https://maven.aliyun.com/repository/spring/org/codehaus/plexus/plexus-compiler-api/2.8.2/plexus-compiler-api-2.8.2.pom
Downloaded from aliyunmaven: https://maven.aliyun.com/repository/spring/org/codehaus/plexus/plexus-compiler-api/2.8.2/plexus-compiler-api-2.8.2.pom (0 B at 0 B/s)
Downloading from aliyunmaven: https://maven.aliyun.com/repository/spring/org/codehaus/plexus/plexus-compiler/2.8.2/plexus-compiler-2.8.2.pom
Downloaded from aliyunmaven: https://maven.aliyun.com/repository/spring/org/codehaus/plexus/plexus-compiler/2.8.2/plexus-compiler-2.8.2.pom (0 B at 0 B/s)
Downloading from aliyunmaven: https://maven.aliyun.com/repository/spring/org/codehaus/plexus/plexus-components/4.0/plexus-components-4.0.pom
Downloaded from aliyunmaven: https://maven.aliyun.com/repository/spring/org/codehaus/plexus/plexus-components/4.0/plexus-components-4.0.pom (0 B at 0 B/s)
Downloading from aliyunmaven: https://maven.aliyun.com/repository/spring/org/codehaus/plexus/plexus-utils/3.0.22/plexus-utils-3.0.22.pom
Downloaded from aliyunmaven: https://maven.aliyun.com/repository/spring/org/codehaus/plexus/plexus-utils/3.0.22/plexus-utils-3.0.22.pom (0 B at 0 B/s)
Downloading from aliyunmaven: https://maven.aliyun.com/repository/spring/org/codehaus/plexus/plexus-compiler-manager/2.8.2/plexus-compiler-manager-2.8.2.pom
Downloaded from aliyunmaven: https://maven.aliyun.com/repository/spring/org/codehaus/plexus/plexus-compiler-manager/2.8.2/plexus-compiler-manager-2.8.2.pom (0 B at 0 B/s)
Downloading from aliyunmaven: https://maven.aliyun.com/repository/spring/org/codehaus/plexus/plexus-compiler-javac/2.8.2/plexus-compiler-javac-2.8.2.pom
Downloaded from aliyunmaven: https://maven.aliyun.com/repository/spring/org/codehaus/plexus/plexus-compiler-javac/2.8.2/plexus-compiler-javac-2.8.2.pom (0 B at 0 B/s)
Downloading from aliyunmaven: https://maven.aliyun.com/repository/spring/org/codehaus/plexus/plexus-compilers/2.8.2/plexus-compilers-2.8.2.pom
Downloaded from aliyunmaven: https://maven.aliyun.com/repository/spring/org/codehaus/plexus/plexus-compilers/2.8.2/plexus-compilers-2.8.2.pom (0 B at 0 B/s)
Downloading from aliyunmaven: https://maven.aliyun.com/repository/spring/org/codehaus/plexus/plexus-interpolation/1.14/plexus-interpolation-1.14.jar
Downloading from aliyunmaven: https://maven.aliyun.com/repository/spring/org/apache/maven/shared/maven-shared-utils/3.1.0/maven-shared-utils-3.1.0.jar
Downloading from aliyunmaven: https://maven.aliyun.com/repository/spring/org/ow2/asm/asm/6.0_BETA/asm-6.0_BETA.jar
Downloading from aliyunmaven: https://maven.aliyun.com/repository/spring/org/codehaus/plexus/plexus-java/0.9.2/plexus-java-0.9.2.jar
Downloading from aliyunmaven: https://maven.aliyun.com/repository/spring/org/apache/maven/shared/maven-shared-incremental/1.1/maven-shared-incremental-1.1.jar
Downloaded from aliyunmaven: https://maven.aliyun.com/repository/spring/org/codehaus/plexus/plexus-interpolation/1.14/plexus-interpolation-1.14.jar (0 B at 0 B/s)
Downloading from aliyunmaven: https://maven.aliyun.com/repository/spring/com/thoughtworks/qdox/qdox/2.0-M7/qdox-2.0-M7.jar
Downloaded from aliyunmaven: https://maven.aliyun.com/repository/spring/com/thoughtworks/qdox/qdox/2.0-M7/qdox-2.0-M7.jar (0 B at 0 B/s)
Downloading from aliyunmaven: https://maven.aliyun.com/repository/spring/org/codehaus/plexus/plexus-compiler-api/2.8.2/plexus-compiler-api-2.8.2.jar
Downloaded from aliyunmaven: https://maven.aliyun.com/repository/spring/org/codehaus/plexus/plexus-compiler-api/2.8.2/plexus-compiler-api-2.8.2.jar (0 B at 0 B/s)
Downloading from aliyunmaven: https://maven.aliyun.com/repository/spring/org/codehaus/plexus/plexus-compiler-manager/2.8.2/plexus-compiler-manager-2.8.2.jar
Downloaded from aliyunmaven: https://maven.aliyun.com/repository/spring/org/codehaus/plexus/plexus-compiler-manager/2.8.2/plexus-compiler-manager-2.8.2.jar (0 B at 0 B/s)
Downloading from aliyunmaven: https://maven.aliyun.com/repository/spring/org/codehaus/plexus/plexus-compiler-javac/2.8.2/plexus-compiler-javac-2.8.2.jar
Downloaded from aliyunmaven: https://maven.aliyun.com/repository/spring/org/codehaus/plexus/plexus-java/0.9.2/plexus-java-0.9.2.jar (0 B at 0 B/s)
Downloaded from aliyunmaven: https://maven.aliyun.com/repository/spring/org/codehaus/plexus/plexus-compiler-javac/2.8.2/plexus-compiler-javac-2.8.2.jar (0 B at 0 B/s)
Downloaded from aliyunmaven: https://maven.aliyun.com/repository/spring/org/apache/maven/shared/maven-shared-incremental/1.1/maven-shared-incremental-1.1.jar (0 B at 0 B/s)
Downloaded from aliyunmaven: https://maven.aliyun.com/repository/spring/org/apache/maven/shared/maven-shared-utils/3.1.0/maven-shared-utils-3.1.0.jar (0 B at 0 B/s)
Downloaded from aliyunmaven: https://maven.aliyun.com/repository/spring/org/ow2/asm/asm/6.0_BETA/asm-6.0_BETA.jar (0 B at 0 B/s)
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 564 source files to /Users/haojie/IdeaProjects/detention/jeecms-parent/jeecms-common/target/classes
[ERROR] 读取/Users/haojie/Environment/apache-maven-3.8.1/maven-repo/com/kingbase/dialect-for-hibernate/5.2.17/dialect-for-hibernate-5.2.17.jar时出错; error in opening zip file
[ERROR] 读取/Users/haojie/Environment/apache-maven-3.8.1/maven-repo/com/kingbase/dialect-for-hibernate/5.2.17/dialect-for-hibernate-5.2.17.jar时出错; error in opening zip file
级别: 总版主
UID: 10736
积分:149787 加为好友
威望: 212 精华: 42
主题:297 回复:127674
注册时间:2010-09-08
在线时长:90.1
4#   发表于:2021-09-09 12:05:52  IP:111.203.*.*
刷新下maven重新加载
路漫漫其修远兮,吾将上下而求索!
级别: 白丁
UID: 137392
积分:120 加为好友
威望: 1 精华: 0
主题:21 回复:33
注册时间:2021-03-01
在线时长:0
5#   发表于:2021-09-09 14:22:53  IP:27.180.*.*
刷新不行,重新加载了很多次了
级别: 总版主
UID: 10736
积分:149787 加为好友
威望: 212 精华: 42
主题:297 回复:127674
注册时间:2010-09-08
在线时长:90.1
6#   发表于:2021-09-09 14:33:45  IP:111.203.*.*
开源版直接去common的pom里面删除
路漫漫其修远兮,吾将上下而求索!
1 共1页