This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
My EAR structure is like this :
Inside lib I have all the external libraries required. When I am deploying, I am getting this -
Log4j is already there in the server lib folder, which means we dont have to supply it within the .ear - isn't that right ? After this, I even pushed the log4j.jar into my lib - but still I get this error.
Obviously I am making a simple mistake here, can you please point me out ?
I have created one domain and I am deploying the application under that.
Somak Dalui wrote:
Log4j is already there in the server lib folder, which means we dont have to supply it within the .ear - isn't that right ?
No. The server lib folder is for server dependencies. You have two choices for getting classes into your container, the external CLASSPATH (not recommended) or the APP-INF/lib directory of the EAR file (this location is particular to Weblogic).
Organizing Shared Classes in a Split Development Directory