Home > Back-end >  In the use of the IDEA to create Maven project combined with SSM framework, startup has been to find
In the use of the IDEA to create Maven project combined with SSM framework, startup has been to find

Time:10-03

: the Error you application listener of class org. Springframework. Web. Context. ContextLoaderListener
Java. Lang. ClassNotFoundException: org. Springframework. Web. Context. ContextLoaderListener


This problem is very sick, first check the web. This part of the XML file if there is any mistake, then to check for springmvc. XML file
Looking at the address of the configuration file is fill in the wrong



If the above there are no errors, then go with the following methods:
So this time we can set up in the IDEA that can solve the Java. Lang. ClassNotFoundException: org. Springframework. Web. Context. The ContextLoaderListener error solution? ,

click on the File in IDEA & gt; The Project Structure & gt; Artifacts & gt; On the right side of the Output Layout right-click the project name, select the Put into the Output Root,
? After execution, the WEB - INF in increased the lib directory, it is the project reference jar package, click OK,




So we can solve the above error can't find the web package!!!!!!!!!!


If there is any wrong place, also please advice,

CodePudding user response:

The last two picture in the order of the opposite!
  • Related