[Building Sakai] Build failure: Failed to deploy emailtemplateservice
Steve Henshaw
steve.henshaw at gmail.com
Thu Feb 25 03:43:39 PST 2010
Hello,
Im a newcomer to Sakai, as well as Tomcat and Maven. Ive been following
the setting up a development environment walk-through on the sakai site:
http://confluence.sakaiproject.org/display/BOOT/Development+Environment+Setup+Walkthrough
Im working on a Ubuntu 9.10 machine using standard Ubuntu Repo versions
of everything except Sakai which I checked out a couple of hours ago.
I've got as far as step 11 deploying Sakai to Tomcat, but when I run
mvn -e sakai:deploy
(I added the -e to get the trace)
I get a build failure, the last bit of the output is below.
Sorry if its a really silly question, but any help / advice or tips on
what to google would be most appreciated :)
Thanks,
Steve
[ERROR] BUILD FAILURE
[INFO] ----------------------------------------------------------------
[INFO] Fialed to deploy to container
:/usr/share/tomcat6/shared/lib/emailtemplateservice-api-0.5-SNAPSHOT.jar
(No such file or directory)
[INFO] -----------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: Fialed to deploy to container
:/usr/share/tomcat6/shared/lib/emailtemplateservice-api-0.5-SNAPSHOT.jar
(No such file or directory)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:715)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoFailureException: Fialed to
deploy to container
:/usr/share/tomcat6/shared/lib/emailtemplateservice-api-0.5-SNAPSHOT.jar
(No such file or directory)
at
org.sakaiproject.maven.plugin.component.ComponentDeployMojo.deployToContainer(ComponentDeployMojo.java:261)
at
org.sakaiproject.maven.plugin.component.ComponentDeployMojo.execute(ComponentDeployMojo.java:109)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
... 17 more
More information about the sakai-dev
mailing list