• 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

java.lang.NoClassDefFoundError: org/apache/log4j/Logger error while deploying ear

 
Ranch Hand
Posts: 140
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
update - I solved the issue by deploying the missing jar files in the domain's lib folder

-=====

Hello there

I have not done any java/web development in many years but now at work I have been asked to take over for a colleague who left the company.

I have installed WLS 9.2 on my PC and have created required Domain and configured the JDBC Data Source, etc.

Now I am trying to build and deploy WebServices application (which I copied as-is from my x-colleagues's PC) to this WLS 9.2.

While deploying, I am getting following error:



I know this information may not be enough. So please let me know what other information should I provide to get help in resolving this error.

Thanks in advance!
 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Add log4j.jar to the lib folder while creating the ear file. This means that the log4j-xxx.jar is missing.
 
reply
    Bookmark Topic Watch Topic
  • New Topic