![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SpringdataJPA报错
X_PENG123
这个作者很懒,什么都没留下…
展开
-
SpringDataJPA单元测试报错:Could not open JPA EntityManager for transaction;
org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is java.lang.NoSuchMethodError: org.hibernate.Session.getFlushMode(...原创 2019-05-29 16:27:18 · 5378 阅读 · 0 评论 -
No tests found matching 【junit 异常】
今天在配置完Spring data JPA环境后,想做一个简单的单元测试,但出现了一个奇怪的错误。 错误大致如下: java.lang.Exceptipn No tests found matching [ExactMatcher:fDisplayNametes (ExactMatcher:fDisplayametestcm.s LeadingldentifierMaterlasm =com.pe...原创 2019-05-29 22:47:37 · 257 阅读 · 0 评论