springboot对比此报错参照其他答案修改的都改过了还是一样,大神们帮帮我

图片说明
2019-07-21 02:39:06.123 INFO 7408 --- [ main] com.example.demo.DemoApplication : Starting DemoApplication on DESKTOP-B3RA5JE with PID 7408 (E:\pengjun\demo\target\classes started by pengjun in E:\pengjun\demo)
2019-07-21 02:39:06.126 INFO 7408 --- [ main] com.example.demo.DemoApplication : No active profile set, falling back to default profiles: default
2019-07-21 02:39:06.696 INFO 7408 --- [ main] com.example.demo.DemoApplication : Started DemoApplication in 0.854 seconds (JVM running for 1.522)

<?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>
    <parent>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>2.1.6.RELEASE</version>
        <relativePath /> <!-- lookup parent from repository -->
    </parent>
    <groupId>com.example</groupId>
    <artifactId>demo</artifactId>
    <version>0.0.1-SNAPSHOT</version>
    <name>demo</name>
    <description>Demo project for Spring Boot</description>

    <properties>
        <java.version>1.8</java.version>
        <maven-jar-plugin.version>3.1.1</maven-jar-plugin.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>

使用sts本地启动springboot helloworld,No active profile set, falling back to default profiles: default
按照搜到的同样问题都是添加 spring-boot-starter-web这个,但我一直就有这个依赖,还是报一样的问题

使用sts默认创建的

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问