2021年5月

springboot + mybatis整合及pagehelper分页 本文链接:https://blog.csdn.net/he446242377/article/details/92062619 流程: 一. 配置pom.xml文件 二. 配置application.yml文件 三. 程序启动类中使用@MapperScan()注解指定mapper(dao)接口路径 四. 使用pagehelper实现分页 一、配置pom.xml文件 <!-- boot整合web模块的依赖,此依赖中包含了springmvc的依赖 --> <dependency> ...

在web.xml中添加编码过滤器仍不能解决乱码。 在tomcat安装目录的conf/server.xml中修改配置如下: <Connector URIEncoding="UTF-8" port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" /> 如果是eclipse环境,要在Servers项目下的tomcat目录下找到server.xml修改,才能生效。

//禁用win10兼容性遥测 sc delete DiagTrack sc delete dmwappushservice echo "" > C:\\ProgramData\\Microsoft\\Diagnosis\\ETLLogs\\AutoLogger\\AutoLogger-Diagtrack-Listener.etl reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection /v AllowTelemetry /t REG_DWORD /d 0 /f 去掉c:\windows\system32\Co...