log4j-1.2.8.jar gets deleted from the path when a Webservice is created from Eclipse
- by Seema
When I try to create a Webservice from Eclipse, the log4j-1.2.8.jar which is configured in the project's build path just gets deleted, and when I try to invoke the Webservice it gives error as below:
2014-06-05 11:47:48,742 ERROR ServiceRequester:55 - RemoteException
2014-06-05 11:47:48,742 ERROR ServiceRequester:56 - ------
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
faultSubcode:
faultString: java.lang.NoClassDefFoundError: org/apache/log4j/Logger; nested ex
ception is:
java.lang.NoClassDefFoundError: org/apache/log4j/Logger
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}hostname:INPUSCPC07719
java.lang.NoClassDefFoundError: org/apache/log4j/Logger; nested exception is:
java.lang.NoClassDefFoundError: org/apache/log4j/Logger
We also tried to place this jar to a different path than where the project is located, but it still delete this jar from that path too.
Can anyone help in this?