myeclipse下 Generating Artifacts 问题解决

在myeclipse中使用hibernate进行“Hibernate Reverse Engineering”报如下错:
An internal error occurred during: "Generating Artifacts".
Path must include project and resource name: /

找到工程下的 .myhibernatedata

修改文件:

#MyEclipse Hibernate Properties
#Wed Feb 12 11:35:29 CST 2014
sessionFactoryName=com.tf.zhpp3.persist.HibernateSessionFactory
genBasicCompId=false
profile=
daoSFId=
version=3.2
jndiPath=
detectM2M=false
reStrategyClass=
detectO2O=false
springDaoFile=
useJavaTypes=true
keyGenerator=assigned
libInstallFolder=
addLibs2Project=false
genVersionTag=false
sessionFactoryId=
basePersistenceClass=
genAnnotations=false
reSettingsFile=/zhpp3/hibernate.reveng.xml
configFile=/zhpp3/src/hibernate.cfg.xml
createConfigFile=true
addLibs2Classpath=true
baseDaoClass=com.tf.zhpp3.persist.dao.marketprice.BaseHibernateDAO

要根据自己的情况改动

--------------------- 
作者:hiflyyangyongxia3 
来源:CSDN 
原文:https://blog.csdn.net/share_young_yyx/article/details/19112885 
版权声明:本文为博主原创文章,转载请附上博文链接!

你可能感兴趣的:(myeclipse下 Generating Artifacts 问题解决)