Autowiring fails: Not an managed Type

前端 未结 13 2119
清酒与你
清酒与你 2020-12-02 12:30

I have a big problem in my diploma project and would be very glad if you guys could help me! I made a Maven Multi Module Project and have 3 \"Core-projects\"

  • <
13条回答
  •  孤城傲影
    2020-12-02 13:04

    If anyone is strugling with the same problem I solved it by adding @EntityScan in my main class. Just add your model package to the basePackages property.

提交回复
热议问题