`
zhouchaofei2010
  • 浏览: 1097646 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

hibernate反向引擎:Path must include project and resource name: /

 
阅读更多

解决方法:修改.myhibernatedata文件里面的configFile属性

指定hibernate.cfg.xmll路径。格式是/项目名称/src/hibernate.cfg.xml

 

如果提示hibenate功能2.2冲突,修改version 为当前hibernate使用版本

 

.myhibernatedata

#
#Thu Dec 15 14:33:09 CST 2011
genBasicCompId=false
sessionFactoryName=
profile=
daoSFId=
version=3.0
jndiPath=
detectM2M=false
reStrategyClass=
springDaoFile=
useJavaTypes=true
keyGenerator=uuid.string
libInstallFolder=
addLibs2Project=false
genVersionTag=false
sessionFactoryId=
basePersistenceClass=
reSettingsFile=/jxwpgsh/hibernate.reveng.xml
configFile=/jxwpgsh/src/hibernate.cfg.xml
createConfigFile=false
addLibs2Classpath=false

分享到:
评论

相关推荐

    ibatis_hibernate3.5_lib.zip

    http://sourceforge.net/projects/hibernate/files/hibernate3/--3.XX版本 http://sourceforge.net/projects/hibernate/files/hibernate4/--4.XX版本 IBATS下载地址:...

    最新版本的Struts2+Spring4+Hibernate4框架整合

    一、 项目名称:S2316S411H436 项目原型:Struts2.3.16 + Spring4.1.1 + Hibernate4.3.6 ...http://softlayer-sng.dl.sourceforge.net/project/hibernate/hibernate4/4.3.6.Final/hibernate-release-4.3.6.Final.zip

    解决SpringDataJPA报错:org.hibernate.HibernateException: Access to DialectResolutionInfo cannot be null w

    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/...

    hibernate反向工程模板(已修改)

    《Hibernate反向工程模板的深度解析与应用》 在Java Web开发中,Hibernate作为一款强大的对象关系映射(ORM)框架,极大地简化了数据库操作。其中,反向工程(Reverse Engineering)是Hibernate提供的一项功能,它...

    Hibernate反向工程

    【Hibernate反向工程】是数据库模型到Java对象的自动化转换工具,它可以帮助开发者快速地创建出基于Hibernate的实体类和映射文件,极大地提升了开发效率。在这个过程中,开发者无需手动编写大量的DAO(Data Access ...

    SSH实际例子.zip

    MiddleGen-Hibernate: 本书使用版本:2.1 官方网站:http://boss.bekk.no/boss/middlegen/ 下载页面:http://sourceforge.net/project/showfiles.php?group_id=36044 下载地址:...

    工资管理系统

    DOCTYPE hibernate-reverse-engineering SYSTEM "http://hibernate.sourceforge.net/hibernate-reverse-engineering-3.0.dtd" PUBLIC "-//Hibernate/Hibernate Reverse Engineering DTD 3.0//EN"> -<hibernate-...

    Hibernate反向工程详细步骤

    ### Hibernate反向工程详细步骤解析 #### 一、前言 Hibernate是一款优秀的开源持久层框架,它通过将对象关系映射(ORM)技术应用于Java应用,简化了数据库操作的复杂性。而反向工程(Reverse Engineering)是...

    Spring4.0+Hibernate4.0+Struts2.3整合案例

    Spring4.0+Hibernate4.0+Struts2.3整合案例:实现增删改查。 ===================== application.xml: xmlns="http://www.springframework.org/schema/beans" xmlns:xsi=...

    struts2+spring4+hibernate3 Helloworld

    版本差异太难搞了,找半天才找到错误,主要是包冲突 NoSuchMethodError: org.jboss....NoClassDefFoundError: org/hibernate/cache/spi/RegionFactory org.hibernate.cache.spi.RegionFactory 记录下来,以备不时

    Struts2、Hibernate3、Spring的简单配置与使用

    ### Struts2、Hibernate3、Spring的简单配置与使用 ...- **Hibernate**: [http://nchc.dl.sourceforge.net/project/hibernate/hibernate3/3.6.0.Final/hibernate-distribution-3.6.0.Final-dist.zip]...

    hibernate的resource使用

    【hibernate的resource使用】 在Java开发中,特别是在企业级应用中,使用框架如Hibernate和Spring是非常常见的。本文将详细讲解如何在Spring框架中利用`@Resource`注解进行依赖注入,以及它与Hibernate的关系。 `@...

    SpringMVC+Hibernate全注解整合

    ... 对web包中的所有类进行扫描,以完成Bean创建和自动依赖注入的功能 ... <mvc:resources mapping="/resource/**" location="/resource/" /> <mvc:resources mapping="/jsp/**" location="/jsp/" /> </beans>

    hibernate学习一:简单应用1配置文件版

    在IT行业中,Hibernate是一个非常重要的Java持久化框架,它简化了数据库操作,使得开发者可以更加专注于业务逻辑,而不是底层的数据存储。本篇文章将探讨“Hibernate学习一:简单应用1配置文件版”,主要涵盖如何...

    Hibernate 离线的配置方法(hibernate-mapping-3.0.dtd)

    因为Hibernate在读出hbm.xml文件时需要通过网络读取到hibernate-mapping-3.0.dtd 文件。 如果没有网络不能正常工作。 所以提供上述文件。 以及hibernate-mapping-3.0.dtd,hibernate-configuration-3.0.dtd提供下载...

    hibernate反向生成数据库表.doc

    "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"> <hibernate-configuration> <property name="hibernate.connection.url">jdbc:...

    Generating Artifacts问题解决.doc

    java.lang.IllegalArgumentException: Path must include project and resource name: / at org.eclipse.core.runtime.Assert.isLegal(Assert.java:62) at org.eclipse.core.internal.resources.Workspace.new...

    maven spring+spring mvc+hibernate示例

    测试spring mvc ,http://127.0.0.1:8080/zjucas/test/test 测试spring,http://127.0.0.1:8080/zjucas/test/testspring 测试hibernate,http://127.0.0.1:8080/zjucas/test/savePerson

    spring_MVC源码

    05. <param-name>contextConfigLocation</param-name> 06. <param-value>classpath:applicationContext*.xml</param-value> 07. </context-param> 08. <listener> 09. <listener-class>org.springframework.web....

Global site tag (gtag.js) - Google Analytics