Maven build error with GWT application (file not found)

1 view
Skip to first unread message

manish panwar

unread,
Dec 9, 2009, 12:40:51 AM12/9/09
to Google Web Toolkit
I am building GWT application in Linux box, and getting following
error.
Please note my project gets build successfully in Windows.
Here AdminHome.gwt.xml is my GWT config file, and I am able to see
this file in my directory.

I am attaching my POM file and GWT config XML file.

[exec] [INFO] Copying 2 resources to
[exec] [INFO]
------------------------------------------------------------------------
[exec] [ERROR] BUILD ERROR
[exec] [INFO]
------------------------------------------------------------------------
[exec] [INFO] /com/ihg/apps/easymeetings/admin/gwt/
AdminHome.gwt.xml (No such file or directory)

[exec] [INFO]
------------------------------------------------------------------------
[exec] [INFO] Trace
[exec] org.apache.maven.lifecycle.LifecycleExecutionException: /
com/ihg/apps/easymeetings/admin/gwt/AdminHome.gwt.xml (No such
file or directory)
[exec] at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
(DefaultLifecycleExecutor.java:584)
[exec] at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
(DefaultLifecycleExecutor.java:500)
[exec] at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
(DefaultLifecycleExecutor.java:479)
[exec] at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
(DefaultLifecycleExecutor.java:33
1)
[exec] at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments
(DefaultLifecycleExecutor.java:292)
[exec] at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
(DefaultLifecycleExecutor.java:142)
[exec] at org.apache.maven.DefaultMaven.doExecute
(DefaultMaven.java:336)
[exec] at org.apache.maven.DefaultMaven.execute
(DefaultMaven.java:129)
[exec] at org.apache.maven.cli.MavenCli.main(MavenCli.java:
301)
[exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[exec] at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
[exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)

Austen

unread,
Dec 10, 2009, 5:11:58 AM12/10/09
to Google Web Toolkit
Hi Manish,

I had the same problem, I didn't find out what the cause was but I
found removing:

<resources>
...
</resources>

from the pom solved the issue. (I didn't need to specify them anyway)

Hopefully that points you in the right direction at least.

Cheers

Austen
Reply all
Reply to author
Forward
0 new messages