摘要:
做项目用到hibernate和struts时。启动tomcat出现这样的错误:Unable to load configuration. - action - file:/D:/workspace/Ecplipse/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/OA/WEB-INF/classes/struts.xml:7:38at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.ja 阅读全文
摘要:
1.下载hibernate的jar包http://sourceforge.net/projects/hibernate/files/hibernate4/2.加载hibernate的jar包到lib目录下在hibernate-release-4.1.2.Final\hibernate-release-4.1.2.Final\lib\required目录下3.创建hibernate的配置文件hibernate.cfg.xml 放在项目的src目录下<hibernate-configuration><session-factory> <property name=&q 阅读全文