Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1051595
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T16:57:33+00:00 2026-05-16T16:57:33+00:00

I have a web project built in eclipse using Spring and for Tomcat. Before

  • 0

I have a web project built in eclipse using Spring and for Tomcat. Before some recent changes that I either cannot remember or undo, I could simply start the server in the IDE and hit my servlets without issue.

After making those changes, when I started the server, I got the stacktrace as follows:

SEVERE: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener
java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1484)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1329)
...

To just work around this, I added all my jar dependencies to the server’s class path explicitly, as described in the link below.

http://www.mkyong.com/spring/spring-error-classnotfoundexception-org-springframework-web-context-contextloaderlistener/

This is not the correct way to fix my issue. How can I get the server to operate as it was before?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T16:57:33+00:00Added an answer on May 16, 2026 at 4:57 pm

    It sounds like something got corrupted, which happens to me more often than I’d like. You might try cleaning your Tomcat server. Right-click on the server in the Servers view and select “Clean”.

    If that doesn’t help, you can try dropping the server definition entirely, and recreating it from scratch. This doesn’t require reinstalling Tomcat; just creating a new server definition within Eclipse.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a dynamic web project (JSP) on Eclipse that runs on a tomcat
I have built a CXF+Spring Web service using Eclipse running on Tomcat7. The web
I have created a web application using Jersey and Dynamic Web Project of Eclipse.
I am using Eclipse (J2EE Galileo) and have created a dynamic web project and
I have a maven web project that imported into eclipse. I have another maven
I have created a project using the m2 eclipse tool and selected the web
I have built a web setup project in VS2008 which installs my ASP.NET/Silverlight app
I have developed a web project. Which is generating log file using log4j. But
I have a web application project that works with a quite large database (over
I have noticed from several web pages that apparently Spring 3.0 supports @Inject from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.