- 博客(16)
- 资源 (9)
- 问答 (1)
- 收藏
- 关注
原创 poi处理excel文档时,与lombok的@Accessors(chain = true)注解冲突
poi在反射封装数据时会判断set方法的返回是不是Void,加上@Accessors会造成NoSuchMethodException异常
2024-10-29 19:07:27
554
1
原创 项目发布到 maven 私服报 Return code is: 400
错误如下:[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project tanhz-core: Failed to retrieve remote metadata com.tanhz:tanhz-core:1.0-SNAP...
2020-01-16 10:47:45
959
1
原创 redis批量删除指定db key
./redis-cli -p端口-n DB -a '密码' keys "前缀*"|xargs ./redis-cli -p 端口 -n DB -a '密码' del
2019-10-22 15:48:55
1769
原创 使用docker构建tomcat并运行
https://hub.docker.com/_/tomcat 选择tomcat与jdk版本,并复制dockerfile内容创建Dockerfile文件并粘贴内容 构建镜像查看镜像创建容器查看容器日志常用命令//docker 启动service docker start//构建容器 -v 挂载目录dock...
2019-10-10 17:42:43
367
原创 EL表达式问题:javax.el.PropertyNotFoundException: Property 'post' not readable on type java.lang.Boolean
type Exception reportmessage javax.el.PropertyNotFoundException: Property 'post' not readable on type java.lang.Booleandescription The server encountered an internal error that prevented it fr
2014-10-21 15:31:21
5839
原创 Jquery与Jquery mobile几种渲染方式
Jquery与Jquery mobile几种渲染方式listview: $("ul").listview("refresh");select menu: $("select").selectmenu("refresh");Checkboxes or Radio: $("checkboxes").checkbo
2014-01-06 11:21:51
883
原创 httpclient上传图片与参数,处理中文乱码
public static void main(String[] args) throws Exception {String url="http://192.168.100.234:6888/aic/aicexi/commoncase/writ/WritUploadAction.jsp";HttpClient client = new HttpClient();PostMethod pos =
2013-10-30 17:32:25
907
原创 解决Hibernate报java.net.SocketException:Software caused connection abort:socket write error
错误堆栈:错误原因:hibernate自带连接在长时间没有请求连接时会关闭连接对象,当你在次请求时会报无可用连接,原因他关闭连接了,却没有释放连接解决方法,改用c3p0连接.下面是Spring bean的配置
2012-09-25 10:01:32
2389
原创 Struts2配置返回json
Struts.xml配置 /login.jsp msg jsonList.* jsonObj.* extends 也可写成 extends="struts-default,json-default" json-default继承 struts-defa
2012-09-07 10:35:28
528
原创 JSP 使用<%@include%>报Duplicate local variable path 错误 解决方法
错误提示:Multiple annotations found at this line: - Duplicate local variable path - Duplicate local variable basePath重复变量,因为%@include%>引进的是代码,把代码包含进来,而新进JSP时,会默认生成String path = request.g
2012-08-22 09:25:01
16401
1
原创 JSP SELECT 下拉框 默认值选择数据库查出来的值
在JSP页面默认显示,数据库的值 selected="selected" >10 selected="selected">15 selected="selected">20 selected="selected">25 selected="selected">30
2012-08-21 17:02:34
7719
win2003局域网怎样文件共享
2011-07-07
java架构优化闲谈
2021-06-03
TA创建的收藏夹 TA关注的收藏夹
TA关注的人