Results 1 to 2 of 2
  1. #1
    nskshukti is offline Member
    Join Date
    Nov 2011
    Posts
    2
    Rep Power
    0

    Default Jar is not loading during run time

    Hi I have a peculiar problem

    During stand-alone , i have no problem faced with my jar.

    When created web-apps for the same. I have a problem(jar not loaded) during run-time.
    No compile time error. Build was successful using ant.

    I could see following exception in my console
    jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class

    I have tried with the following scenarios
    1. Placed the jar file in Libraries as External jars.
    2. Placed the jar file in Web Apps Libraries.
    In both ways the issue is the same.
    3. Set the jar as CLASSPATH and checked , still the same issue has comeup.


    Following is the expection in run-time logs

    java.lang.NoClassDefFoundError: org/openqa/selenium/WebDriver

    Please , suggest me a solution.

    Thanks
    Sathish

  2. #2
    nskshukti is offline Member
    Join Date
    Nov 2011
    Posts
    2
    Rep Power
    0

    Default Re: Jar is not loading during run time

    Hey , i got the solution.

    Solution :

    After building the war , removed the jar in the web/lib and placed it in tomcat libs. Now it started working.


    Cheers
    Sathish

Similar Threads

  1. making a Time class but Universal time always says 0
    By Bravid2001 in forum New To Java
    Replies: 2
    Last Post: 10-24-2011, 07:55 AM
  2. Replies: 3
    Last Post: 08-23-2011, 12:46 PM
  3. calculate time diff for particular time period
    By baktha.thalapathy in forum New To Java
    Replies: 2
    Last Post: 05-24-2010, 04:10 PM
  4. Loading time for a menu
    By marcusio in forum New To Java
    Replies: 2
    Last Post: 10-19-2008, 10:48 PM
  5. How can I set a time out on the loading process
    By paul in forum Advanced Java
    Replies: 1
    Last Post: 08-07-2007, 04:54 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •