java.lang.NoClassDefFoundError: org/apache/log4j/Category))


Solutions on the web

Solution icon of googlegroups
via Google Groups by Dean Wampler, 1 year ago
org/apache/log4j/Category))

Solution icon of googlegroups
via Google Groups by Mario Scalas, 1 year ago
org/apache/log4j/Category))

Solution icon of googlegroups
via Google Groups by RafiqC, 4 months ago
org/apache/log4j/Category))

Solution icon of oraclecommunity
via Oracle Community by 42143, 1 year ago
org/apache/log4j/Category))

Solution icon of web
via qos.ch by Unknown author, 9 months ago
org/apache/log4j/Category))

Solution icon of web
via ecyrd.com by Unknown author, 1 year ago
org/apache/log4j/Category))

Solution icon of coderanch
via Coderanch by Guy Belpa, 11 months ago
org/apache/log4j/Category))

Solution icon of googlegroups
via Google Groups by du.hahn, 1 year ago
org/apache/log4j/Category))

Solution icon of googlegroups
via Google Groups by du.hahn, 1 year ago
org/apache/log4j/Category))

Solution icon of googlegroups
via Google Groups by AthlonRob, 1 year ago
org/apache/log4j/Category))

Stack trace

java.lang.NoClassDefFoundError: org/apache/log4j/Category))
	at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)
	at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
	at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:370)
	at box.BoxImplWithJCL.doOp(BoxImplWithJCL.java:23)
	at ch.qos.test.ChildFirstTestJCL2.main(ChildFirstTestJCL1.java:42)
Caused by: org.apache.commons.logging.LogConfigurationException: \ 
 No suitable Log constructor [Ljava.lang.Class;@4a5ab2 for org.apache.commons.logging.impl.Log4JLogger
(Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category)
	at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:413)
	at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
	... 4 more
Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Category
	at java.lang.Class.getDeclaredConstructors0(Native Method)
	at java.lang.Class.privateGetDeclaredConstructors(Class.java:1590)
	at java.lang.Class.getConstructor0(Class.java:1762)
	at java.lang.Class.getConstructor(Class.java:1002)
	at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:410)
	... 5 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 9 months ago
45 more bugmates