2016-07-11 6 views
0

SmartGWT에서 개발 된 응용 프로그램이 있습니다. SmartGWT 5.0을 6.0으로 업그레이드하는 동안 이것은 쉬운 일일 수도 있지만 행운이 없습니다 .i 아래 예외가 발생하는 경우 및 GWT 2.6.1을 사용하고 있는데이 문제를 해결하기 위해 어느 누구도 나를 도울 수는 없습니다. 내가 issue..Issue 위를 해결할 수 있어요5.0에서 6.0으로 SmartGWT 버전을 업그레이드하는 중 문제가 발생했습니다.

[ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.6.1:compile (default) on project px-smartgwt-client: Failed to read module XML file sun 
[email protected]5: invalid LOC header (bad signature) -> [Help 1] 
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.6.1:compile (default) on project px-smartgwt-client: Failed to read module XML file [email protected]fb85 
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217) 
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) 
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java: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.java:161) 
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) 
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) 
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) 
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) 
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) 
at sun.reflect.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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) 
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) 
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) 
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) 
Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to read module XML file [email protected]fb85 
at org.codehaus.mojo.gwt.shell.CompileMojo.compilationRequired(CompileMojo.java:576) 
at org.codehaus.mojo.gwt.shell.CompileMojo.compile(CompileMojo.java:437) 
at org.codehaus.mojo.gwt.shell.CompileMojo.doExecute(CompileMojo.java:351) 
at org.codehaus.mojo.gwt.shell.AbstractGwtShellMojo.execute(AbstractGwtShellMojo.java:172) 
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) 
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) 
... 19 more 
Caused by: org.codehaus.mojo.gwt.utils.GwtModuleReaderException: Failed to read module XML file [email protected]fb85 
at org.codehaus.mojo.gwt.AbstractGwtModuleMojo.readModule(AbstractGwtModuleMojo.java:240) 
at org.codehaus.mojo.gwt.AbstractGwtModuleMojo.readModule(AbstractGwtModuleMojo.java:194) 
at org.codehaus.mojo.gwt.GwtModule.getLocalInherits(GwtModule.java:189) 
at org.codehaus.mojo.gwt.GwtModule.getInherits(GwtModule.java:149) 
at org.codehaus.mojo.gwt.GwtModule.getEntryPoints(GwtModule.java:114) 
at org.codehaus.mojo.gwt.shell.CompileMojo.compilationRequired(CompileMojo.java:490) 
... 24 more 
Caused by: java.util.zip.ZipException: invalid LOC header (bad signature) 
at java.util.zip.ZipFile.read(Native Method) 
at java.util.zip.ZipFile.access$1400(ZipFile.java:61) 
at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:717) 
at java.util.zip.ZipFile$ZipFileInflaterInputStream.fill(ZipFile.java:420) 
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158) 
at java.io.FilterInputStream.read(FilterInputStream.java:133) 
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) 
at java.io.BufferedInputStream.read(BufferedInputStream.java:265) 
at org.codehaus.plexus.util.xml.XmlReader.getBOMEncoding(XmlReader.java:635) 
at org.codehaus.plexus.util.xml.XmlReader.doRawStream(XmlReader.java:459) 
at org.codehaus.plexus.util.xml.XmlReader.<init>(XmlReader.java:180) 
at org.codehaus.plexus.util.xml.XmlReader.<init>(XmlReader.java:143) 
at org.codehaus.plexus.util.xml.XmlStreamReader.<init>(XmlStreamReader.java:86) 
at org.codehaus.plexus.util.ReaderFactory.newXmlReader(ReaderFactory.java:104) 
at org.codehaus.mojo.gwt.AbstractGwtModuleMojo.readModule(AbstractGwtModuleMojo.java:233) 
... 29 more 
[ERROR] 
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles: 
[ERROR] [Help 1] http://cwiki.apache.org/confluence/d...utionException 

답변

관련 문제