Java教程

吴裕雄--天生自然SPRINGBOOT开发实战--处理The import javax.persistence cannot be resolved

本文主要是介绍吴裕雄--天生自然SPRINGBOOT开发实战--处理The import javax.persistence cannot be resolved,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
<parent>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>2.0.0.RELEASE</version>
        <relativePath /> <!-- lookup parent from repository -->
    </parent>

    <dependencies>

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-data-jpa</artifactId>
        </dependency>

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
        </dependency>

        <!-- DevTools in Spring Boot 项目热部署 -->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-devtools</artifactId>
        </dependency>

    </dependencies>

 

这篇关于吴裕雄--天生自然SPRINGBOOT开发实战--处理The import javax.persistence cannot be resolved的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!