2023年9月8日
摘要: Unknown initial character set index '255' received from server. Initial client character 解决方法 mysql连接数据库时报此错误: //String url = "jdbc:mysql://localhost: 阅读全文
posted @ 2023-09-08 18:43 oktokeep 阅读(334) 评论(0) 推荐(0)
摘要: AnnotationTransactionAttributeSource is only available on Java 1.5 and higher和windows同时安装jdk7和jdk8 出错原因: 因为spring core org.springframework.core.JdkVer 阅读全文
posted @ 2023-09-08 18:42 oktokeep 阅读(206) 评论(1) 推荐(0)
摘要: Eclipse build js卡死 Eclipse 编译太卡,耗时太长解决 问题描述:编译停止在js编译中,原来是js的问题 1、首选项-javaScript-Validator-Errors/Warning 里面的 Enable javaScript semantic valudation已经关 阅读全文
posted @ 2023-09-08 18:41 oktokeep 阅读(552) 评论(0) 推荐(0)
摘要: 报错解决 :Resolved [org.springframework.web.bind.MissingServletRequestParameterException 解决方法:RequestParam注解加上required = false属性。这样请求参数可以传null对象。 如果没有加上re 阅读全文
posted @ 2023-09-08 18:40 oktokeep 阅读(2129) 评论(0) 推荐(0)
摘要: ConcurrentModificationException异常原因和解决方法 public static void main(String[] args) { List<Integer> list = new ArrayList<Integer>(){ { add(1); add(2); add 阅读全文
posted @ 2023-09-08 18:39 oktokeep 阅读(933) 评论(0) 推荐(0)
摘要: Java泛型对象在http请求和响应对象中的封装 public class MySystemBaseResVo<T> { //注意:类的后面需要带上<T>,否则数据无法封装 private String err_no; private String err_tips; private T data; 阅读全文
posted @ 2023-09-08 18:38 oktokeep 阅读(206) 评论(0) 推荐(0)