The jar is untouched. I also have configured the startupUrl in my
eclipse plug-in Program Arguments. I can debug, however it only works
after the second time I put the address in the browser's address bar.
The first time I get that exception.

On Dec 22, 11:40 am, Rajeev Dayal <[email protected]> wrote:
> On Mon, Dec 21, 2009 at 11:57 PM, Sam E. <[email protected]> wrote:
> > I am having the same issue right now.
>
> > 00:00:00.684 [WARN] Error processing classpath URL 'file:/Users/
> > ssaammee/.m2/repository/com/sun/jdmk/jmxtools/1.2.1/
> > jmxtools-1.2.1.jar'
> > 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
> > com.google.gwt.dev.resource.impl.ResourceOracleImpl.createEntryForUrl
> > (ResourceOracleImpl.java:175)   at
> > com.google.gwt.dev.resource.impl.ResourceOracleImpl.addAllClassPathEntries
> > (ResourceOracleImpl.java:223)   at
> > com.google.gwt.dev.resource.impl.ResourceOracleImpl.getAllClassPathEntries
> > (ResourceOracleImpl.java:249)   at
> > com.google.gwt.dev.resource.impl.ResourceOracleImpl.<init>
> > (ResourceOracleImpl.java:293)   at
> > com.google.gwt.dev.resource.impl.ResourceOracleImpl.<init>
> > (ResourceOracleImpl.java:283)   at
> > com.google.gwt.dev.cfg.ModuleDef.normalize(ModuleDef.java:449)  at
> > com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule
> > (ModuleDefLoader.java:287)      at
> > com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath
> > (ModuleDefLoader.java:141)      at
> > com.google.gwt.dev.DevModeBase.loadModule(DevModeBase.java:867)         at
> > com.google.gwt.dev.DevMode.loadModule(DevMode.java:425)         at
> > com.google.gwt.dev.DevMode.doSlowStartup(DevMode.java:340)      at
> > com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:953)    at
> > com.google.gwt.dev.DevModeBase.run(DevModeBase.java:690)        at
> > com.google.gwt.dev.DevMode.main(DevMode.java:251)
>
> > On Dec 21, 4:55 pm, Raziel <[email protected]> wrote:
> > > Hi, I just upgraded my application from 1.7.0 to 2.0, and while
> > > everything is working fine in production mode, when I try to run
> > > Development mode I get the following error:
>
> > > Loading modules
> > >    com.appiancorp.gwt.appbuilder.ApplicationBuilderDev
> > >       Public resources found in...
> > >          [WARN] Error processing classpath URL 'file:/C:/Documents
> > > %20and%20Settings/raziel.alvarez/.m2/repository/com/sun/jdmk/jmxtools/
> > > 1.2.1/jmxtools-1.2.1.jar'
> > > 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
> > > com.google.gwt.dev.resource.impl.ResourceOracleImpl.createEntryForUrl
> > > (ResourceOracleImpl.java:175)
> > >         at
>
> > com.google.gwt.dev.resource.impl.ResourceOracleImpl.addAllClassPathEntries
> > > (ResourceOracleImpl.java:223)
> > >         at
>
> > com.google.gwt.dev.resource.impl.ResourceOracleImpl.getAllClassPathEntries
> > > (ResourceOracleImpl.java:249)
> > >         at com.google.gwt.dev.resource.impl.ResourceOracleImpl.<init>
> > > (ResourceOracleImpl.java:293)
> > >         at com.google.gwt.dev.resource.impl.ResourceOracleImpl.<init>
> > > (ResourceOracleImpl.java:283)
> > >         at com.google.gwt.dev.cfg.ModuleDef.normalize(ModuleDef.java:449)
> > >         at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule
> > > (ModuleDefLoader.java:287)
> > >         at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath
> > > (ModuleDefLoader.java:141)
> > >         at
> > com.google.gwt.dev.DevModeBase.loadModule(DevModeBase.java:867)
> > >         at com.google.gwt.dev.DevMode.loadModule(DevMode.java:425)
> > >         at com.google.gwt.dev.DevMode.doSlowStartup(DevMode.java:340)
> > >         at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:953)
> > >         at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:690)
> > >         at com.google.gwt.dev.DevMode.main(DevMode.java:251)
> > >          [WARN] Error processing classpath URL 'file:/C:/Documents
> > > %20and%20Settings/raziel.alvarez/.m2/repository/com/sun/jmx/jmxri/
> > > 1.2.1/jmxri-1.2.1.jar'
> > > 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
> > > com.google.gwt.dev.resource.impl.ResourceOracleImpl.createEntryForUrl
> > > (ResourceOracleImpl.java:175)
> > >         at
>
> > com.google.gwt.dev.resource.impl.ResourceOracleImpl.addAllClassPathEntries
> > > (ResourceOracleImpl.java:223)
> > >         at
>
> > com.google.gwt.dev.resource.impl.ResourceOracleImpl.getAllClassPathEntries
> > > (ResourceOracleImpl.java:249)
> > >         at com.google.gwt.dev.resource.impl.ResourceOracleImpl.<init>
> > > (ResourceOracleImpl.java:293)
> > >         at com.google.gwt.dev.resource.impl.ResourceOracleImpl.<init>
> > > (ResourceOracleImpl.java:283)
> > >         at com.google.gwt.dev.cfg.ModuleDef.normalize(ModuleDef.java:449)
> > >         at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule
> > > (ModuleDefLoader.java:287)
> > >         at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath
> > > (ModuleDefLoader.java:141)
> > >         at
> > com.google.gwt.dev.DevModeBase.loadModule(DevModeBase.java:867)
> > >         at com.google.gwt.dev.DevMode.loadModule(DevMode.java:425)
> > >         at com.google.gwt.dev.DevMode.doSlowStartup(DevMode.java:340)
> > >         at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:953)
> > >         at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:690)
> > >         at com.google.gwt.dev.DevMode.main(DevMode.java:251)
>
> Can you verify that the jar file is intact? To do so, use the jar command to
> try and list its contents:
>
> jar tvf   jmxtools-1.2.1.jar
>
>  > I'm trying to run DevMode from Eclipse. I have to say my project
>
> > > configuration is not "typical". Since my GWT application lives within
> > > another application that requires logging in, previously in 1.7 I used
> > > to point the start URL in the Debug Web Application configuration to
> > > the address that pointed to the login page. So I just logged in and
> > > navigated to my GWT application, and at that moment the breakpoint
> > > weer hit and everything worked nicely.
>
> > > However, now I don't know where to specify the start URL since the new
> > > plug-in removed that field, and DevMode doesn't seem to be doing
> > > anything and instead I get that exception.
>
> GWT attempts to guess what the startup URLs are. It looks for the HTML and
> JSP pages that are direct children of your war folder, and generates startup
> URLs from them. If it does not find any files that match that criteria, no
> startup URLs will be listed.
>
> You can add the following program argument to your launch configuration to
> specify a startup URL:
>
> -startupUrl <URL Fragment>
>
> where <URL Fragment> is the path to a page (relative to the war directory)
> or a servlet.
>
>
>
>
>
> > > Any ideas?
>
> > > Thanks
>
> > --
>
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<google-web-toolkit%2Bunsubs 
> > [email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.

--

You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.


Reply via email to