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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T01:55:57+00:00 2026-05-18T01:55:57+00:00

servlet-api.jar I shifted this jar file from one system to the other. But I

  • 0

servlet-api.jar I shifted this jar file from one system to the other.

But I get the following error like -jar not loaded. Offending class:javax/servlet/servlet.class when I start the tomcat server.

Kindly let me know what would be the cause for this error and how to resolve the same.

Tomcat version is 5.5 in the current system and my previous system.

  • 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-18T01:55:57+00:00Added an answer on May 18, 2026 at 1:55 am

    The possible solution is that you might have another jar (like servlet.jar) available in a WAR file under tomcat that conflicts with servlet-api.jar‘s Servlet.class.

    Try and find out which WAR contains the jar and remove it.

    For more, view an article here.

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

Sidebar

Related Questions

We usually get a servlet-api.jar along with web/app server. Does each one have its
validation-api-1.0.0.GA.jar and hibernate-validator-4.1.0.Final.jar are in classpath. mvc:annotation-driven is in -servlet.xml file. @RequestMapping(value = /addEmployee,
I've this servlet filter servlet called everytime a file from Restricted folder is called.
In order to write servlets code I need servlet-api.jar. Where do i get servlet-api.jar
Up to this point I used the Tomcat installation that comes with servlet-api.jar to
I downloaded a copy of servlet-api.jar from java2s.com. How do I know what version
I'd like to compile a very basic servlet from command prompt, but it is
I have written a simple servlet class in eclipse dynamic web project, added servlet-api.jar
webapps | |----helloworld | |----WEB-INF | |-----classes-HelloWorldServlet.class |-----lib----servlet-api.jar |-----web.xml The above is my directory
I try to compile Select.java servlet from Mac terminal with the following command; MyComputer-iMac:src

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.