Where to place hibernate.cfg.xml?

前端 未结 9 888
渐次进展
渐次进展 2020-12-02 22:40

My project is like this:

/src/main/java
     -thegamers
         -app.java
         -hibernateutil.java

can someone tell me where to put th

9条回答
  •  忘掉有多难
    2020-12-02 23:06

    If you are using Eclipse, go to Project -> Properties -> Java Build Path -> Source. You can add the new folder where you placed the file, or move the file to the existing folder.

提交回复
热议问题