
开发问题
StanleyYu
毕业于华中科技大学,曾在多家大型互联网公司任职软件工程师职位,现为某上市公司技术架构师。
展开
-
Tomcat端口被占用解决方法: java.net.BindException: Address already in use: JVM_Bind <null>:8082
在 cmd 中通过命令找到端口对应的 pidnetstat /nao | findstr "8082"打开任务管理器,在进程中,如果未看到 PID 列,可以在 查看 - 选择列 中勾选显示找到对应的 PID 为 1192 的进程,右键结束进程即可。原创 2017-03-07 11:23:01 · 2487 阅读 · 0 评论 -
fastjson中$ref对象重复引用问题解决方法
import java.util.ArrayList;import java.util.List;import com.alibaba.fastjson.JSON;import com.alibaba.fastjson.serializer.SerializerFeature;/** * fastjson中$ref对象重复引用问题 * * 介绍: * FastJson提供了S转载 2017-03-22 15:20:46 · 2242 阅读 · 0 评论 -
tomcat 启动报错:UnsatisfiedLinkError,Apr Protocol
linux 上项目迁移,启动 tomcat 报错,网上找了很多资料都没解决,后来比对 tomcat 的 server.xml 才发现是协议的问题导致!!Caused by: java.lang.UnsatisfiedLinkError: org.apache.tomcat.jni.Pool.create(J)JINFO: The APR based Apache Tomcat Na原创 2017-03-29 17:18:19 · 3207 阅读 · 0 评论 -
jsp: the code is exceeding the 65535 bytes limit
jsp: the code is exceeding the 65535 bytes limit在web.xml中加入以下即可解决: jsp org.apache.jasper.servlet.JspServlet mappedfile false原创 2017-04-19 10:46:26 · 2417 阅读 · 0 评论 -
maven项目部署后没有依赖的jar包
1、部署后,WEB-INF/lib 里如果没有maven依赖的 jar 包,请检查工程部署配置:2、如果没有看到 maven 依赖配置,打开 pom.xml 检查打包类型是否是war:原创 2017-05-31 16:56:36 · 6062 阅读 · 0 评论 -
spring初始化报错
Error creating bean with name 'xxxxxx' initialization of bean failed; nested exception is MalformedParameterizedTypeExceptionException sending context initialized event to listener ins原创 2017-07-18 11:30:31 · 539 阅读 · 0 评论