When starting tomcat, the following error is reported:
war exploded: Error during artifact deployment. See server log for details.
Solution:
Step 1: See someone online said that generally under WEB-INF, there should be applicationContext.xml file, even if not, the context should be specified in web.xml, so add the following code in web.xml:
Step 2: Be sure to write the bean in applicationContext.xml. (This is my own careless mistake, only used to remind everyone)
In short
This error has plagued me for a long time, I checked a lot of methods on the Internet but they do not apply, so this article is only used to help you troubleshoot, but also according to their own actual procedures to determine.
Read More:
- [Solved] SSM Project Error: Error during artifact deployment. See server log for details.
- [Solved] Android7 8 Jack server SSL error: Jack server failed to (re)start, try ‘jack-diagnose’ or see Jack server log
- [Solved] Vivado Error: vivado 12-8300 launch hls failed please see vivado hls.log for details
- [Solved] Android Gradle Build Error: Some file crunching failed, see logs for details
- Unable to import maven project: See logs for details [Solved]
- [Solved] Android Error: Compilation failed; see the compiler error output for details
- Error: an error occurred while performing the step: “building kernel modules”. See/var/log/NV
- [Solved] Jmeter Error: Error loading results file – see file log
- Fuel9.0 deployment openstack error: Deployment has failed,All nodes are finishedFailed task:Task[netconfig/1]
- [Solved] springmvc:Error creating bean with name ‘org.springframework.cache.interceptor.CacheInterceptor
- [Solved] SpringMVC Error: element web-app must be declared
- How to Solve Springmvc Error: org.springframework.web.servlet.DispatcherServlet
- Spring deployment error: Could not open ServletContext resource [/db.properties]
- [Solved] Arm Server kibana7.4.1 Error: Sending Logstash logs to /home/logstash-6.8.4/logs which is now configured via log4j2.properties
- [Solved] kafka Startup Error: ERROR Shutdown broker because all log dirs in /…/kafka/logs have failed (kafka.log.LogManager)
- log4j Error: Please initialize the log4j system properly [How to Solve]
- [Solved] Manifest merger failed with multiple errors, see logs
- AAPT2 error: check logs for details [How to Solve]
- K8S error validating data: ValidationError(Deployment.spec): missing required field selector
- [Solved] Maven Error: The packaging for this project did not assign a file to the build artifact