当前位置: 代码迷 >> Java Web开发 >> [求助]org/hibernate/exception/DataException
  详细解决方案

[求助]org/hibernate/exception/DataException

热度:671   发布时间:2008-06-27 10:29:15.0
[求助]org/hibernate/exception/DataException
java.lang.NoClassDefFoundError: org/hibernate/exception/DataException
    at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:615)
    at org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:412)
    at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:377)
    at org.springframework.orm.hibernate3.HibernateTemplate.find(HibernateTemplate.java:840)
    at org.springframework.orm.hibernate3.HibernateTemplate.find(HibernateTemplate.java:836)
    at com.measure.hibernate.user.dao.OperatorDao.findOperator(OperatorDao.java:24)
    at com.measure.service.user.imp.OperatorServiceImp.findOperator(OperatorServiceImp.java:25)
    at com.measure.test.user.dao.OperatorServiceImpTest.testFindOperator(OperatorServiceImpTest.java:53)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at junit.framework.TestCase.runTest(TestCase.java:164)
    at junit.framework.TestCase.runBare(TestCase.java:130)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:120)
    at junit.framework.TestSuite.runTest(TestSuite.java:230)
    at junit.framework.TestSuite.run(TestSuite.java:225)
    at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128)
    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)

造成上述问题的原因有哪些
在线等待
搜索更多相关主题的帖子: exception  hibernate  org  

----------------解决方案--------------------------------------------------------
顶起等待答复
----------------解决方案--------------------------------------------------------
再次顶起,等待答复
----------------解决方案--------------------------------------------------------
  相关解决方案