有必要记录一下,纠结了一个下午的问题 eclipse开发j2ee 错误:entity class not found
我用的是eclipse整合SSH框架的纯手工开发,今天一下午老是报错!错误:entity class not found : com.jnjw.model.xxxx
反复检查了几遍xxx.hbm.xml和xxxx.java两个文件,还有hibernate-mapping没有任何拼写或者是其它的低级错误!
最后解决办法: 我把先把项目remove掉,然后启动tomcat,把项目再添加进去!然后再restart Tomcat;奇迹发生了,没错!
不知道是什么原因,看到的朋友这篇随笔有知道的朋友指点一下,不胜感激!
One of the best feeling in the world is when you walk among in the code lines!
"Build the boat, wait here where the water will be come! After that, you will be success!"
I trust my self , trust the technology, trust the beautiful tomorrow for me !