“No persistence unit with name 'product' found”

后端 未结 4 1618
攒了一身酷
攒了一身酷 2021-01-05 00:53

I recently completed this tutorial: \"http://static.springsource.org/docs/Spring-MVC-step-by-step/\", but now I want it to work with Hibernate and annotations. I know I\'m c

4条回答
  •  离开以前
    2021-01-05 01:24

    i have the same problem. But when you use the ide(for example eclipse) and configure your server in the ide. When you asosiate the piece and restart the server always have the same error because detected the persistence unit is used, you need delete that part of the server and deploy to the oldway. Enter to the console and install the peace of you project and works!!

    And the other is when you check the diagnostic in wls you need said who user is the owner of the jdbc, only select and check (for example, AdminServer) and save and check again!!

    :D

提交回复
热议问题