FAIL - Deployed application in path / RxCircle context, but context not running

FAIL - A deployed application in the context of the / RxCircle path, but the context is not running. The module was not deployed. at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy (Deployment.java:210) at org.netbeans.modules.maven.j2ee.ExecutionChecker.performDeploy (ExecutionChecker.java:173) at org.netbeans .modules.maven.j2ee.ExecutionChecker.executionResult (ExecutionChecker.java:125) at org.netbeans.modules.maven.execute.MavenCommandLineExecutor.run (MavenCommandLineExecutor.java:202) at org.netbeans.core.exlassution.un (RunClassThread.java:153)

I am using tomcat 6 netbeans 7.0 java 6

I get this error when I run my application in netbeans ..

+5
source share
4 answers

I suspect that either (1) your web.xml is missing, (2) your applicationContext is incorrect, or (3) your versions do not play well together.

Since you are using Netbeans, you can view the server log by doing the following:

  • Open the Services window (if it is not open, go to: Window > Services )
  • Right-click on the Tomcat server and select View Server Log .

Now you can see the actual exception due to which Tomcat will not deploy your war.

+4
source

This is a very general error message and may be due to some reason, for example, an invalid servlet filter or an invalid application context file. To fully understand, you need to get more registration data from tomcat. So set the debug logging level to tomcat, and then run tomcat. Below the URL you can apply for more information.

http://tomcat.apache.org/tomcat-6.0-doc/logging.html

How to set level registration in DEBUG in Tomcat?

I hope you get more details on the root cause of the deployment error.

0
source

Try stopping the Tomcat server to allow Netbeans to start it. If the server is already running when Netbeans is trying to deploy the application, Netbeans will display a delopy error message.

0
source

I had the same problem. I used Java 8, Tomcat 8, NetBeans 8.1.

What I did, I manually replaced: 1. nbproject / build-impl.xml 2. web / WEB-INF / web.xml

with the previous version of the files. Make sure you have backups.

0
source

Source: https://habr.com/ru/post/1207876/


All Articles