idea @springbootapplication注解不自动弹出

pom.xml里的代码如下



manual_chapter02
com.itheima
1.0-SNAPSHOT

4.0.0

<artifactId>WrIOCDemo</artifactId>


<dependencies>
    <!--引入Web场景依赖启动器-->
    <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>
    </dependency>

    <dependency>

        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-configuration-processor</artifactId>
        <optional>true</optional>

    </dependency>

</dependencies>

springboot的parent版本呢?你把parent版本加上应该就可以了