
spring-boot
饬殇07
标准的IT码农
展开
-
Non-resolvable parent POM for解决
Maven 父子项目编译打包报错: Non-resolvable parent POM for... 原因: 子项目对应的parent: 里面加了标签 <relativePath/> 参详原因是因为加了这个标签后,子类会去对应的路径下找父项目(找不到) 把这个标签去掉就好了 ...原创 2020-02-17 10:30:35 · 23511 阅读 · 6 评论 -
springboot swagger配置,Unable to infer base url
启动时添加注解: @EnableSwagger2原创 2020-02-12 14:52:42 · 203 阅读 · 0 评论 -
spring 不配置datasource
启动时注解添加: @SpringBootApplication(exclude= {DataSourceAutoConfiguration.class})原创 2020-02-12 14:51:23 · 861 阅读 · 0 评论 -
spring boot 日志错误:org.hibernate.validator.internal.engine.ConfigurationImpl
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> <exclusions> <exclusion> ...原创 2019-12-02 19:40:19 · 2921 阅读 · 1 评论