<dependencies> <dependency> <groupId>org.scala-lang</groupId> <artifactId>scala-library</artifactId> <version>2.11.8</version> </dependency> <dependen ...
分类:
其他好文 时间:
2019-12-02 13:38:48
阅读次数:
249
导入依赖 将所有的依赖都导入到父工程当中,供所有的子工程使用; <dependencies> <!-- https://mvnrepository.com/artifact/org.springframework/spring-beans --> <dependency> <groupId>org. ...
分类:
其他好文 时间:
2019-12-01 09:21:32
阅读次数:
85
1.数据库结构 2.项目结构 3.pom.xml文件 <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-jdbc</artifactId> < ...
分类:
编程语言 时间:
2019-12-01 09:17:14
阅读次数:
98
将redis作为缓存 <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dep ...
分类:
其他好文 时间:
2019-11-27 20:38:10
阅读次数:
85
构建项目及配置 pom.xml <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-mongodb-reactive</artifac ...
分类:
数据库 时间:
2019-11-25 15:08:40
阅读次数:
74
1.创建一个模块Eureka_user_service_2000和一个Eureka_order_serice_3000的两个客服端(下面只有一个的,自己改一下就可以了) 在pom中 <dependencies> <dependency> <groupId>org.springframework.cl ...
分类:
编程语言 时间:
2019-11-25 09:55:28
阅读次数:
72
2.1一样先导包 <!--使用shiro需要先导包--> <dependencies> <!--shiro的核心包--> <dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-core</artifactId> <ver ...
分类:
其他好文 时间:
2019-11-24 12:19:49
阅读次数:
66
1、创建SpringBoot项目第一种方式:在SpringBoot官方提供的Web页面创建(地址:https://start.spring.io)界面如下:在上面界面中填入project、语言、SpringBoot的版本、项目元信息(group、Artifact),然后在Dependencies中输... ...
分类:
编程语言 时间:
2019-11-24 12:02:14
阅读次数:
178
今天在提交代码的时候发现github提示了这样的错误: We found potential security vulnerabilities in your dependencies. Only the owner of this repository can see this message. ...
分类:
其他好文 时间:
2019-11-18 18:16:46
阅读次数:
282
1.创建一个空白的maven项目servlet,作为父工程,以后就在这个父工程中创建module,删除src,导入依赖 <dependencies> <dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api ...
分类:
其他好文 时间:
2019-11-18 09:49:20
阅读次数:
60