Error, trying to deploy a web application
I'm a begginer, I'm just trying to do a "Hello World" web application, I'm using apacha tomcat 6.0.16 and NetBeans 6.1 and I can't do a deploy, here's is the error, please help:
init:
deps-module-jar:
deps-ear-jar:
deps-jar:
library-inclusion-in-archive:
library-inclusion-in-manifest:
compile:
-compile JSPs:
Deployment located in C: \ projects \ Project1 \ build \ web
deployment? config = file: / C: / DOCUME ~ 1/LUCAS & 1/CONFIG ~ ~ 1/Temp/context7216.xml & path = / project
FAIL - Failed to deploy application at context path / project
Error in the process of deployment:
Deploy the module was not performed.
Check the server log for details.
at org.netbeans.modules.j2ee.deployment.devmodules.ap i.Deployment.deploy (Deployment.java: 166)
at org.netbeans.modules.j2ee.ant.Deploy.execute (Deploy.java: 104)
at org.apache.tools.ant.UnknownElement.execute (UnknownElement.java: 288)
at sun.reflect.GeneratedMethodAccessor39.invoke (Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java: 25)
at java.lang.reflect.Method.invoke (Method.java: 597)
at org.apache.tools.ant.dispatch.DispatchUtils.execut e (DispatchUtils.java: 105)
org.apache.tools.ant.Task.perform at (Task.java: 348)
org.apache.tools.ant.Target.execute at (Target.java: 357)
org.apache.tools.ant.Target.performTasks at (Target.java: 385)
org.apache.tools.ant.Project.executeSortedTargets at (Project.java: 1329)
org.apache.tools.ant.Project.executeTarget at (Project.java: 1298)
at org.apache.tools.ant.helper.DefaultExecutor.execut eTargets (DefaultExecutor.java: 41)
org.apache.tools.ant.Project.executeTargets at (Project.java: 1181)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl .run (BridgeImpl.java: 277)
at org.apache.tools.ant.module.run.TargetExecutor.run (TargetExecutor.java: 460)
at org.netbeans.core.execution.RunClassThread.run (RunClassThread.java: 151)
Caused by: Deploy the module was not performed.
at org.netbeans.modules.j2ee.deployment.devmodules.ap i.Deployment.deploy (Deployment.java: 160)
... 16 more
FAILURE IN CONSTRUCTION (total time: 0 seconds)
Re: Error, trying to deploy a web application
FAIL - Failed to deploy application at context path /Root.
I am also struggled with this same Problem last two weeks... But still not yet get the proper solution. If any one can update for this solution.
when i Clean and Build successfully at the first time Netbeans opened. After clicked on the Debug option shown always this error message -
"FAIL - Failed to deploy application at context path /Root"
The module has not been deployed.
at org.netbeans.modules.j2ee.deployment.devmodules.ap i.Deployment.deploy(Deployment.java:210)
at org.netbeans.modules.j2ee.ant.Deploy.execute(Deplo y.java:106)
at org.apache.tools.ant.UnknownElement.execute(Unknow nElement.java:291)
at sun.reflect.GeneratedMethodAccessor87.invoke(Unkno wn Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execut e(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:39 0)
at org.apache.tools.ant.Target.performTasks(Target.ja va:411)
at org.apache.tools.ant.Project.executeSortedTargets( Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project .java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.execut eTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Projec t.java:1251)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl .run(BridgeImpl.java:284)
at org.apache.tools.ant.module.run.TargetExecutor.run (TargetExecutor.java:539)
at org.netbeans.core.execution.RunClassThread.run(Run ClassThread.java:153)
BUILD FAILED - this error message was always shown in the debug window.
Thanks and regards,
Thilahar.