引发类型为“System.ComponentModel.Design.ExceptionCollection”的异常

摘要: 上周用DevComponents.DonNetBar做的界面,今天打开时弹出 引发类型为“System.ComponentModel.Design.ExceptionCollection”的异常,参考上面的做法: 重新编译一次后,再打开,或者关闭vs后 我是关闭VS后,清理后重新编译,好了 参考文章 阅读全文
posted @ 2021-10-26 13:24 tlf凌风 阅读(137) 评论(0) 推荐(0) 编辑

java.lang.ClassCastException: java.lang.Short cannot be cast to java.lang.String(Short类型无法强转成String类型)

摘要: 有一行Java代码如下: String code1 = (String)qTable1.getValueAt(i, 0); 这是一个Java的图形界面获取表格中值的代码,其中qTable1.getValue(i, 0)是获取表格中i行0列的一个数据值,获取到的值是Short类型,但是我想让它变成我所 阅读全文
posted @ 2019-04-12 09:23 tlf凌风 阅读(1179) 评论(0) 推荐(0) 编辑

SpringMVC的controller层接收来自jsp页面通过<a href="/user/userUpdateInfo/>的中文乱码问题

摘要: 这种情况是,jsp页面的中文正常显示,数据的中文也是正常显示,但是在Controller层接收到的中文是乱码,如下图所示: 解决方法:在Controller层对前台传递的中文乱码进行处理,将它转换成utf-8,转换代码: 乱码在红色箭头处被转换成功 阅读全文
posted @ 2019-04-09 14:51 tlf凌风 阅读(450) 评论(0) 推荐(0) 编辑

The request sent by the client was syntactically incorrect.

摘要: HTTP Status 400 - type Status report message description The request sent by the client was syntactically incorrect. Apache Tomcat/7.0.77 description: 阅读全文
posted @ 2019-04-01 11:14 tlf凌风 阅读(290) 评论(0) 推荐(0) 编辑