接受param

依赖

<dependency>
    <groupId>commons-beanutils</groupId>
    <artifactId>commons-beanutils</artifactId>
    <version>1.8.0</version>
</dependency>
<!-- https://mvnrepository.com/artifact/commons-collections/commons-collections -->
<dependency>
    <groupId>commons-collections</groupId>
    <artifactId>commons-collections</artifactId>
    <version>3.2.1</version>
</dependency>
<!-- https://mvnrepository.com/artifact/commons-lang/commons-lang -->
<dependency>
    <groupId>commons-lang</groupId>
    <artifactId>commons-lang</artifactId>
    <version>2.6</version>
</dependency>

db connect

乱码

Eclipse

https://blog.csdn.net/lanmuhhh2015/article/details/79366872

IDEA

-Dfile.encoding=UTF-8

image-20211208171410980

image-20211208171432720

eclipse maven

eclipse maven配置: https://www.cnblogs.com/pskcoco/p/13033226.html

配置系统环境:https://jingyan.baidu.com/article/ca41422f6a6baf1eae99ed9b.html

<localRepository>D:\Environment\apache-maven-3.6.1\repo</localRepository>

<mirror>    
    <id>nexus-aliyun</id>    
    <mirrorOf>*</mirrorOf>    
    <name>Nexus aliyun</name>    
    <url>http://maven.aliyun.com/nexus/content/groups/public</url>    
</mirror>