This using Eclipse? Be sure it's actually in the classpath under the Run Configurations dialog, as the GWT compiler needs to find it there even if Eclipse doesn't.
On Mar 30, 1:28 pm, Lucas Rios <[email protected]> wrote: > Hi everybody > > I'm trying to use a Java project in GWT but I have had some problems > because I can't compile the GWT project. > > I have done this: > > 1.Make a xxx.gwt.xml in the java project. > 2. Add a external JAR (java project) in the java build path of the GWT > project. In Projects and libraries tabs. > 3. Reference a xxx.gwt.xml in GWT projects (gwt.xml) > 4. And last compile the GWT project... showing me those errors > > Compiling module ticketcheckGWT.Ticketcheck_GWT > Validating newly compiled units > [ERROR] Errors in 'file:/D:/Sura_desarrollo/Ticketcheck%20GWT/ > src/ticketcheckGWT/client/Ticketcheck_GWT.java' > [ERROR] Line 488: No source code is available for type > sura.ticketcheck.bo.Instancia; did you forget to inherit a required > module? > [ERROR] Errors in 'file:/D:/Sura_desarrollo/Ticketcheck%20GWT/ > src/ticketcheckGWT/client/ServiciosTicketcheck.java' > [ERROR] Line 13: No source code is available for type > sura.ticketcheck.bo.Instancia; did you forget to inherit a required > module? > [ERROR] Errors in 'file:/D:/Sura_desarrollo/Ticketcheck%20GWT/ > src/ticketcheckGWT/client/ServiciosTicketcheckAsync.java' > [ERROR] Line 12: No source code is available for type > sura.ticketcheck.bo.Instancia; did you forget to inherit a required > module? > [ERROR] Errors in 'jar:file:/D:/Lucas%20Ríos/GWT/gwanted/gwanted- > core.jar!/org/gwanted/gwt/core/client/logger/TimeLoggerImpl.java' > [ERROR] Line 92: Parameter 'widgetLoadTime': type 'long' is > not safe to access in JSNI code > For additional info see: file:/D:/Escritorio/eclipse-jee- > galileo-win32/eclipse/plugins/com.google.gwt.eclipse.sdkbundle. > 2.0.1_2.0.1.v201002021445/gwt-2.0.1/doc/helpInfo/ > longJsniRestriction.html > Finding entry point classes > [ERROR] Unable to find type > 'ticketcheckGWT.client.Ticketcheck_GWT' > [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 > > If somebody know how I can solve it.... please help me > > Thank for all > > Regards, > > LucasRR -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
