Error Reading Invalid Loc Header (Bad Signature)
Execute command jetty:run in eclipse, the following exception occurs
2017-02-27 15:50:37.636:INFO:oejs.Server:jetty-eight.1 .2 .v20120308 2017-02-27 15:50:38.228:WARN:oejw.WebAppContext:Failed startup of context o.g .j .p .JettyWebAppContext{/,file:/F:/bwjf2017/enterpriseSNS/src/chief/webapp/},file:/F:/bwjf2017/enterpriseSNS/src/main/webapp/ coffee.util.naught.ZipException: invalid altitude likewise far back at java.util .zip .InflaterInputStream .read(InflaterInputStream.java:164) at java.util .goose egg .ZipInputStream .read(ZipInputStream.coffee:194) at java.util .jar .JarInputStream .read(JarInputStream.java:207) at java.util .zip .ZipInputStream .closeEntry(ZipInputStream.java:140) at java.util .goose egg .ZipInputStream .getNextEntry(ZipInputStream.java:118) at coffee.util .jar .JarInputStream .getNextEntry(JarInputStream.java:142) at coffee.util .jar .JarInputStream .getNextJarEntry(JarInputStream.java:179) at org.eclipse .jetty .webapp .JarScanner .matched(JarScanner.java:156) at org.eclipse .jetty .util .PatternMatcher .matchPatterns(PatternMatcher.java:82) at org.eclipse .jetty .util .PatternMatcher .match(PatternMatcher.java:64) at org.eclipse .jetty .webapp .JarScanner .browse(JarScanner.java:78) at org.eclipse .jetty .webapp .MetaInfConfiguration .preConfigure(MetaInfConfiguration.coffee:78) at org.eclipse .jetty .webapp .WebAppContext .preConfigure(WebAppContext.java:417) at org.eclipse .jetty .webapp .WebAppContext .doStart(WebAppContext.java:453) at org.mortbay .jetty .plugin .JettyWebAppContext .doStart(JettyWebAppContext.java:256) at org.eclipse .jetty .util .component .AbstractLifeCycle .start(AbstractLifeCycle.java:59) at org.eclipse .jetty .server .handler .HandlerCollection .doStart(HandlerCollection.java:224) at org.eclipse .jetty .server .handler .ContextHandlerCollection .doStart(ContextHandlerCollection.coffee:167) at org.eclipse .jetty .util .component .AbstractLifeCycle .offset(AbstractLifeCycle.coffee:59) at org.eclipse .jetty .server .handler .HandlerCollection .doStart(HandlerCollection.java:224) at org.eclipse .jetty .util .component .AbstractLifeCycle .first(AbstractLifeCycle.java:59) at org.eclipse .jetty .server .handler .HandlerWrapper .doStart(HandlerWrapper.java:xc) at org.eclipse .jetty .server .Server .doStart(Server.java:263) at org.mortbay .jetty .plugin .JettyServer .doStart(JettyServer.java:65) at org.eclipse .jetty .util .component .AbstractLifeCycle .commencement(AbstractLifeCycle.java:59) at org.mortbay .jetty .plugin .AbstractJettyMojo .startJetty(AbstractJettyMojo.java:511) at org.mortbay .jetty .plugin .AbstractJettyMojo .execute(AbstractJettyMojo.java:364) at org.mortbay .jetty .plugin .JettyRunMojo .execute(JettyRunMojo.java:516) at org.apache .maven .plugin .DefaultBuildPluginManager .executeMojo(DefaultBuildPluginManager.java:106) at org.apache .maven .lifecycle .internal .MojoExecutor .execute(MojoExecutor.java:208) at org.apache .maven .lifecycle .internal .MojoExecutor .execute(MojoExecutor.java:153) at org.apache .maven .lifecycle .internal .MojoExecutor .execute(MojoExecutor.coffee:145) at org.apache .maven .lifecycle .internal .LifecycleModuleBuilder .buildProject(LifecycleModuleBuilder.java:84) at org.apache .maven .lifecycle .internal .LifecycleModuleBuilder .buildProject(LifecycleModuleBuilder.java:59) at org.apache .maven .lifecycle .internal .LifecycleStarter .singleThreadedBuild(LifecycleStarter.java:183) at org.apache .maven .lifecycle .internal .LifecycleStarter .execute(LifecycleStarter.coffee:161) at org.apache .maven .DefaultMaven .doExecute(DefaultMaven.coffee:317) at org.apache .maven .DefaultMaven .execute(DefaultMaven.java:152) at org.apache .maven .cli .MavenCli .execute(MavenCli.java:555) at org.apache .maven .cli .MavenCli .doMain(MavenCli.java:214) at org.apache .maven .cli .MavenCli .main(MavenCli.java:158) at sun.reverberate .NativeMethodAccessorImpl .invoke0(Native Method) at sun.reflect .NativeMethodAccessorImpl .invoke(NativeMethodAccessorImpl.java:62) at dominicus.reflect .DelegatingMethodAccessorImpl .invoke(DelegatingMethodAccessorImpl.coffee:43) at java.lang .reflect .Method .invoke(Method.coffee:497) at org.codehaus .plexus .classworlds .launcher .Launcher .launchEnhanced(Launcher.java:289) at org.codehaus .plexus .classworlds .launcher .Launcher .launch(Launcher.java:229) at org.codehaus .plexus .classworlds .launcher .Launcher .mainWithExitCode(Launcher.coffee:415) at org.codehaus .plexus .classworlds .launcher .Launcher .chief(Launcher.java:356) 2017-02-27 15:50:38.460:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0 .0 .0 .0:8080
Using mvn install -Dskiptest, tin can generate the war bundle, but put state of war into Tomcat to commencement, and then the post-obit exception occurs:
27-Feb-2017 14:33:03.581 Astringent [main] org.apache.coyote.AbstractProtocol.init Failed to initialize end point associated with ProtocolHandler ["http-apr-8080"] java.lang.Exception: Socket bind failed: [730013] ???????????????í????×??????·??????×? at org.apache.tomcat.util.net.AprEndpoint.bind(AprEndpoint.java:431) at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:727) at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:456) at org.apache.catalina.connector.Connector.initInternal(Connector.java:960) at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102) at org.apache.catalina.core.StandardService.initInternal(StandardService.java:567) at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.coffee:102) at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:834) at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102) at org.apache.catalina.startup.Catalina.load(Catalina.java:576) at org.apache.catalina.startup.Catalina.load(Catalina.java:599) at sun.reverberate.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.coffee:310) at org.apache.catalina.startup.Bootstrap.principal(Bootstrap.coffee:484) 27-Feb-2017 14:33:03.596 SEVERE [main] org.apache.catalina.cadre.StandardService.initInternal Failed to initialize connector [Connector[HTTP/1.1-8080]] org.apache.catalina.LifecycleException: Failed to initialize component [Connector[HTTP/1.ane-8080]] at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:106) at org.apache.catalina.cadre.StandardService.initInternal(StandardService.java:567) at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102) at org.apache.catalina.cadre.StandardServer.initInternal(StandardServer.java:834) at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102) at org.apache.catalina.startup.Catalina.load(Catalina.java:576) at org.apache.catalina.startup.Catalina.load(Catalina.java:599) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at lord's day.reverberate.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reverberate.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:310) at org.apache.catalina.startup.Bootstrap.chief(Bootstrap.java:484) Acquired by: org.apache.catalina.LifecycleException: Protocol handler initialization failed at org.apache.catalina.connector.Connector.initInternal(Connector.java:962) at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102) ... 12 more Caused past: java.lang.Exception: Socket bind failed: [730013] ???????????????í????×??????·??????×? at org.apache.tomcat.util.net.AprEndpoint.bind(AprEndpoint.java:431) at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:727) at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.coffee:456) at org.apache.catalina.connector.Connector.initInternal(Connector.java:960) ... 13 more 27-Feb-2017 14:33:03.599 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-apr-8009"] 27-Feb-2017 14:33:03.604 INFO [primary] org.apache.catalina.startup.Catalina.load Initialization processed in 2511 ms 27-Feb-2017 14:33:03.693 INFO [chief] org.apache.catalina.core.StandardService.startInternal Starting service Catalina 27-February-2017 14:33:03.694 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/viii.0 .9 27-Feb-2017 14:33:04.426 INFO [localhost-startStop-ane] org.apache.catalina.util.SessionIdGenerator.createSecureRandom Cosmos of SecureRandom instance for session ID generation using [SHA1PRNG] took [317] milliseconds. 27-February-2017 14:33:04.541 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web awarding archive D:\Plan Files\apache-tomcat-viii.0 .9 .i\webapps\sns.state of war 27-Feb-2017 14:33:09.632 SEVERE [localhost-startStop-1] org.apache.catalina.cadre.ContainerBase.addChildInternal ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/sns]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:724) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:700) at org.apache.catalina.cadre.StandardHost.addChild(StandardHost.coffee:714) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:919) at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.coffee:1704) at coffee.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.coffee:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.coffee:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at coffee.lang.Thread.run(Thread.java:745) Caused by: org.apache.catalina.LifecycleException: Failed to start component [org.apache.catalina.webresources.StandardRoot@44653826] at org.apache.catalina.util.LifecycleBase.outset(LifecycleBase.coffee:154) at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.coffee:4863) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.coffee:4992) at org.apache.catalina.util.LifecycleBase.starting time(LifecycleBase.coffee:150) ... 10 more Acquired by: org.apache.catalina.LifecycleException: Failed to initialize component [org.apache.catalina.webresources.JarResourceSet@4df2890b] at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:106) at org.apache.catalina.util.LifecycleBase.starting time(LifecycleBase.java:139) at org.apache.catalina.webresources.StandardRoot.startInternal(StandardRoot.java:662) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ... 13 more Caused by: coffee.lang.IllegalArgumentException: java.util.zero.ZipException: invalid LOC header (bad signature) at org.apache.catalina.webresources.JarResourceSet.initInternal(JarResourceSet.java:94) at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102) ... xvi more Caused by: java.util.zip.ZipException: invalid LOC header (bad signature) at coffee.util.cipher.ZipFile.read(Native Method) at java.util.naught.ZipFile.access$1400(ZipFile.java:60) at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:716) at java.util.zip.ZipFile$ZipFileInflaterInputStream.fill(ZipFile.java:419) at java.util.zip.InflaterInputStream.read(InflaterInputStream.coffee:158) at sunday.misc.IOUtils.readFully(IOUtils.coffee:65) at coffee.util.jar.JarFile.getBytes(JarFile.coffee:425) at java.util.jar.JarFile.getManifestFromReference(JarFile.java:193) at java.util.jar.JarFile.getManifest(JarFile.java:180) at org.apache.catalina.webresources.JarResourceSet.initInternal(JarResourceSet.java:92) ... 17 more 27-Feb-2017 14:33:20.078 Severe [localhost-startStop-ane] org.apache.catalina.startup.HostConfig.deployWAR Fault deploying web application archive D:\Program Files\apache-tomcat-8.0 .9 .i\webapps\sns.state of war coffee.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/sns]] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:727) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.coffee:700) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:919) at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.coffee:1704) at coffee.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at coffee.util.concurrent.FutureTask.run(FutureTask.coffee:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at coffee.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at coffee.lang.Thread.run(Thread.java:745) 27-Feb-2017 14:33:20.088 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive D:\Program Files\apache-tomcat-eight.0 .9 .1\webapps\sns.war has finished in xv,546 ms 27-Feb-2017 xiv:33:20.225 INFO [primary] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-apr-8009"] 27-Feb-2017 14:33:twenty.370 INFO [principal] org.apache.catalina.startup.Catalina.showtime Server startup in 16764 ms 27-Feb-2017 16:03:58.840 INFO [primary] org.apache.catalina.core.AprLifecycleListener.init Loaded April based Apache Tomcat Native library 1.1 .30 using APR version ane.4 .8. 27-Feb-2017 xvi:03:58.843 INFO [master] org.apache.catalina.core.AprLifecycleListener.init APR capabilities: IPv6 [truthful], sendfile [true], accept filters [false], random [truthful]. 27-February-2017 16:03:58.979 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin [SetPropertiesRule]{Server/Service/Engine/Host} Setting belongings 'xmlValidation' to 'imitation' did not detect a matching property. 27-Feb-2017 16:03:58.980 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin [SetPropertiesRule]{Server/Service/Engine/Host} Setting property 'xmlNamespaceAware' to 'false' did not find a matching property. 27-Feb-2017 16:03:59.033 Warning [primary] org.apache.tomcat.util.digester.SetPropertiesRule.begin [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '0' did not notice a matching property. 27-Feb-2017 sixteen:04:00.208 INFO [primary] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized (OpenSSL one.0 .1g 7 Apr 2014) 27-February-2017 16:04:00.476 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-apr-8080"] 27-Feb-2017 xvi:04:00.522 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-april-8009"] 27-Feb-2017 sixteen:04:00.526 INFO [principal] org.apache.catalina.startup.Catalina.load Initialization processed in 2368 ms 27-Feb-2017 xvi:04:00.568 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina 27-Feb-2017 16:04:00.569 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0 .9 27-Feb-2017 16:04:01.883 INFO [localhost-startStop-1] org.apache.catalina.util.SessionIdGenerator.createSecureRandom Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [772] milliseconds. 27-Feb-2017 sixteen:04:01.932 INFO [localhost-startStop-one] org.apache.catalina.startup.HostConfig.deployWAR Deploying web awarding archive D:\Program Files\apache-tomcat-8.0 .9 .1\webapps\sns.war 27-Feb-2017 sixteen:04:fourteen.448 SEVERE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to first component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/sns]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) at org.apache.catalina.cadre.ContainerBase.addChildInternal(ContainerBase.java:724) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:700) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:919) at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.coffee:1704) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.coffee:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.coffee:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.coffee:745) Caused past: org.apache.catalina.LifecycleException: Failed to start component [org.apache.catalina.webresources.StandardRoot@17b47072] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4863) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4992) at org.apache.catalina.util.LifecycleBase.get-go(LifecycleBase.java:150) ... 10 more Caused by: org.apache.catalina.LifecycleException: Failed to initialize component [org.apache.catalina.webresources.JarResourceSet@159ac0f3] at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:106) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139) at org.apache.catalina.webresources.StandardRoot.startInternal(StandardRoot.java:662) at org.apache.catalina.util.LifecycleBase.get-go(LifecycleBase.java:150) ... 13 more Acquired by: java.lang.IllegalArgumentException: coffee.util.zippo.ZipException: invalid LOC header (bad signature) at org.apache.catalina.webresources.JarResourceSet.initInternal(JarResourceSet.coffee:94) at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102) ... xvi more than Caused past: coffee.util.aught.ZipException: invalid LOC header (bad signature) at java.util.zip.ZipFile.read(Native Method) at coffee.util.zip.ZipFile.access$1400(ZipFile.java:lx) at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:716) at coffee.util.cypher.ZipFile$ZipFileInflaterInputStream.fill(ZipFile.java:419) at java.util.nix.InflaterInputStream.read(InflaterInputStream.java:158) at sun.misc.IOUtils.readFully(IOUtils.coffee:65) at java.util.jar.JarFile.getBytes(JarFile.java:425) at coffee.util.jar.JarFile.getManifestFromReference(JarFile.coffee:193) at coffee.util.jar.JarFile.getManifest(JarFile.coffee:180) at org.apache.catalina.webresources.JarResourceSet.initInternal(JarResourceSet.java:92) ... 17 more 27-Feb-2017 16:04:fourteen.476 Astringent [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Error deploying web awarding archive D:\Program Files\apache-tomcat-eight.0 .9 .1\webapps\sns.war java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/sns]] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:727) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.coffee:700) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:919) at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1704) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at coffee.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)
Did some searching, simply can't find the solution. and so I tried to change the maven-compiler-plugin version, execute jetty:run once again, withal exception, just finally the exception information I can understand
[INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] When reading D :\Program Files (x86)\apache-maven-3.1.1\repository\ognl\ognl\3.0.6\ognl-3.0.half dozen.jar Error; invalid LOC header (bad signature) [Mistake] When reading D :\Plan Files (x86)\apache-maven-iii.i.1\repository\ognl\ognl\3.0.vi\ognl-3.0.6.jar Error; cannot read nothing file entry [Fault] /F :/bwjf2017/enterpriseSNS/src/main/coffee/com/fz/enterprise/action/convertor/ObjectIdConvertor.java:[5,12] Package ognl non-existed [ERROR] /F :/bwjf2017/enterpriseSNS/src/master/java/com/fz/enterprise/action/convertor/ObjectIdConvertor.java:[13,40] Cannot find symbol Symbol: class DefaultTypeConverter [ERROR] /F :/bwjf2017/enterpriseSNS/src/chief/java/com/fz/mutual/security/StringConvertor.coffee:[five,12] Bundle ognl Non-existed [Mistake] /F :/bwjf2017/enterpriseSNS/src/main/coffee/com/fz/common/security/StringConvertor.java:[ix,38] Cannot discover symbol Symbol: class DefaultTypeConverter [INFO] half-dozen errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Full fourth dimension: vii.599due south [INFO] Finished at: Tue February 28 10 : 20 : 27 CST 2017 [INFO] Concluding Memory : 22M/338K [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin: 3.i :compile (default-compile) on project enterpriseSNS: Compilation failure: Compilation failure: [ERROR] When reading D :\Program Files (x86)\apache-maven-3.i.1\repository\ognl\ognl\3.0.6\ognl-iii.0.6.jar Error; invalid LOC header (bad signature) [Error] When reading D :\Program Files (x86)\apache-maven-3.1.1\repository\ognl\ognl\three.0.6\ognl-iii.0.half dozen.jar Error; cannot read zip file entry [ERROR] /F :/bwjf2017/enterpriseSNS/src/main/java/com/fz/enterprise/action/convertor/ObjectIdConvertor.java:[five,12] Packet ognl Non-existed [ERROR] /F :/bwjf2017/enterpriseSNS/src/main/java/com/fz/enterprise/action/convertor/ObjectIdConvertor.java:[xiii,40] Cannot notice symbol [ERROR] Symbol: form DefaultTypeConverter [Fault] /F :/bwjf2017/enterpriseSNS/src/principal/java/com/fz/mutual/security/StringConvertor.java:[five,12] Bundle ognl Non-existed [Mistake] /F :/bwjf2017/enterpriseSNS/src/principal/java/com/fz/mutual/security/StringConvertor.java:[9,38] Cannot notice symbol
It said ognl3.0.6 has a problem, using jd-gui open and check, found a lot of classes are empty.
And then I download them from Here
Replace the corresponding jar in the local Maven repository, then trouble is solved.
summary:
Others may just be jar non the same, just the way to deal with this problem can refer to the higher up method.
Source: https://www.fatalerrors.org/a/java.util.zip.zipexception-invalid-loc-header-bad-signature.html
0 Response to "Error Reading Invalid Loc Header (Bad Signature)"
Publicar un comentario