
December 4th, 2012, 02:45 PM
|
|
Registered User
|
|
Join Date: Nov 2012
Posts: 3
Time spent in forums: 30 m 8 sec
Reputation Power: 0
|
|
|
Servlets/JSP - Exception during startup processing
I have a web app that uses JSF 1.1, MyFaces, and Tomcat 4.1
My web application was deployed onto a Linux server.
The apache common -loggings jars are giving me problem. So I dont want to use the apache common loggings at all
I removed the commons-logging.jar and the commons-logging-api.jar from ALL the following path:
web/common/lib
WEB-INF/lib
server/lib
Then tomcat wont start and I got the error below.
Please, any ideas on how I can fix this problem will be helpful. I don't want to use apache commons-loggings at all.
Where can I disable apache commons-loggings?
Exception during startup processing
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:156)
Caused by: java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
at org.apache.commons.digester.Digester.<init>(Digester.java:346)
at org.apache.catalina.startup.Catalina.createStartDigester(Catalina.java:229)
at org.apache.catalina.startup.Catalina.start(Catalina.java:412)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:350)
at org.apache.catalina.startup.Catalina.process(Catalina.java:129)
... 5 more
Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory
at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:945)
at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:810)
Thanks,
Cy
|