失败 - 在上下文路径/ AsteriskTeams上部署应用程序但上下文无法启动

时间:2013-11-14 14:47:06

标签: java netbeans web-deployment

我已经使用Netbeans制作了一个Web应用程序。此应用程序之前是在一些不同的Netbeans版本和JDK中制作的,但目前我正在使用netbeans 7.0.1和JDK 7.该应用程序正在清理和构建成功但是右键单击并且运行整个应用程序时,它会在堆栈跟踪上给出以下错误...

FAIL - Deployed application at context path /AsteriskTeams but context failed to start
D:\AsteriskDemo\AsteriskTeams\nbproject\build-impl.xml:758: 
The module has not been deployed.
    at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:210)
    at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:106)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    at sun.reflect.GeneratedMethodAccessor51.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:390)
    at org.apache.tools.ant.Target.performTasks(Target.java: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.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.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(RunClassThread.java:153)
BUILD FAILED (total time: 5 seconds)

请帮我解决问题.. 提前谢谢......

0 个答案:

没有答案