一个module项目的pom.xml文件中,用spring boot,依赖spring boot的parent,
org.springframework.boot spring-boot-starter-parent 1.4.0.BUILD-SNAPSHOT
但是这个 module 已经有了它的 parent。
请教下,应该怎么办?
不能加入多个。
关于spring-boot,人家官网说了,不一定非要继承spring-boot的parent pom的,人家已经考虑到你可能已经继承了其他parent的情况,并给出了dependency management的方案。
http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#using-boot-maven-without-a-parent