摘要: application.yml中加上 # springBoot+Mybatis 控制台打印SQL语句 (方式一) logging: level: com.zoctan.api.mapper : debug # 配置slq打印日志 (方式二) mybatis-plus: configuration: 阅读全文
posted @ 2020-05-15 21:31 会偷袭的猫 阅读(8292) 评论(0) 推荐(1) 编辑
摘要: 1.在pom.xml下添加Junit依赖: <!--添加junit环境的jar包--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> 阅读全文
posted @ 2020-05-15 20:51 会偷袭的猫 阅读(426) 评论(0) 推荐(0) 编辑
摘要: 1.输入命令查看是否有openJdk,有的话就卸载掉 rpm -qa|grep java 删除安装包的命令: rpm -e --nodeps [包名], 比如: rpm -e --nodeps java-1.8.0-openjdk-headless-1.8.0.65-3.b17.el7.x86_64 阅读全文
posted @ 2020-05-15 20:28 会偷袭的猫 阅读(231) 评论(0) 推荐(0) 编辑