[ http://jira.codehaus.org/browse/MGWT-167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=213327#action_213327 ]
Damien GOUYETTE commented on MGWT-167: -------------------------------------- It's work fine on my machine. Can you give us more information about your configuration ? Os, jvm version, maven version ... > Archetype generated project won't gwt:run with v1.2 and GWT 2.0 > --------------------------------------------------------------- > > Key: MGWT-167 > URL: http://jira.codehaus.org/browse/MGWT-167 > Project: Maven 2.x GWT Plugin > Issue Type: Bug > Affects Versions: 1.2 > Environment: gwt-maven-plugin:1.2 and gwt:2.0 > Reporter: Andrew Hughes > > I've tried to generate a project from the Archtype and upgrade to > gwt-maven-plugin to v1.2 and gwt v2.0. This builds however gwt:run fails with > a ZipException. Sorry I don't know what might be causing this. > {noformat} > 00:00:00.000 [WARN] Failed startup of context > com.google.gwt.dev.shell.jetty.jettylauncher$webappcontextwithrel...@feb48{/,D:\Workspace\myGWT\war} > <pre>java.util.zip.ZipException: error in opening zip file > at java.util.zip.ZipFile.open(Native Method) > at java.util.zip.ZipFile.<init>(ZipFile.java:114) > at java.util.jar.JarFile.<init>(JarFile.java:133) > at java.util.jar.JarFile.<init>(JarFile.java:97) > at > org.mortbay.jetty.webapp.TagLibConfiguration.configureWebApp(TagLibConfiguration.java:168) > at > org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1217) > at > org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:513) > at > org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448) > at > com.google.gwt.dev.shell.jetty.JettyLauncher$WebAppContextWithReload.doStart(JettyLauncher.java:447) > at > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) > at > org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) > at > org.mortbay.jetty.handler.RequestLogHandler.doStart(RequestLogHandler.java:115) > at > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) > at > org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) > at org.mortbay.jetty.Server.doStart(Server.java:222) > at > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) > at > com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:536) > at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:377) > at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:938) > at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:690) > at com.google.gwt.dev.DevMode.main(DevMode.java:251)</pre> > {noformat} > To Reproduce: > 1. Generate a new Project with the Archtype > {noformat} > mvn archetype:generate -DarchetypeGroupId=org.codehaus.mojo > -DarchetypeArtifactId=gwt-maven-plugin -DarchetypeVersion=1.2 > -DgroupId=my-gwt-project -DartifactId=my-gwt-project > {noformat} > 2. Change the gwt.version in the pom.xml > {noformat} > <gwt.version>2.0.0</gwt.version> > {noformat} > 3. Change the gwt-maven-plugin to v1.2 in the pom.xml (i.e. > <version>1.2</version>): > {noformat} > <build> > <outputDirectory>war/WEB-INF/classes</outputDirectory> > <plugins> > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>gwt-maven-plugin</artifactId> > <version>1.2</version> > {noformat} > 4. Finally run the following goal, and observe the ZipException: > {noformat} > mvn clean install gwt:run > {noformat} > Even a workaround would be nice here, but the ideal solution is in the > archetype :) > Cheers. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email