晚安,我遇到一个问题,我不知道是Linux,tomcat,maven还是netbeans。我正在尝试调试项目,但它返回该错误:

Implantação em andamento... (Implementation ocorring...)
deploy?config=file%3A%2Ftmp%2Fcontext5869996979793086537.xml&path=/Teste
FAIL - Application already exists at path /Teste


有人遇到这个问题或知道如何解决?我整天试图解决,但一无所获
我正在使用Linux Mint Cinnamon,IDE NetBeans 8.2,TomCat 8.5.23。

最佳答案

当我遇到类似“应用程序在路径/ Teste已经存在”的错误时,
我做了以下事情:

1. "Debug / Finish Debugger Session" (red square toolbar button),

2. Navigate to the "Undeploy" command as follows:

Window (menu) / Services
  Services (pane)
    Servers
      Tomcat 8.5
        Web Applications
          /Teste

3. Right click "/Teste" and click "Undeploy" in the popup context menu.

4. "Debug / Debug Project" now worked.

10-04 18:00