LogFactory缺包异常

抛出异常:

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactoryat org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.(DefaultSingletonBeanRegistry.java:81)at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.(FactoryBeanRegistrySupport.java:43)at org.springframework.beans.factory.support.AbstractBeanFactory.(AbstractBeanFactory.java:176)at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.(AbstractAutowireCapableBeanFactory.java:159)at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.(AbstractAutowireCapableBeanFactory.java:170)at org.springframework.beans.factory.support.DefaultListableBeanFactory.(DefaultListableBeanFactory.java:166)at org.springframework.beans.factory.xml.XmlBeanFactory.(XmlBeanFactory.java:78)at org.springframework.beans.factory.xml.XmlBeanFactory.(XmlBeanFactory.java:67)

异常原因:缺少commons-logging.jar包。

异常解决:导入commons-logging.jar包即可。

jar包资源下载:百度云盘

上一篇:CI中PHP写法规范(不断更新)


下一篇:eMMC尺寸