可以连接数据库但是不能创表,pom中有如下红线,如何解决

spacer.gif

https://img.mukewang.com/5ba1151100018e1706110538.jpg

红线处分别提示:The managed version is 5.1.46 The artifact is managed in org.springframework.boot:spring-boot-dependencies:2.0.4.RELEASE

                            The managed version is 2.0.4.RELEASE The artifact is managed in org.springframework.boot:spring-boot-starter-parent:[unknown-version]


qq_陈宝山_0
浏览 1888回答 2
2回答

pardon110

缺少一个父继承pom模块 spring-boot-starter-parent,装上就是了。
打开App,查看更多内容
随时随地看视频慕课网APP