Reputation: 10987
I created a GWT application in eclipse using the GWT eclipse plugin. By default it created GreetingServiceAsync.java and GreetingService.java in client package. GreetingServiceImpl.java in server package.
Now I want to call a CXF webservice from GreetingServiceImpl.java. I used wsdl2java to generate java classes for my wsdl. I imported these generated class in my GWT project in eclipse and the package is "service". But it complains "javax.jws.WebMethod is not supported by Google App Engine's Java runtime environment", many more errors.
How do I get rid of this?
Only error is the problem otherwise application is running fine.
Upvotes: 0
Views: 1754
Reputation: 31104
Is javax.jws.WebMethod
in the GAE whitelist? If you're sure that this class is really supported in the App Engine, then in Eclipse try:
Google -> App Engine Settings
I had this problem after doing Software Update; a new GAE SDK was installed and for some reason it confused the plugin. It was telling me that java.lang.String
was unsupported. :-)
Upvotes: 1