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 723867
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T06:09:26+00:00 2026-05-14T06:09:26+00:00

Googled everything, but can’t find solution for my problem. When i’m trying to deploy

  • 0

Googled everything, but can’t find solution for my problem.

When i’m trying to deploy my project to Tomcat, i have such errors in Tomcat log:

    SEVERE: Error configuring application listener of class com.sun.faces.config.ConfigureListener
    java.lang.NoClassDefFoundError: javax/servlet/ServletRequestListener

I tried to deploy it from fresh Netbeans 6.8 to fresh Tomcat 6.0.26, but the problem is still there.

Servlet-api.jar is in the tomcat/lib folder. Tried to replace it with the newest, but problem is still there.

No compilation errors. Everything is correct.

Problem started suddenly. No code changes, no new jars added.

Help?

UPD: contents of WEB-INF/lib:

  • hibernate3.jar
  • hibernate-testing.jar
  • quartz-1.7.2.jar
  • quartz-all-1.7.2
  • servlet-api-2.5-20081211
  • 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-14T06:09:27+00:00Added an answer on May 14, 2026 at 6:09 am
    java.lang.NoClassDefFoundError: javax/servlet/ServletRequestListener
    

    The javax.servlet.ServletRequestListener is newly introduced since Servlet 2.4 API. That your environment cannot seem to find it can be caused by two things:

    1. Either the web.xml is declared as Servlet 2.3 or older which forces the server to Servlet 2.3 compliance mode, or the server in question doesn’t support Servlet 2.4 at all.

    2. Classpath is really, really messed up. You should never put/change/remove libraries in JRE/lib, JRE/lib/ext or Tomcat/lib without understanding what you’re doing. You should never put appserver-specific libraries in Webapp/WEB-INF/lib because that doesn’t make any sense.

    To fix 1, ensure that your web.xml is declared as at least Servlet 2.4. Preferably the newest which the server can support. Tomcat 6.0 supports Servlet 2.5, so declare web.xml accordingly.

    To fix 2, cleanup the classpath of all pollution. Invest some more time to learn more about the phenomeon “classpath”. Handle it with care.

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

Sidebar

Related Questions

Everything I've googled just says you can add them as a string array, but
I've Googled, StackOverflowed, everything, and I cannot seem to find a tutorial I can
I have been trying to solve this problem all day, I googled a lot,
This question seems straightforward but I've tried everything I can think of, and Googled
I'm getting an error and I've googled everything I can think of with barely
can anybody help with the above SourceSafe error? I've spent hours trying to find
I'm trying to make a div 's height stretch out to 100% but everything
This page should display a Google ad. I Tried everything but it's not working.
Googled for this to no avail. Didn't find anything in the API either. I
Since 2005 as I googled it's a problem for who needs to read the

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.