I installed the GWT today and ran through the getting started document.  
When I tried, Debug As Web Application, I got the following:

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)
    at java.lang.Class.throwNoSuchMethodException(Class.java:304)
    at java.lang.Class.getDeclaredMethod(Class.java:621)
    at 
com.google.appengine.tools.development.StreamHandlerFactory.getDeclaredMethod(StreamHandlerFactory.java:157)
    ... 16 more

I'm using the IBM Java 7 SDK, which clearly does not have the same set of 
sun packages as the Oracle SDK.  Why is GWT making calls into the sun 
classes instead of, in this case, java.net?  The sun classes are not 
intended for application use.

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/-/KcAtbPrZo8QJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to