Results 1 to 2 of 2

Thread: running jar file problem

  1. #1

    Default running jar file problem

    Hi
    I don't know this is correct forum.
    I have a executabe jar file ,as this uses different third party jars like log4j, spring,hibernate etc., i've included them in my classpth: attribute in manifest of the jar
    And also i kep all the third party jars along with my jar file.
    But when i run my jar file it keeps complaining classnotfound exception for logger, if i keep only log4j.jar it complains now classnotfound spring files. The moment i keep second jar(i.e. spring.jar in this case) it again complains about logger classnotfound. how can i solve this
    Can somebody help me please.

    Thanks
    AD

  2. #2
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,624

    Default

    Please post in the correct forum, Spring Core would be appropriate. Also please post your stacktrace and wrap that in [ code][ /code] tags.
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

Posting Permissions

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