Works ok for me. You might have some classpath problem. codeserver.Options belong to gwt-codeserver and OptionsJsIntropMode.JS_RC belong to gwt-dev, so maybe IntelliJ is using the last codeserver and the not-so-last gwt-dev.
On Thursday, November 26, 2015 at 6:02:40 PM UTC+1, P.G.Taboada wrote:
-- I had some problems with intelliJ gwt dependency configuration. Sometimes get confused with the snapshots and point to a specific time-stamped version and do not update again. You can see which version is used in the classpath or in the .iml files.
Other problem I see sometimes is that intelliJ stop using maven as a gwt lib provider, this can be confirmed in the <project>.iml file, you should see something like.
<component name="FacetManager">
<facet type="gwt" name="GWT">
<configuration>
<setting name="gwtSdkUrl" value="file://$MAVEN_REPOSITORY$/com/google/gwt/gwt-dev/2.8.0-SNAPSHOT" />
<setting name="gwtSdkType" value="maven" />
</configuration>
</facet>
</component>
I hope this helps.
On Thursday, November 26, 2015 at 6:02:40 PM UTC+1, P.G.Taboada wrote:
Hi,IntelliJ fails to start SDM/ run configuration with 2.8.0-SNAPSHOT here. Are there any known tricks/ workarounds?java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at com.google.gwt.dev.shell.SuperDevListener.start( SuperDevListener.java:96) at com.google.gwt.dev.DevMode.ensureCodeServerListener( DevMode.java:660) at com.google.gwt.dev.DevModeBase.doStartup( DevModeBase.java:879) at com.google.gwt.dev.DevMode.doStartup(DevMode.java:545) at com.google.gwt.dev.DevModeBase.startUp( DevModeBase.java:983) at com.google.gwt.dev.DevModeBase.run(DevModeBase. java:775) at com.google.gwt.dev.DevMode.main(DevMode.java:426) at sun.reflect.NativeMethodAccessorImpl. invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl. invoke( NativeMethodAccessorImpl.java: 62) at sun.reflect.DelegatingMethodAccessorImpl. invoke( DelegatingMethodAccessorImpl. java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.intellij.rt.execution.application.AppMain.main( AppMain.java:144) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl. invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl. invoke( NativeMethodAccessorImpl.java: 62) at sun.reflect.DelegatingMethodAccessorImpl. invoke( DelegatingMethodAccessorImpl. java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.google.gwt.dev.shell.SuperDevListener. runCodeServer( SuperDevListener.java:113) at com.google.gwt.dev.shell.SuperDevListener.start( SuperDevListener.java:92) ... 11 moreUnable to start Code serverCaused by: java.lang.NoSuchFieldError: JS_RCat com.google.gwt.dev.codeserver.Options.<init>(Options.java: 91) at com.google.gwt.dev.codeserver.CodeServer.main(CodeServer. java:49) ... 17 more
You received this message because you are subscribed to the Google Groups "GWT Users" 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