• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Saeed Amer
Ranch Hand
Posts: 140
  • Mark post as helpful
  • send pies
  • 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!
 
rex hindlekar
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!