Bean is expected to be of type 'CourseDAO' but was actually of type 'com.sun.proxy.$Proxy49'

后端 未结 0 641
旧巷少年郎
旧巷少年郎 2020-11-30 01:20

In a training Spring MVC + JPA/Hibernate project, I\'m getting the error in question, after I\'ve changed my configuration.

Originally the DAO class was like this:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题