Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: jar file not found

  1. #1
    Junior Member
    Join Date
    Jun 2013
    Posts
    27
    Thanks
    1
    Thanked 1 Time in 1 Post

    Default jar file not found

    Hi everyone,

    I'm using Soot in Eclipse and due to some errors that I got before (don't remember what they were) I added the jasper-runtime-3.3.2.jar to my class path.
    After a while I realized that I need an upper version of jasper-runtime therefore after inspection I chose jasper-runtime-5.5.15.jar. I have removed the old version and added the new one to my class path but, I get the exception: couldn't find class: org.apache.jasper.runtime.HttpJspBase.
    I do not know the cause of this exception because this class already exists in the jar file. I guess that this jar file is not found Is that right?
    I tried to find the answer by searching but got no luck.

    Could anyone help me?

    Regards


  2. #2
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: jar file not found

    Are you sure the class exists in the new jar? How do you know? Is it located in exactly the same package?
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  3. #3
    Junior Member
    Join Date
    Jun 2013
    Posts
    27
    Thanks
    1
    Thanked 1 Time in 1 Post

    Default Re: jar file not found

    Quote Originally Posted by KevinWorkman View Post
    Are you sure the class exists in the new jar? How do you know?
    Thanks for the reply.
    Yes, I'm sure because I've checked.
    I have found the cause but, forgot to put it on the forum. I had forgotten to add the jar file to the libraries of my project (I had just added the jar to Soot class path and forgot about the project).

    Regards

  4. The Following User Says Thank You to user2013 For This Useful Post:

    jps (June 13th, 2013)

  5. #4
    Super Moderator jps's Avatar
    Join Date
    Jul 2012
    Posts
    2,642
    My Mood
    Daring
    Thanks
    90
    Thanked 263 Times in 232 Posts

    Default Re: jar file not found

    Thank you for posting the solution when your question was answered.
    Marking thread as solved.

Similar Threads

  1. run jar file inside a jar file?
    By ufrubnuckle in forum Java Theory & Questions
    Replies: 1
    Last Post: February 21st, 2013, 06:58 AM
  2. .java File not found
    By MeteoricDragon in forum What's Wrong With My Code?
    Replies: 18
    Last Post: November 17th, 2011, 11:53 PM
  3. File not found exception
    By mwr76 in forum File I/O & Other I/O Streams
    Replies: 4
    Last Post: September 10th, 2011, 03:54 PM
  4. [SOLVED] jar file Built(clean and build) perfectly, but not running as jar
    By chronoz13 in forum What's Wrong With My Code?
    Replies: 18
    Last Post: July 11th, 2011, 11:41 AM
  5. Replies: 2
    Last Post: January 8th, 2010, 08:22 AM

Tags for this Thread