On 05/17/14 12:46, Thomas Broyer wrote:
> Caused by: java.lang.NoClassDefFoundError: javax/ws/rs/Path
>
> at
> org.fusesource.restygwt.rebind.RestServiceClassCreator.generate(RestServiceClassCreator.java:178)
>
>
> That one should be rather easy to track down, no?
> --
Yes It should.
The project was working with 2.6.0. Then it gave some errors, I mucked
around and I finally got this one. The real problem (before the mucking)
is like the one below.
It can't find javax.rs in SDM. I get it. It works in eclipse and during
normal gwt compile - war creation.
All three were working with 2.6.0.
2.6.1 somehow broke my setup for SDM.
My fault? Probably but after the mucking the stacktrace was looking like
the OP and I thought to go for a me too post.
I will downgrade to 2.6 and verify that it works and I will post again.
~/workspace-sn/sn$ ../sn-lib/scripts/sdm.sh com.sn.Start
workDir: /tmp/gwt-codeserver-1689141351389452594.tmp
binding: user.agent=safari
binding: compiler.useSourceMaps=true
binding: locale=en
Compiling module com.sn.Start
Validating units:
Ignored 3 units with compilation errors in first pass.
Compile with -strict or with -logLevel set to TRACE or DEBUG to see all
errors.
Finding entry point classes
[ERROR] Errors in
'file:/home/bill/workspace-sn/sn/./src/com/sn/client/rest/SNServiceAsync.java'
[ERROR] Line 3: The import javax.ws cannot be resolved
[ERROR] Line 4: The import javax.ws cannot be resolved
[ERROR] Line 5: The import javax.ws cannot be resolved
[ERROR] Line 16: Path cannot be resolved to a type
[ERROR] Line 16: The attribute value is undefined for the
annotation type Path
[ERROR] Line 18: GET cannot be resolved to a type
[ERROR] Line 19: Path cannot be resolved to a type
[ERROR] Line 19: The attribute value is undefined for the
annotation type Path
[ERROR] Line 22: GET cannot be resolved to a type
[ERROR] Line 23: Path cannot be resolved to a type
[ERROR] Line 23: The attribute value is undefined for the
annotation type Path
[ERROR] Line 24: PathParam cannot be resolved to a type
[ERROR] Line 24: The attribute value is undefined for the
annotation type PathParam
[ERROR] Line 28: GET cannot be resolved to a type
[ERROR] Line 29: Path cannot be resolved to a type
[ERROR] Line 29: The attribute value is undefined for the
annotation type Path
[ERROR] Line 32: GET cannot be resolved to a type
[ERROR] Line 33: Path cannot be resolved to a type
[ERROR] Line 33: The attribute value is undefined for the
annotation type Path
[ERROR] Line 34: PathParam cannot be resolved to a type
[ERROR] Line 34: The attribute value is undefined for the
annotation type PathParam
[ERROR] Line 35: PathParam cannot be resolved to a type
[ERROR] Line 35: The attribute value is undefined for the
annotation type PathParam
[ERROR] Line 38: GET cannot be resolved to a type
[ERROR] Line 39: Path cannot be resolved to a type
[ERROR] Line 39: The attribute value is undefined for the
annotation type Path
[ERROR] Unable to find type 'com.sn.client.Start'
[ERROR] Hint: Check that the type name 'com.sn.client.Start'
is really what you meant
[ERROR] Hint: Check that your classpath includes all required
source roots
[ERROR] Compiler returned false
com.google.gwt.core.ext.UnableToCompleteException: (see previous log
entries)
at
com.google.gwt.dev.codeserver.Recompiler.compile(Recompiler.java:128)
at
com.google.gwt.dev.codeserver.ModuleState.<init>(ModuleState.java:58)
at
com.google.gwt.dev.codeserver.CodeServer.makeModules(CodeServer.java:120)
at
com.google.gwt.dev.codeserver.CodeServer.start(CodeServer.java:95)
at
com.google.gwt.dev.codeserver.CodeServer.main(CodeServer.java:71)
at
com.google.gwt.dev.codeserver.CodeServer.main(CodeServer.java:49)
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment