Tomcat Error: An internal error occurred during: "Updating status for Tomcat v6.0 Server at localhost ...". Java.lang.NullPointerException

Source: Internet
Author: User

A dependency was added to the pom file in the MAVEN project and an error occurred when publishing the results to Tomcat:

<!--Struts2-spring-plugin It relies on Spring 4.1.6, and I'm using a spring version of 5.0.2--
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-spring-plugin</artifactId>
<version>2.5.12</version>
</dependency>

1. The error is similar to the following connection:

Http://marionette.iteye.com/blog/1727480#comments

2. Cause:

Http://www.cnblogs.com/jinjiyese153/p/6972030.html

3. Solution

Instead of using the scheme given in the above 2, I swapped my spring version to 4.1.6, so that you can publish to Tomcat without an error.

Tomcat Error: An internal error occurred during: "Updating status for Tomcat v6.0 Server at localhost ...". Java.lang.NullPointerException

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.