Tuesday, January 13, 2015

Re: DevAppServer Creation Fails With IBM JDK

I don't know if this is related but we run ibm jdk and in order to get gwt working for us we have to remove the *gwtar files from gwt-user.jar and clean out the gwt-unitCache folder in our workspace.
 

On Friday, January 9, 2015 at 12:15:33 AM UTC+1, Samaya Madhavan wrote:

I seem to be having the same issue.  Did you happen to find a resolution for this?  Thank you! 
On Tuesday, 11 September 2012 12:30:19 UTC-5, Chris Barlock wrote:
Installed GWT today and ran through the steps in the Getting Started guide.  When I tried to debug the sample I created as a web application, GWT was unable to create the DevAppServer:

Initializing App Engine server
Unable to start embedded HTTP server
java.lang.RuntimeException: Unable to create a DevAppServer
    at com.google.appengine.tools.development.DevAppServerFactory.createDevAppServer(DevAppServerFactory.java:173)
    at com.google.appengine.tools.development.DevAppServerFactory.createDevAppServer(DevAppServerFactory.java:69)
    at com.google.appengine.tools.development.DevAppServerFactory.createDevAppServer(DevAppServerFactory.java:52)
    at com.google.appengine.tools.development.gwt.AppEngineLauncher.start(AppEngineLauncher.java:84)
    at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:509)
    at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1068)
    at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:811)
    at com.google.gwt.dev.DevMode.main(DevMode.java:311)
Caused by: java.lang.RuntimeException: java.lang.NoSuchMethodException: sun.net.www.protocol.https.Handler.openConnection(java.net.URL)
    at com.google.appengine.tools.development.StreamHandlerFactory.getDeclaredMethod(StreamHandlerFactory.java:161)
    at com.google.appengine.tools.development.LocalURLFetchServiceStreamHandler.<init>(LocalURLFetchServiceStreamHandler.java:52)
    at com.google.appengine.tools.development.StreamHandlerFactory.<init>(StreamHandlerFactory.java:106)
    at com.google.appengine.tools.development.StreamHandlerFactory.install(StreamHandlerFactory.java:65)
    at com.google.appengine.tools.development.DevAppServerImpl.<init>(DevAppServerImpl.java:89)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:80)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:57)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:539)
    at com.google.appengine.tools.development.DevAppServerFactory.createDevAppServer(DevAppServerFactory.java:165)
    ... 7 more
Caused by: java.lang.NoSuchMethodException: sun.net.www.protocol.https.Handler.openConnection(java.net.URL)

I'm using the IBM Java 7 SDK.  Why is GWT making calls directly to classes in the sun packages and not, in this case, java.net?

Chris

--
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