如何解决Java NetBean项目中的部署错误 [英] How to Solve Deployment Error In Java NetBean Project

查看:326
本文介绍了如何解决Java NetBean项目中的部署错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好!

我使用netbean IDE和apache server添加了一个web项目。当构建项目时我收到错误。所以任何人都可以帮助我

 C:\Documents and Settings \ADMIN \ My Documents \NetBeansProjects \\\
bproject\build-impl.xml:730:
尚未部署模块。
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.GeneratedMethodAccessor69.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。执行(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.a pache.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)



谢谢

Chandan

解决方案

您可以尝试重新安装Netbeans IDE。参见一些讨论这个话题..

http: //stackoverflow.com/questions/6003742/deployment-error-while-running-jsp-in-netbeanside-6-0 [ ^ ]

http://stackoverflow.com/questions/6845771/ne tbeans-project-deployment-error [ ^ ]

http://stackoverflow.com/questions/5310945/deployment-errorstarting-of-tomcat-failed-the-server-port-8080-is-already-in-u [< a href =http://stackoverflow.com/questions/5310945/deployment-errorstarting-of-tomcat-failed-the-server-port-8080-is-already-in-utarget =_ blanktitle =新窗口> ^ ]


嗨!!我通过在属性中添加路径来解析(模块未部署)的某些部分但仍然具有相同的错误列表

 FAIL  - 在上下文路径/ NetBeansProjects上部署的应用程序但上下文无法启动


Hello!
I added a web project using netbean IDE with apache server.when build the projcet i am getting error .so can any one help me

C:\Documents and Settings\ADMIN\My Documents\NetBeansProjects\nbproject\build-impl.xml:730: 
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.GeneratedMethodAccessor69.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)


Thanks
Chandan

解决方案

You can try with reinstalling the Netbeans IDE.See some discussions on this topic..
http://stackoverflow.com/questions/6003742/deployment-error-while-running-jsp-in-netbeanside-6-0[^]
http://stackoverflow.com/questions/6845771/netbeans-project-deployment-error[^]
http://stackoverflow.com/questions/5310945/deployment-errorstarting-of-tomcat-failed-the-server-port-8080-is-already-in-u[^]


Hi!! i resolve(the module is not deployed) some part of it by adding the path in the properties but still having the same list of error with

FAIL - Deployed application at context path /NetBeansProjects but context failed to start


这篇关于如何解决Java NetBean项目中的部署错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆