缺jar包的异常
hibernate 中mapping出现的错误
MySql中有没有money类型
缺jar的bug
JAVA 2009-07-14 18:38 阅读178 评论0 字号: 大大 中中 小小 java.lang.NoClassDefFoundError: org/aspectj/weaver/reflect/ReflectionWorld$ReflectionWorldException
缺 aspertj.jar 和aspertjweaver.jar
Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\shop\WEB-INF\classes\applicationContext-common.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.orm.hibernate3.LocalSessionFactoryBean]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org.hibernate.cfg.Configuration
缺 hibernate3.jar
java.lang.NoClassDefFoundError: javax/transaction/TransactionManager
缺 jta.jar
java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
缺 slf4j-jdk.jar , slf4j-log4j.jar , slf4j-api.jar, log4j-over-slf4j.jar
JDBC Driver class not found: com.mysql.jdbc.Driver
缺mysql驱动
java.lang.NoClassDefFoundError: javassist/util/proxy/MethodFilter
缺 javassist.jar
java.lang.NoClassDefFoundError: net/sf/cglib/proxy/CallbackFilter
把cglib.jar copy到tomcat lib 里面。
我的异常网推荐解决方案:org.springframework.beans.factory.BeanCreationException:,http://www.myexception.cn/j2ee/10759.html