[英]Persistence unit not found but the file is there
我使用netbeans,但编译时遇到问题。
我没有找到名称为“ NotionService”的持久性单元
在这个文件夹中/ home / bob / dev / storm / src / main / webapp / META-INF /
我有context.xml和persistence.xml
任何想法?
您的persistence.xml最终应位于
webapp / WEB-INF / classes / META-INF
不
webapp / META-INF
您的webapp / META-INF位置仍应具有context.xml文件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.