在Eclipse编辑spring-boot出现问题
2017-09-07 10:18
549 查看
Plugin org.springframework.boot:spring-boot-maven-plugin:1.3.0.BUILD-SNAPSHOT or one of its dependencies could not
be resolved: Could not find artifact org.springframework.boot:spring-boot-maven-plugin:jar:1.3.0.BUILD-SNAPSHOT刚开始出现了这个问题,然后在pom.xml最后添加一段就好了
记得在spring-boot的文档是这样说的这一段内容(you don't need this if you are using a .RELEASE version)
如果遇到找不到该版本的话就将version删掉,默认获取最新版本
be resolved: Could not find artifact org.springframework.boot:spring-boot-maven-plugin:jar:1.3.0.BUILD-SNAPSHOT刚开始出现了这个问题,然后在pom.xml最后添加一段就好了
<repositories> <repository> <id>spring-snapshots</id> <url>http://repo.spring.io/snapshot</url> <snapshots><enabled>true</enabled></snapshots> </repository> <repository> <id>spring-milestones</id> <url>http://repo.spring.io/milestone</url> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>spring-snapshots</id> <url>http://repo.spring.io/snapshot</url> </pluginRepository> <pluginRepository> <id>spring-milestones</id> <url>http://repo.spring.io/milestone</url> </pluginRepository> </pluginRepositories>
记得在spring-boot的文档是这样说的这一段内容(you don't need this if you are using a .RELEASE version)
如果遇到找不到该版本的话就将version删掉,默认获取最新版本
相关文章推荐
- 我们使用eclipse编辑spring配置文件时,经常没有提示,而无从下手时。 现在我们就来解决没有提示的问题。
- Spring-boot+JPA+Hibernate项目修改数据库MySQL为Oracle出现的问题
- velocity使用——SpringBoot版本由1.5.9变为1.3.5出现问题
- springboot出现SpringApplication无法导入包的问题
- Angular2 和springboot 整合后 url 解析出现的问题解决方案
- 配置spring boot项目可能出现的问题
- 解决eclipse创建spring boot项目加载不到application.properties配置文件的问题
- 关于Spring boot中读取属性配置文件出现中文乱码的问题的解决
- springboot整合springSecurity出现的问题,post,delete,put无法使用
- 解决maven同步的eclipse中的springboot项目无法启动问题
- springboot项目打包后运行出现问题解决办法
- Maven使用package打包Spring Boot时出现:Unable to find a single main class from the following candidates的问题解决
- <springBoot>(一)(入门篇)eclipse上安装spring tool suite时出现No software site found at jar是怎么回事
- 关于spring boot整合mybatis使用oracle数据库出现could not load:oracle.jdbc.driver.OracleDriver问题的终极解决方案
- Eclipse使用Debug模式调试Spring Boot项目时跳转到exitCurrentThread的问题
- 关于spring boot自动注入出现Consider defining a bean of type 'xxx' in your configuration问题解决方案 标签: spring 201
- 集成jcaptcha到spring-boot+maven项目中时出现java.lang.NoSuchMethodError: com.jhlabs.image.WaterFilter的问题的解决方法
- Eclipse下编辑J2ME小程序,出现模拟器一闪就过得问题
- 关于spring boot自动注入出现Consider defining a bean of type 'xxx' in your configuration问题解决方案
- boke练习: springboot整合springSecurity出现的问题,传递csrf