Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们有一个带有 ejbs 和东西的 maven 项目。当我运行构建并创建耳朵时,persistence.xml 不会包含在耳朵中。这里有什么问题?
您可以在\src\Main\application\META-INF下添加文件 persistence.xml ,然后该文件将添加到您耳朵的 META-INF 文件夹下。
问候,