Unable to find type

88 views
Skip to first unread message

Brunno Silva

unread,
Jan 29, 2009, 1:58:53 PM1/29/09
to gwt-maven
During gwt:compile phase, my build fails. The message is:

[ERROR] Unable to find type
'br.com.versatiliti.educacional.Application'
[ERROR] Hint: Previous compiler errors may have made this type
unavailable

When I check my target directory, there's no class file at all. Only
some temporary files. If I run the same build, but without the gwt-
maven plugin, the class files appears. Its like as the gwt:compile
don't allow the java code compilation.

Any ideas?

Cheers,
Brunno Silva

Brian Cribbs

unread,
Jan 29, 2009, 2:41:28 PM1/29/09
to gwt-...@googlegroups.com
Can you post your folder structure?

Charlie Collins

unread,
Jan 30, 2009, 1:09:52 PM1/30/09
to gwt-maven
Yes, what does your structure look like, and can you post the POM if
possible? Looks like the compiler isn't finding a type on the "source
path" so somehow the configuration is off.

Have a look at some of the samples and examples for a reference:
http://gwt-maven.googlecode.com/svn/docs/maven-googlewebtoolkit2-plugin/index.html

The compilerTargets tell GWT-Maven which modules to compile, and the
source path in those modules is where it will look for types.

On Jan 29, 1:58 pm, Brunno Silva <brunno.oliveira.si...@gmail.com>
wrote:
Reply all
Reply to author
Forward
0 new messages