How to use idea to configure Maven project to start tomact? If the following errors are reported, find many solutions and still report errors?

CSDN Q & A 2022-01-26 13:35:55 阅读数:928

use idea configure maven project

The phenomenon and background of the problem :
In the use of idea To configure maven Project start tomacat An error was reported java.lang.ClassNotFoundException: org.apache.juli.logging.LogFactory
The exception interface is as follows ↓


pom.xml Configuration information ↓


Operating environment 、 Software version and other information :
Tried solutions :
Query exception display not loaded into tomcat-juli.jar This package , I went to see tomcat/bin This package exists under the file


I've tried clean and install There is no way to restart and load the project , I guess it might be tomcat Version of the problem use tomcat8.5.73 The problem remains the same
stay pom.xml Download tomcat-juli.jar Dependence still reports an error .
The crash of false positives , Plead for a solution , I've tried to solve it for two days, but I still can't solve it

Refer to the answer 1:

you WEB-INF -> lib Add this jar Did you pack it

Refer to the answer 2:
copyright:author[CSDN Q & A],Please bring the original link to reprint, thank you.