Hi there!
Is there some special flag/classpath to add when a GWT project using
Activities and Places is compiled with Ant?
While it is compiling successfully with the GPE compilation, it fails under
Ant with a stacktrace like this:
[java] Compiling module test.MainModule
[java] Resolving test.client.mapping.AppPlaceHistoryMapper
[java] Found type 'test.client.mapping.AppPlaceHistoryMapper'
[java] [ERROR] Annotation error: cannot resolve
> test.client.places.HomePlace$HomePlaceTokenizer
[java] java.lang.ClassNotFoundException:
> test.client.places.HomePlace$HomePlaceTokenizer
[java] at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
[java] ...
[java] at com.google.gwt.dev.Compiler.main(Compiler.java:177)
[java] [ERROR] Annotation error: expected class
> java.lang.Class, got null
[java] [ERROR] Annotation error: cannot resolve
> test.client.places.ListPlace$ListPlaceTokenizer
[java] java.lang.ClassNotFoundException:
> test.client.places.ListPlace$ListPlaceTokenizer
[java] at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
[java] ...
[java] at com.google.gwt.dev.Compiler.main(Compiler.java:177)
[java] [ERROR] Annotation error: expected class
> java.lang.Class, got null
[java] Scanning for additional dependencies:
> file:/test/client/MainModule.java
[java] Computing all possible rebind results for
> 'test.client.mapping.AppPlaceHistoryMapper'
[java] Rebinding test.client.mapping.AppPlaceHistoryMapper
[java] Invoking generator
> com.google.gwt.place.rebind.PlaceHistoryMapperGenerator
[java] [ERROR] Generator
> 'com.google.gwt.place.rebind.PlaceHistoryMapperGenerator' threw an
> exception while rebinding 'test.client.mapping.AppPlaceHistoryMapper'
[java] java.lang.NullPointerException
[java] at
> com.google.gwt.place.rebind.PlaceHistoryGeneratorContext.getWithTokenizerEntries(PlaceHistoryGeneratorContext.java:285)
[java] ...
[java] at com.google.gwt.dev.Compiler.main(Compiler.java:177)
[java] [WARN] For the following type(s), generated source was
> never committed (did you forget to call commit()?)
[java] [WARN] test.client.mapping.AppPlaceHistoryMapperImpl
[java] [ERROR] Errors in 'file:/test/client/MainModule.java'
[java] [ERROR] Line 33: Failed to resolve
> 'test.client.mapping.AppPlaceHistoryMapper' via deferred binding
[java] [ERROR] Cannot proceed due to previous errors
Any idea will be appreciated :)
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/igBfAXtGZysJ.
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.