Exception
文章平均质量分 69
fuyan123
这个作者很懒,什么都没留下…
展开
-
在eclipse 中配置resin,找不到resin.conf文件的问题
在myeclipse6.0中配置RESIN时, 出现了一些小错误, 导致了不能正常启动RESIN, 错误提示:unknown argument 'Files\resin3\conf\resin.conf'usage: Resin [-conf resin.conf] [-server id]查了一些资料,没有合理的解释. 无意中发现了'Files\resin3\c...原创 2011-07-13 16:03:22 · 586 阅读 · 0 评论 -
SSH 类库问题 java.lang.NoClassDefFoundError: Could not initialize clas...
由MyEclipse自动导入的Spring,Hibernate,Struts 类库发布到Tomcat发现问题:java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer随之 sessionFactory bean 也就创建失败究其原因是 cglib-2....原创 2011-07-13 16:50:43 · 135 阅读 · 0 评论 -
Ignored XML validation warning_ URI was not reported to parser for entity
你可以检查一下你的classpath当中是不是有一个名为“gnujaxp.jar”的jar包,如果有,请干掉他,你会神清气爽~~~原创 2011-07-13 16:52:10 · 195 阅读 · 0 评论 -
org.hibernate.hql.ast.QuerySyntaxException: unexpected token: * near line 1,
错误原因:HQL语言和SQL语言混合使用的结果解决办法:两种只能选择一种来使用 org.hibernate.hql.ast.QuerySyntaxException: unexpected token: * near line 1, column 8 [select * from tbl_orderproduct where o_orderid in (select o_ord...原创 2011-07-13 16:55:52 · 825 阅读 · 0 评论 -
JDBC 连接SQLServer数据库(Failed to load the sqljdbc_auth.dll)
今天在Eclips环境下编写JSP页面访问SQLServer2008数据库,相当不容易。首先采用JDBC访问SQL2008数据库,先要注册驱动器(即指定数据库引擎)Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");参数最好不要拼写错误,否则,绝对连不上。我已开始在网上找了一个访问SQLServer的注...原创 2011-07-13 16:57:06 · 726 阅读 · 0 评论 -
关于Bad version number in .class file的问题
一个令我郁闷了一天的Bad version number in .class file的问题,终于解决了。错误:java.lang.UnsupportedClassVersionError: Bad version number in .class fileat java.lang.ClassLoader.defineClass1(Native Method)at java.l...原创 2011-07-13 16:59:29 · 165 阅读 · 0 评论 -
Unable to instantiate default tuplizer [org.hibernate.tuple.entity.PojoEntityTup
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionfactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method ...原创 2011-07-13 17:00:32 · 81 阅读 · 0 评论