日期:2014-05-16  浏览次数:21113 次

hibernate下:java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFacto
点击右边红色标题查看本文完整版:hibernate下:java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
?
? 我初学hibernate 程序执行第一句
? Configuration config=new Configuration().configure();???
????
?请问这么解决?

------解决方法--------------------
add log4j.jar,dom4j.jar to your classpath