03 2022 档案
摘要:创建logback.xml文件 <configuration> <!-- 格式化输出:%date表示日期,%thread表示线程名,%-5level:级别从左显示5个字符宽度 %msg:日志消息,%n是换行符--> <property name="LOG_PATTERN" value="%date{
阅读全文
摘要:创建实体类 public class User { private Integer id; private String username; private Integer age; public void setId(Integer id) { this.id = id; } public voi
阅读全文
摘要:创建项目 maven配置 <mirror> <id>alimaven</id> <mirrorOf>central</mirrorOf> <name>aliyun maven</name> <url>http://maven.aliyun.com/nexus/content/repositories
阅读全文