GWT 1.6.4 - Intellij 8.1 - Hosted mode via application start.

Hi all.

I'm attempting to upgrade to GWT 1.6.4.  The GWT Studio plugin doesn't support 1.6.4 yet (is that right? what is the timeline?) so I'm having to attempt to launch Hosted mode via direct exection of the Java main class in 'com.google.gwt.dev.HostedMode'

I've set the working directory to "\out\exploded\".

When I start up I get this error when the hosted browser tries to load the module:

[ERROR] Failure to load module 'webenroll'
java.lang.NoSuchMethodError: org.eclipse.jdt.internal.compiler.lookup.ProblemReferenceBinding.closestReferenceMatch()Lorg/eclipse/jdt/internal/compiler/lookup/ReferenceBinding;
    at com.google.gwt.dev.javac.JsniChecker$CheckingVisitor.findClass(JsniChecker.java:231)
    at com.google.gwt.dev.javac.JsniChecker$CheckingVisitor.checkRefs(JsniChecker.java:142)
    at com.google.gwt.dev.javac.JsniChecker$CheckingVisitor.endVisit(JsniChecker.java:65)

I'm hoping it is just a configuration issue.

When I build the application with ANT, using the updated gwt compiler, and run it in a stand alone tomcat instance, the application loads as expected. So I hope that will eliminate my application as the issue.

Any Help appreciated,
Jason

3 comments
Comment actions Permalink

Look like you have in classpath an eclipse compiler library which clashes with the eclipse compiler classes from gwt-dev-windows.jar.

Full support for GWT 1.6.4 will be available in IDEA 9.

Hi all.

I'm attempting to upgrade to GWT 1.6.4. The GWT Studio plugin doesn't support 1.6.4 yet (is that right? what is the timeline?) so I'm having to attempt to launch Hosted mode via direct exection of the Java main class in 'com.google.gwt.dev.HostedMode'

I've set the working directory to "\out\exploded\".

When I start up I get this error when the hosted browser tries to load the module:

Failure to load module 'webenroll'
java.lang.NoSuchMethodError: org.eclipse.jdt.internal.compiler.lookup.ProblemReferenceBinding.closestReferenceMatch()Lorg/eclipse/jdt/internal/compiler/lookup/ReferenceBinding;
at com.google.gwt.dev.javac.JsniChecker$CheckingVisitor.findClass(JsniChecker.java:231)
at com.google.gwt.dev.javac.JsniChecker$CheckingVisitor.checkRefs(JsniChecker.java:142)
at com.google.gwt.dev.javac.JsniChecker$CheckingVisitor.endVisit(JsniChecker.java:65)

I'm hoping it is just a configuration issue.

When I build the application with ANT, using the updated gwt compiler, and run it in a stand alone tomcat instance, the application loads as expected. So I hope that will eliminate my application as the issue.

Any Help appreciated,
Jason

---
Original message URL: http://www.jetbrains.net/devnet/message/5236280#5236280



--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

The issue was indeed a classpath issue.  Moving the GWT jars higher in the classpath solved that issue.

Jason.

0

Please sign in to leave a comment.