项目启动后,访问报 object is not an instance of declaring class 错误
2015-01-14 09:29
1031 查看
项目一直启动没有问题,昨天新建了一个功能模块(包含webc,po ,bizc),之后再启动项目,后台不报错,但项目启动后点击访问,就会报错object is not an instance of declaring class,,,查看问题了一天,都没有解决。因为后台日志不报错,无从查找。。。。(推测为Spring启动时加载hibernateDao时出错)
第二天早上有重启了,在console文本框中发现错误:hibernate的java类映射文件hibernate..xml中的java类路径错误,未发现java类。。。。修改之后,启动正常。
这个错误,主要是写错了路径。 还有就是后台日志竟然不报错,没办法 总之以后注意吧。。。
第二天早上有重启了,在console文本框中发现错误:hibernate的java类映射文件hibernate..xml中的java类路径错误,未发现java类。。。。修改之后,启动正常。
这个错误,主要是写错了路径。 还有就是后台日志竟然不报错,没办法 总之以后注意吧。。。
相关文章推荐
- java反射错误:object is not an instance of declaring class
- Xfile 错误记录 object is not an instance of declaring class
- object is not an instance of declaring class 反射异常
- 报错:object is not an instance of declaring class
- object is not an instance of declaring class&argument type mismatch
- object is not an instance of declaring class 反射异常
- object is not an instance of declaring class
- HIbernate 3.2 java.lang.IllegalArgumentException: object is not an instance of declaring class
- 异常笔记(2)--object is not an instance of declaring class while invoking public abstract java.lang.Long
- object is not an instance of declaring class
- 反射获取方法时:object is not an instance of declaring class
- spring的 object is not an instance of declaring class
- object is not an instance of declaring class while invoking public abstract…的解决
- java.lang.IllegalArgumentException: object is not an instance of declaring class
- 使用反射报异常:object is not an instance of declaring class解决方案
- java.lang.IllegalArgumentException: object is not an instance of declaring class
- hibernate 4 object is not an instance of declaring class
- java axis调用cxf 的坑object is not an instance of declaring class while invoking public
- nested exception is java.lang.IllegalArgumentException: object is not an instance of declaring class
- Java反射:object is not an instance of declaring c...