java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.
java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
at org.springframework.util.ClassUtils.(ClassUtils.java:59)
at org.springframework.core.io.DefaultResourceLoader.(DefaultResourceLoader.java:53)
at org.springframework.context.support.AbstractApplicationContext.(AbstractApplicationContext.java:170)
at org.springframework.context.support.AbstractApplicationContext.(AbstractApplicationContext.java:163)
at org.springframework.context.support.AbstractRefreshableApplicationContext.(AbstractRefreshableApplicationContext.java:67)
at org.springframework.context.support.AbstractXmlApplicationContext.(AbstractXmlApplicationContext.java:49)
at org.springframework.context.support.FileSystemXmlApplicationContext.(FileSystemXmlApplicationContext.java:86)
at org.springframework.context.support.FileSystemXmlApplicationContext.(FileSystemXmlApplicationContext.java:74)
at com.elite.jdbctemplate.TestQueryForList.main(TestQueryForList.java:12)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.