GWT - Cannot find entry point classes

I recently started developing another GWT module. So I created a package with all my new classes and one specific class that implements a new entry point. I changed my gwt.xml to my new entry point. When I compile, I get the following error:

GWT Compiling client-side code. WARNING: 'com.google.gwt.dev.GWTCompiler' is deprecated and will be removed in a future release. Use 'com.google.gwt.dev.Compiler' instead. (To disable this warning, pass -Dgwt.nowarn.legacy.tools as a JVM arg.) Compiling module com.test.gwt Finding entry point classes [ERROR] Unable to find type 'com.test.ajax.input.createEntryPoint' [ERROR] Hint: Previous compiler errors may have made this type unavailable 

This is not a capital error, both paths in gwt.xml and my actual package are written the same ... Any hints?

+3
source share
1 answer
  • make sure your code is in the client subpackage
  • make sure your .gwt.xml file is in the parent package of the client.

for example, change the directory / package structure to this:

 com/test/ajax/input/client/createEntryPoint.java com/test/ajax/input/Module.gwt.xml 

In the Module.gwt.xml file, there should be a follownig line:

 <entry-point class="com.test.ajax.input.client.createEntryPoint"/> 

more details: http://code.google.com/webtoolkit/doc/latest/DevGuideOrganizingProjects.html

+9
source

All Articles