Hi,

I dont know if there is anyting I have missed. But I'm trying to
create a simple GWT project with the new gwt-maven-plugin.
I run the following command:
mvn archetype:generate
-DarchetypeRepository=repo1.maven.org
-DarchetypeGroupId=org.codehaus.mojo
-DarchetypeArtifactId=gwt-maven-plugin
-DarchetypeVersion=2.1.0-1

I input the following text:
Define value for property 'groupId': : com.test.hello
Define value for property 'artifactId': : gwt
Define value for property 'version': 1.0-SNAPSHOT:
Define value for property 'package': com.test.hello:
Define value for property 'module': : gwt

The project is created successfully. But when I try to gwt:compile it,
the following error arrives:
[INFO] Compiling module com.test.hello.gwt
[INFO]    Validating newly compiled units
[INFO]       [ERROR] Errors in 'file:/C:/<PATH>/gwt/src/main/java/com/
test/hello/client/gwt.java'
[INFO]          [ERROR] Line 35: GreetingServiceAsync cannot be
resolved to a type
[INFO]          [ERROR] Line 35: No source code is available for type
GreetingServiceAsync; did you forget to inherit a
required module?
[INFO]          [ERROR] Line 35: The method create(Class<?>) from the
type GWT refers to the missing type GreetingServic
eAsync
[INFO]          [ERROR] Line 37: Messages cannot be resolved to a type
[INFO]          [ERROR] Line 37: No source code is available for type
Messages; did you forget to inherit a required mod
ule?
[INFO]          [ERROR] Line 37: The method create(Class<?>) from the
type GWT refers to the missing type Messages
[INFO]          [ERROR] Line 37: Messages cannot be resolved to a type
[INFO]          [ERROR] Line 43: Messages cannot be resolved to a type
[INFO]          [ERROR] Line 45: Messages cannot be resolved to a type
[INFO]          [ERROR] Line 123: GreetingServiceAsync cannot be
resolved to a type
[INFO]    Finding entry point classes
[INFO]       [ERROR] Unable to find type 'com.test.hello.client.gwt'
[INFO]          [ERROR] Hint: Previous compiler errors may have made
this type unavailable
[INFO]          [ERROR] Hint: Check the inheritance chain from your
module; it may not be inheriting a required module o
r a module may not be adding its source path entries properly
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------

What am I missing here?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to