• 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
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

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.
 
Oh, sure, you could do that. Or you could eat some pie. While reading this tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic