当用hibernate reverse engineering而无法选择java src folde

选择JAVA src Folder后的Browse按钮后弹出一个灰色的对话框。如下图所示:当用hibernate reverse engineering而无法选择java src folde_第1张图片

经过仔细的对比发现在.project这个文件有问题,缺少了下面红色的配置

<buildCommand>
            <name>com.genuitec.eclipse.hibernate.HibernateBuilder</name>
            <arguments>
            </arguments>
</buildCommand>

<natures>

         <nature>com.genuitec.eclipse.hibernate.hibernatenature</nature>
          <nature>com.genuitec.eclipse.ast.deploy.core.deploymentnature</nature>
          <nature>com.genuitec.eclipse.j2eedt.core.webnature</nature>
          <nature>org.eclipse.jdt.core.javanature</nature>
 </natures>

你可能感兴趣的:(当用hibernate reverse engineering而无法选择java src folde)