上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 34 下一页
摘要: 1.下载地址: https://git-scm.com/downloads 选择系统。 根据电脑系统及自己需要选择版本。我选择了64位普通版。 双击打开下载好的exe。 安装。 安装完成。启用git测试。 参考资料:https://www.itheima.com/news/20211208/1637 阅读全文
posted @ 2022-04-12 18:53 临易 阅读(29) 评论(0) 推荐(0) 编辑
摘要: 0.在SQLyog中创建数据库表users。 1.增加一个User实体类。在entity包中新建一个User类。增加属性,注解。 package com.qfedu.springboot.demo.entity; import lombok.AllArgsConstructor; import lo 阅读全文
posted @ 2022-04-12 17:42 临易 阅读(198) 评论(0) 推荐(0) 编辑
摘要: 项目环境: jdk1.8 idea 2020.03 maven 3.8.4 mybatis 3.5.9 spring 4.3.6 tomcat 9.0.50 mySQL 5.7 1.创建项目 选择依赖: 创建项目成功。 删除多余文件 springboot项目基本结构 2.在springboot主配置 阅读全文
posted @ 2022-04-11 18:01 临易 阅读(93) 评论(0) 推荐(0) 编辑
摘要: 参考资料: 阿里巴巴Java开发手册 https://www.cntofu.com/book/78/index.html 一、编程规约 ##(一)命名风格 【强制】代码中的命名均不能以下划线或美元符号开始,也不能以下划线或美元符号结束。 反例:_name / __name / $name / nam 阅读全文
posted @ 2022-04-09 15:10 临易 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 参考资料:视频 https://www.bilibili.com/video/BV1ft4y1X7p6?p=4&spm_id_from=pageDriver 阅读全文
posted @ 2022-04-07 23:37 临易 阅读(63) 评论(0) 推荐(1) 编辑
摘要: Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.的解决方法 问题截图: 解决方法: 在pom.xml中的依赖中加入myba 阅读全文
posted @ 2022-03-22 20:36 临易 阅读(2143) 评论(0) 推荐(0) 编辑
摘要: 用于读取xml配置文件的工具类XMLUtil: XMLUtil.java: import org.w3c.dom.*; import javax.xml.parsers.*; import org.xml.sax.SAXException; import java.io.*; public clas 阅读全文
posted @ 2022-03-21 22:12 临易 阅读(320) 评论(0) 推荐(0) 编辑
摘要: 方法一:application.yml spring: datasource: username: root password: 123456 url: jdbc:mysql://localhost:3306/mybatis?useUnicode=true&characterEncoding=utf 阅读全文
posted @ 2022-03-21 22:08 临易 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 一、实验目的和要求: 2.建造者模式的运用 (1)案例背景: 计算机组装工厂可以将CPU,内存,硬盘,主机,显示器等硬件设备组装在一起构成一台完整的计算机,且构成的计算机可以是笔记本电脑,也可以是台式机,还可以是不提供显示器的服务器主机。对于用户来言,无需关心计算机的组成设备和组装过程,工厂返回给用 阅读全文
posted @ 2022-03-17 21:33 临易 阅读(672) 评论(0) 推荐(0) 编辑
摘要: 一、实验目的和要求: 1. 抽象工厂模式的运用 (1)案例背景: 计算机包含内存(RAM),CPU等硬件设备 ,根据如图所示的“产品等级结构-产品族示意图”,使用抽象工厂模式实现计算机设备创建过程并绘制类图(课本105页第二题) (2)实现步骤: 根据题意,使用抽象工厂模式并画出类图,类图中应包含一 阅读全文
posted @ 2022-03-17 21:30 临易 阅读(269) 评论(0) 推荐(0) 编辑
上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 34 下一页