Hoax
Hoax

Reputation: 1014

gwt compiling error

Compiling module com.sem.Sem10
   Finding entry point classes
      [ERROR] Unable to find type 'com.sem.client.Sem10'
         [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

My package structure is

I have googled this thing for quite a while and could not find a solution...? any help appreciated

Upvotes: 2

Views: 1793

Answers (2)

emery
emery

Reputation: 9653

Here's another suggestion to correct your source path in the *.gwt.xml file if you don't want to use the default.


  • In your .gwt.xml file, find the source tags near the bottom of the file.
  • revert to an earlier working commit, or open a known working project
  • take note of the pattern that the working source tags follow relative to the package structure of your working project.
  • roll forward to the broken commit
  • modify your source tag(s) to correspond to the current package structure, following the same pattern.

Upvotes: 0

chickeninabiscuit
chickeninabiscuit

Reputation: 9331

It looks like your source path is incorrect.

If you set it to com.sem.schema then the com.sem.client won't be on the source path, and therefore your entry point com.sem.client.Sem10 won't be either.

Try removing your source path definition, use the default (which is the client subpackage underneath where the Module XML File is stored - so com.sem.client).

See here for more information: http://code.google.com/webtoolkit/doc/latest/DevGuideOrganizingProjects.html#DevGuideModules

Upvotes: 2

Related Questions