温馨提示×

maven配置

发布时间:2020-07-18 07:53:41 阅读:282 作者:xiaosawuhen 栏目:开发技术

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

    <!-- 继承父包 -->

    <parent>

        <groupId>org.springframework.boot</groupId>

        <artifactId>spring-boot-starter-parent</artifactId>

        <version>1.5.3.RELEASE</version>

        <relativePath></relativePath>

    </parent>

    <!-- spring-boot的web启动的jar包 -->

    <dependencies>

        <dependency>

            <groupId>org.springframework.boot</groupId>

            <artifactId>spring-boot-starter</artifactId>

        </dependency>

        <dependency>

            <groupId>org.springframework.boot</groupId>

            <artifactId>spring-boot-starter-web</artifactId>

        </dependency>

        <dependency>

            <groupId>org.springframework.boot</groupId>

            <artifactId>spring-boot-starter-data-jpa</artifactId>

        </dependency>

        

        

        <!--mysql驱动-->

        <dependency>

            <groupId>mysql</groupId>

            <artifactId>mysql-connector-java</artifactId>

        </dependency>

        

        <!--thymeleaf模板jar,是很不错的html数据传递取值,类似jsp的jstl-->

<!--         <dependency> -->

<!--             <groupId>org.springframework.boot</groupId> -->

<!--             <artifactId>spring-boot-starter-thymeleaf</artifactId> -->

<!--         </dependency> -->

        <dependency>

        

        <dependency>  

            <groupId>org.springframework.boot</groupId>  

            <artifactId>spring-boot-starter-security</artifactId>  

        </dependency>  

        

</project>

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。