• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

:org/apache/log4j/Logger

 
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi I am getting the following error

Exception in thread "main"

java.lang.NoClassDefFoundError rg/apache/log4j/Logger

some possible solution which are not working-
1)put the log jar file in ext library
not working as i have only read access which can not be changed

2)put the absolute class path in manifest file
wont work as abolute path not decided

3)put the log jar file in same directory as jar
I did that but now error invalid or incorrect jar file
(I unzipped the original jar then changed manifest then converted it to zip and then rename it to jar)

Now any other idea which should work?
 
arjun rampal
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
solved
 
reply
    Bookmark Topic Watch Topic
  • New Topic