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 view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/oB9s0LU3Rz8J.
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.