spring boot v1.5.8.RELEASE 启动失败
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.example</groupId>
<artifactId>demo</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging>
<name>demo</name>
<description>Demo project for Spring Boot</description>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.5.8.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
. _
/\ / ' _(_) _ \
( ( )__ | ' | '_| | '_ / _` | \
\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |___, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v1.5.8.RELEASE)
2017-10-23 17:14:08.638 INFO 6708 --- [ main] com.example.demo.DemoApplication : Starting DemoApplication on Youme-T450s with PID 6708 (D:EclipseProjectsdemotargetclasses started by Youme in D:EclipseProjectsdemo)
2017-10-23 17:14:08.654 INFO 6708 --- [ main] com.example.demo.DemoApplication : No active profile set, falling back to default profiles: default
2017-10-23 17:14:08.701 INFO 6708 --- [ main] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@17baae6e: startup date [Mon Oct 23 17:14:08 CST 2017]; root of context hierarchy
2017-10-23 17:14:09.647 INFO 6708 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Registering beans for JMX exposure on startup
2017-10-23 17:14:09.662 INFO 6708 --- [ main] com.example.demo.DemoApplication : Started DemoApplication in 1.305 seconds (JVM running for 1.643)
2017-10-23 17:14:09.662 INFO 6708 --- [ Thread-2] s.c.a.AnnotationConfigApplicationContext : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@17baae6e: startup date [Mon Oct 23 17:14:08 CST 2017]; root of context hierarchy
2017-10-23 17:14:09.662 INFO 6708 --- [ Thread-2] o.s.j.e.a.AnnotationMBeanExporter : Unregistering JMX-exposed beans on shutdown
但是换成v1.5.7.RELEASE就好了,很郁闷,Maven清理好多遍没有用。。
楼主有找到原因吗?我也遇到这个问题,其他版本是好的