我是Java WebEnt的新学员,在部署一些基本的Entity Classs和JSF Pages时遇到问题。
在加载文件时以及尝试进行部署时,我没有进行任何编辑就加载了一些东西。我收到“ \ nbproject \ build-imp.xml:1045该模块尚未部署”的消息。我检查了GlassFish服务器,这是开始日志:
java.io.IOException: org.xml.sax.SAXParseException; lineNumber: 10;
columnNumber: 18; Deployment descriptor file META-INF/persistence.xml in
archive [classes]. cvc-complex-type.2.4.d: Invalid content was found
starting with element 'properties'. No child element is expected at this point.
其余日志粘贴在下面 https://pastebin.com/7rXsyRit
编辑 Pastebin将XML文件包含在WEB-INF和persistence.xml中 https://pastebin.com/6kRJyA54
感谢帮助/建议