gpt4 book ai didi

apache - 部署错误 : Bad target server ID tomcat70:home

转载 作者:行者123 更新时间:2023-11-28 22:43:01 27 4
gpt4 key购买 nike

我开始使用 netbeans7.4,当我尝试运行 Web 应用程序时,我遇到以下错误。我在谷歌中搜索,但不明白如何纠正它。所以,请有人建议我如何解决下面的问题..

这里是错误:

Deployment error: Bad target server ID tomcat70:home=C:\Program Files\Apache Software Foundation\Tomcat 7.0
See the server log for details.
at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:273)
at org.netbeans.modules.maven.j2ee.ExecutionChecker.performDeploy(ExecutionChecker.java:205)
at org.netbeans.modules.maven.j2ee.ExecutionChecker.executionResult(ExecutionChecker.java:123)
at org.netbeans.modules.maven.execute.MavenCommandLineExecutor.run(MavenCommandLineExecutor.java:235)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)
Caused by: java.lang.RuntimeException: Bad target server ID tomcat70:home=C:\Program Files\Apache Software Foundation\Tomcat 7.0
at org.netbeans.modules.j2ee.deployment.impl.projects.DeploymentTarget.getServer(DeploymentTarget.java:270)
at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:192)
... 4 more

最佳答案

我在搞乱服务器设置时遇到了类似的问题。我删除并重新添加了服务器配置。右键单击该项目,转到属性并确保在“运行”配置下选择了服务器。

关于apache - 部署错误 : Bad target server ID tomcat70:home,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20625190/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com