09 2020 档案

摘要:今天用@Test测试方法报错 java.lang.Exception: Method addUsers should have no parameters 检查发现是自己犯蠢…@Test 声明单元测试是要求void修饰方法且方法无参,不小心多写了个参数… 阅读全文
posted @ 2020-09-26 21:28 ZuiTaiPing 阅读(17) 评论(0) 推荐(0) 编辑
摘要:完整的报错是: ERROR com.alibaba.druid.pool.DruidDataSource - create connection SQLException, url: jdbc:mysql:/xxxxx/xxxxx, errorCode 0, state 01S00 java.sql 阅读全文
posted @ 2020-09-26 13:02 ZuiTaiPing 阅读(29) 评论(0) 推荐(0) 编辑
摘要:不是经常用到,怕忘掉记一下。 tomcat目录下conf/server.xml <Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" /> //port即为端口号 conf:配 阅读全文
posted @ 2020-09-03 16:53 ZuiTaiPing 阅读(3) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示