12 2021 档案
摘要:核心内容 自动装配 pom.xml sprng-boot-dependencies:核心依赖 写入依赖时不需要写版本号 启动器 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-start
阅读全文
摘要:勾选web依赖 <parent><!-- 远程父项目--> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.6.2</version>
阅读全文
摘要:# 清除node.js的cache:$ sudo npm cache clean -f# 安装 n 工具,专门用来管理node.js版本的工具$ sudo npm install -g n# 安装最新版本的node.js$ sudo n stable# 安装最新版本的npm$ sudo npm in
阅读全文
摘要:1、修改配置文件 添加数据源 jdbc.driver=com.mysql.cj.jdbc.Driverjdbc.url=jdbc:mysql://localhost:3306/ssmbuild?useSSL=true&useUnicode=true&characterEncoding=utf-8jd
阅读全文
摘要:创建spring配置文件 applicationContext.xml <?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http:/
阅读全文
摘要:<!-- 资源导出--> <build> <resources> <resource> <!-- 配置能够访问的路径--> <directory>src/main/resources</directory> <includes> <include>**/*.xml</include> <includ
阅读全文
摘要:3、导入依赖 <!-- 依赖--> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.13.2</version> <scope>test</scope> </
阅读全文
摘要:1、设计数据库 CREATE TABLE `books`(`bookID` INT NOT NULL AUTO_INCREMENT COMMENT '书id',`bookName` VARCHAR(100) NOT NULL COMMENT '书名',`bookCounts` INT NOT NUL
阅读全文
摘要:网页访问形式不按照 url?name=value&...形式 而是 url/value1/value2 通过提交的方式不同,映射查询不同的控制器 有 特点: 1、简洁:简单 2、高效:支持缓存 3、安全:隐藏了name,传递的参数名
阅读全文

浙公网安备 33010602011771号