Unable to Import persistence.xml within applicationContext.xml file

后端 未结 3 1536
既然无缘
既然无缘 2021-01-17 02:58

I\'m using eclipse juno IDE I have Java application which have src folder. within the folder I have:

1) applicationContext.xml

2) persistence.xml

I a

3条回答
  •  长情又很酷
    2021-01-17 03:11

    Ok, I Solved this..

    What i did is to put the persistence.xml file within the META-INF folder as vikdor and axtavt suggested. but in the application context i didn't import any file.. just wrote this

    
    

    and its work!

提交回复
热议问题