NetBeans 无法调试

coolszy 2009-02-21 03:08:49
NetBeans+Tomca 编写jsp,能运行,但是无法运行调试,这是怎么回事,一运行就出现如下警告:

正在启动 Tomcat 进程...
正在等待 Tomcat...
启动 Tomcat 失败。
部署错误:
启动 Tomcat 失败。
有关详细信息,请参见服务器日志。
at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:163)
at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:104)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor90.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.execute(DispatchUtils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(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: org.netbeans.modules.j2ee.deployment.impl.ServerException: 启动 Tomcat 失败。
at org.netbeans.modules.j2ee.deployment.impl.ServerInstance._startDebug(ServerInstance.java:1290)
at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.startTarget(ServerInstance.java:1208)
at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.startDebug(ServerInstance.java:925)
at org.netbeans.modules.j2ee.deployment.impl.TargetServer.startTargets(TargetServer.java:415)
at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:140)
... 16 more
生成失败(总时间:11 秒)
...全文
121 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
热烈的红颜 2009-02-24
  • 打赏
  • 举报
回复
这个 我 那天也遇到一个人 也说这个问题
你换一个TOMCAT 版本 我的是 6.5+Tomcat 6.0就可以
coolszy 2009-02-24
  • 打赏
  • 举报
回复
有谁遇到过这种情况的吗
coolszy 2009-02-24
  • 打赏
  • 举报
回复
不知道
我试试看看呢

67,513

社区成员

发帖
与我相关
我的任务
社区描述
J2EE只是Java企业应用。我们需要一个跨J2SE/WEB/EJB的微容器,保护我们的业务核心组件(中间件),以延续它的生命力,而不是依赖J2SE/J2EE版本。
社区管理员
  • Java EE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧