Hi,Naveen Gayar it help for you
Make sure your Eclipse gives priority to GWT hosted mode libraries.
Go to your GWT project properties (In project Explorer right click on the
project and select Properties). Then navigate to J*ava Build Path-Order
And Export tab. Move the GWT SDK bundle above
Juan Pablo Gardella gardellajuanpablo@... writes:
Can you show the classpath?
2011/6/17 Navindian navind...@gmail.com
I have imported working project. It is giving the following error. please
let me know asap.
Compiling module com.ge.inds.evse.io.EVSEGRI
[ERROR] Unexpected
Ok that was stupid !!!
The problem is that com.google.gwt.dev.javac.JdtCompiler.getCompilerOptions
(JdtCompiler.java:208)
is Referring to CompilerOptions which as fate would have it is referencing to
the implementation in selenium-server.jar instead of gwt specific
implementation.
This jar
I have imported working project. It is giving the following error. please
let me know asap.
Compiling module com.ge.inds.evse.io.EVSEGRI
[ERROR] Unexpected
java.lang.NoSuchFieldError:
reportUnusedDeclaredThrownExceptionIncludeDocCommentReference
at
Can you show the classpath?
2011/6/17 Navindian navind...@gmail.com
I have imported working project. It is giving the following error. please
let me know asap.
Compiling module com.ge.inds.evse.io.EVSEGRI
[ERROR] Unexpected
java.lang.NoSuchFieldError:
I have a project based on gwt-ext. This project import some third-
party jars. However it didn't compile successfully because the gwt
complier couldn't find the java source code of these third-party jars.
That means that we must have the java source code in the jar package
or in the classpath,
You can't. If your utility is to be used client-side, then you have to
provide the source for it so gwt can translate it to javascript.
gerald wrote:
I have a project based on gwt-ext. This project import some third-
party jars. However it didn't compile successfully because the gwt
complier
I figured out the issue to my own problem and I am posting the
solution for posterity's benefit. This might save somebody a few hours
of frustration.
I had earlier failed to specify the fully qualified module name:
For instance, under program arguments in Eclipse:
I initially specified this:
I am on GWT 2.0.3. I am mentioning this because someone had asked if I
was on GWT 2.1 M1.
By the way, I've tried all the options mentioned:
1. Added the following lines:
inherits name=com.google.gwt.core.Core/
inherits name=com.google.gwt.user.History/
2. Moved my gwt.xml directly under the src
Try to add these line under this one:
!-- Inherit the core Web Toolkit stuff.--
inherits name='com.google.gwt.user.User'/
ADD NE LINES:
inherits name=com.google.gwt.core.Core/
inherits name=com.google.gwt.user.History/
Cheers!
PS: more info about GWT 2.0:
Please check for is your java code is not importing some unnecessary stuff
which might be not supported by GWT.
to remove unnecessary imorts you can opt for a short cut key : Ctrl+Shift+O
and then try to compile.
--
Aditya
On Mon, May 24, 2010 at 2:00 PM, Sorinel C
An if you use the just released GWT 2.1M1 then you have to add more
stuff to your module .gwt.xml file
Check it out here to see it:
http://ui-programming.blogspot.com/2010/05/gwt-upgrade-to-gwt-21-m1-and-fix-module.html
Cheers
--
You received this message because you are subscribed to the
On 21 mai, 21:49, jayanth jay.sesha...@gmail.com wrote:
!-- Specify the app entry point class. --
entry-point class='whi.idm.client.GIDM'/
source path=whi.idm.client /
Is your gwt.xml really in the default package ?! (i.e. at the root
of your source tree)
--
I created an Eclipse launch configuration using the
com.google.gwt.dev.Compiler (GWT 2.0), but am not able to compile.
Here is the error message:
Compiling module gidm
Removing invalidated units
Finding entry point classes
[ERROR] Unable to find type 'whi.idm.client.GIDM'
GWT Compilation requires that the Java source be available for every type
which is part of a GWT module. You'll need to get the source for the Apache
Commons library and add it to your classpath. I'm sure that all of Apache
Commons is not translatable, but perhaps the parts that you're using (such
I have included org.apache.common.lang.StrinUtils in my Entry Point java
file . I have included common-lang.jar in my web-app library .The Java
Compilation goes through . but if i do a GWT compile i get the following
error
[ERROR] Line 32: No source code is available for type
16 matches
Mail list logo