- 博客(48)
- 资源 (3)
- 收藏
- 关注
原创 windows 查看端口,杀掉进程
1、查看端口占用C:\Users\sdxhs>netstat -aon|findstr "8088" TCP 0.0.0.0:8088 0.0.0.0:0 LISTENING 19848 TCP [::]:8088 [::]:0 LISTENING 198482、根据进程Id查看进程信息C:\Users\sdxhs>tasklist|fi...
2021-05-08 09:06:50
135
原创 springboot引入外部jar包并打包
<dependency><groupId>net.sf.json-lib</groupId><artifactId>json-lib</artifactId><version>2.4</version><scope>system</scope><systemPath>${project.basedir}/lib/json-lib-2.4.jar</systemPa
2021-04-27 14:32:12
148
原创 host is not allowed to connect mysql server
select host,user from user;update user set host='%' where user='root';grant all privileges on *.* to 'root'@'%';flush privileges;
2021-04-07 18:23:41
134
原创 eclipse 修改项目名称
1、修改.project文件<name> test</name>中的值2、打开.settings文件夹,找到org.eclipse.wst.common.component文件,修改<wb-module deploy-name=" test">,将test修改成你要修改的名字;检查<property name="context-root" value="test"/>中的value值是否为你要修改的名字,因为context-root中的value就是下一步
2020-09-01 15:19:27
306
原创 maven报错web.xml is missing and <failOnMissingWebXml> is set to true
在pom.xml中添加如下内容:<build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <version>2.6</version>...
2020-08-31 14:58:28
79
原创 oracle编码查看
select * from nls_database_parameters where parameter ='NLS_CHARACTERSET';
2020-07-28 15:36:48
135
原创 java mysql插入信息发生唯一索引重复异常解决方法
if(e.getCause() instanceof MySQLIntegrityConstraintViolationException){ return Utils.makeJSONResponseMsg(ResultTo.FAIL_STATUS, "账号重复", null);
2020-06-16 18:09:52
1988
原创 mybatis相关知识
1、<if test="">非空判断<if test="map.standData != null and map.standData != ''"> and STAND_DATA like '%'||#{map.standData,jdbcType=VARCHAR}||'%' </if>2、like oracle...
2020-04-06 17:40:39
130
原创 json数组转为list
1、//解析json数组 System.out.println("productDetail:>"+productDetail); JSONArray jsonArray = JSONArray.fromObject(productDetail); List list = (List)JSONArray.toList...
2019-04-27 14:18:51
1079
原创 html弹框内容返回
1、弹框function selProductSerial(){ var url = ""; var strFeatures = "dialogWidth=660px;dialogHeight=600px;center=yes;middle=yes;help=no;status=no;scroll=no;resizable=no;location=no;";...
2019-04-26 10:32:35
831
原创 getOutputStream() has already been called for this response
原因:释放jsp使用的对象时,调用response.getWritter(),和response.getOutputStream()相冲突的。解决方法:添加out.clear(); out = pageContext.pushBody();
2019-04-03 10:03:45
247
原创 webservice使用
service端:编译发布一下代码。测试地址:http://localhost:9001/Service/ServiceHello?wsdlpackage com.sdx.service;import javax.jws.WebService;import javax.xml.ws.Endpoint;@WebServicepublic class ServiceHello {...
2019-01-29 16:29:39
111
原创 maven项目执行update project后,jdk变为1.5
两种解决办法:1、修改Pom.xml<build> <finalName>lx</finalName> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId&g
2019-01-25 18:20:26
140
excel文件导出、编辑
2016-01-05
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人