Contextloaderlistener error in eclipse error with spring MVC initialization

Source: Internet
Author: User
Eclipse Error: Java.lang.ClassNotFoundException:ContextLoaderListener


At first my project was completely operational, but then it was submitted to GitHub and then pulled down.

I've had this problem for a long time, and then I found out that there are two kinds of situations.


1: Project Java environment, may pull down code after it will be compiled with jdk1.5 package, you may need to re-specify its JDK version.

2: As some people on the Internet say, click on the properties of the project, find deployment assmbly, and then see if Maven dependencies have joined, no words add again.


Generally after the above two methods of the problem can be solved. If you can't solve the problem, then build a project again!



Contextloaderlistener error in eclipse error with spring MVC initialization

Related Article

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.