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 :
win11
idea2020.1
maven3.8.4
tomacat9.0.38
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