- 博客(5)
- 收藏
- 关注
原创 java.lang.IllegalArgumentException: No bean specified
java.lang.IllegalArgumentException: No bean specified 在页面里的input元素值Struts会自动把值设置到你的form类里但在设置值时找不到对象=====原因是在获取到值后往对象中封装时对象没有初始化需要 new
2015-11-04 23:35:24 896
原创 org.hibernate.hql.ast.QuerySyntaxException: unexpected token: from near line 1, column 17 [select co
org.hibernate.hql.ast.QuerySyntaxException: unexpected token: from near line 1, column 17 [select count(*) from Object]原因是: public Class getGenericType(){ //获取父类中的泛型类型 Type type = super
2015-11-04 23:34:03 1023
原创 literal does not match format string
literal does not match format string 意思是:文字和格式字符串不匹配 literal不能够和格式化字符串相匹配
2015-11-04 23:23:57 1751
原创 inconsistent datatypes: expected DATE got NUMBER
inconsistent datatypes: expected DATE got NUMBER 错误的中文意思是:矛盾的数据类型,预计的是日期得到的是字符串出现的情况是:在oracle中添加日期类型的数据时,会出现这个类型的错误
2015-11-04 23:19:40 8229
原创 No result defined for action org.strutsOne.web.SumAction and result
No result defined for action org.strutsOne.web.SumAction and result是没有结果定义为这个action 这个类和结果--========原因是因为这个方法:public String execute() throws Exception{ System.out.println(this.name+"\t\t"+this.birth
2015-11-04 23:10:12 332
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人