javax.persistence.PersistenceException : [PersistenceUnit: vodPersistenceUnit] class or package not found

后端 未结 4 1465
情话喂你
情话喂你 2020-12-19 17:50

I got the following error :

Error creating bean with name \'org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0\' de

4条回答
  •  佛祖请我去吃肉
    2020-12-19 17:56

    I was running into this exception when trying to run a Spring Boot application in WebLogic 12.1.3 In the dependency tree I found out spring-tx was being included from one of the common project libraries. Our particular app only calls web service so there is no need for database access. So in the library dependency I added:

     org.springframeworkspring-tx
    

提交回复
热议问题