Spring Boot and @ComponentScan between two jars

前端 未结 2 1213
暖寄归人
暖寄归人 2020-12-30 02:55

I have 2 projects. One is a DAL project that does CRUD operations on a neo4j DB using spring neo4j APIs . This project is packaged as a jar and included in project #2. Proje

2条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-30 03:11

    Had this same issue for a short while, then @EntityScan did the trick for me, just as adviced here - Spring Boot w/ JPA: move @Entity to different package.

    Hope that helps

提交回复
热议问题