0

upgrade CE to EE in a maven project(invalid CEN header (bad signature))

asked 2014-04-28 03:27:46 +0800

Acquiesce gravatar image Acquiesce
1

Hello guys, I wanna upgrade CE to EE in a maven project

but when I follow the steps to set the repositories and dependencies in my pom.xml

it always errors, so I have to give up EE

I change the dependency from zkmax-6.5.2 to zkex-6.5.2

My project will work fine in PE with zkex-6.5.2, but zkmax-6.5.2 always errors

Please help me, thanks a lot, greetings

ERRORS: Failed to scan JAR [file:/D:/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Example/WEB-INF/lib/zkmax-6.5.2.jar] from WEB-INF/lib java.util.zip.ZipException: invalid CEN header (bad signature) at java.util.zip.ZipFile.open(Native Method)

delete flag offensive retag edit

Comments

Did you ever tried delete zkmax-6.5.2 folder in your .m2 folder and let maven to download it again?

vincentjian ( 2014-04-29 07:31:03 +0800 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-09-28 14:36:33 +0800

Darksu gravatar image Darksu
1991 1 4

Hello Acquiesce,

Most probably the jar in your local version is corrupted.

You can try the following steps:

  1. Delete the corrupted jar file in your local repository
  2. Then clean, install the project so that the jar file will be downloaded again.

Best Regards,

Darksu

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2014-04-28 03:27:46 +0800

Seen: 17 times

Last updated: Sep 28 '14

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More