When I try to start my server I get an assertion error from GWT 2.4.0
(and JDK 6_30):
Caused by: java.lang.AssertionError
at
com.google.gwt.dev.resource.impl.PathPrefixSet.assertValidAbstractResourcePathName(PathPrefixSet.java:
292)
at
com.google.gwt.dev.resource.impl.PathPrefixSet.includesResource(PathPrefixSet.java:
239)
at
com.google.gwt.dev.resource.impl.ZipFileClassPathEntry.computeApplicableResources(ZipFileClassPathEntry.java:
188)
at
com.google.gwt.dev.resource.impl.ZipFileClassPathEntry.findApplicableResources(ZipFileClassPathEntry.java:
128)
at
com.google.gwt.dev.resource.impl.ClassPathEntry.findApplicableResources(ClassPathEntry.java:
54)
at
com.google.gwt.dev.resource.impl.ResourceOracleImpl.refresh(ResourceOracleImpl.java:
264)
at com.google.gwt.dev.cfg.ModuleDef.doRefresh(ModuleDef.java:572)
at
com.google.gwt.dev.cfg.ModuleDef.getAllPublicFiles(ModuleDef.java:332)
at
com.google.gwt.core.ext.linker.impl.StandardLinkerContext.getArtifactsForPublicResources(StandardLinkerContext.java:
246)
at com.google.gwt.dev.DevModeBase.link(DevModeBase.java:974)
at com.google.gwt.dev.DevMode.doSlowStartup(DevMode.java:396)
at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1094)
at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:811)
at com.google.gwt.dev.DevMode.main(DevMode.java:311)
I have things working great in production mode. And if I turn off
assertions, everything comes up and works fine. However, for dev
testing, I need assertions on.
My configuration:
running it: com.google.gwt.dev.DevMode -logLevel SPAM -war tomcat/
webapps/foo -logdir logs -noserver -startupUrl
https://localhost:8443/settings/foo.html
com.foo.web.core.WebCore
Tomcat: 6.0.35
com.foo.web.core.WebCore.gwt.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 1.6.4//
EN" "http://google-web-toolkit.googlecode.com/svn/tags/1.6.4/distro-
source/core/src/gwt-module.dtd">
<module rename-to='WebCore'>
<!-- Inherit the core Web Toolkit stuff. --
>
<inherits name='com.google.gwt.user.User'/>
<inherits name='com.foo.basegwt.BaseGWT'/>
<source path="client"/>
<source path="shared"/>
<!-- Specify the app entry point class. --
>
<entry-point class='com.foo.web.core.client.CoreUI'/>
</module>
BaseGWT.gwt.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 1.6.4//
EN" "http://google-web-toolkit.googlecode.com/svn/tags/1.6.4/distro-
source/core/src/gwt-module.dtd">
<module rename-to='BaseGWT'>
<!-- Inherit the core Web Toolkit stuff. --
>
<inherits name='com.google.gwt.user.User'/>
</module>
--
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.