inheriting a required module or a module may not be adding its source path

1,900 views
Skip to first unread message

amlsoft

unread,
Jul 2, 2008, 5:19:52 AM7/2/08
to Google Web Toolkit
Hai all....
I am using GWT 1.3, JAVA 1.6, EJB 3.0 and Hibernate as persistent unit
with netbeans....

In case of annotation i have converted may entity object to annotation
less objects and binding with data and send those to fount end...
(GWT UI)

i added to class path correctly to web project but it didnt work.. and
throws an exception as

Analyzing source in module 'visni.Main'
[ERROR] Errors in 'C:\Test\Test-war\src\java\visni\client\ui
\MainUI.java'
[ERROR] Line 16: The import entityDTO cannot be resolved
[ERROR] Line 76: ProductDTO cannot be resolved to a type
[ERROR] Line 80: ProductDTO cannot be resolved to a type
[ERROR] Line 80: ProductDTO cannot be resolved to a type
Finding entry point classes
[ERROR] Unable to find type 'visni.client.MainEntryPoint'
[ERROR] Hint: Previous compiler errors may have made this type
unavailable
[ERROR] Hint: Check the inheritance chain from your module; it
may not be inheriting a required module or a module may not be adding
its source path entries properly

walden

unread,
Jul 2, 2008, 12:02:59 PM7/2/08
to Google Web Toolkit
You need to get the GWT compiler to compile 'entityDTO' class. The
easiest way to do that is to move that class to your gwt client
source. The other way to do it is to make a separate module for it,
but that approach doesn't make a lot of sense if you're the author of
both client and server parts. If you move it to your gwt client area,
you will have to make sure it gets compiled (javac) and bundled with
your server implementation too.

Walden
Reply all
Reply to author
Forward
0 new messages