Netbeans 8.2 : GlassFish 5 Server, deploy, null false - The module has not been deployed

3k Views Asked by At

I'm a new Java WebEnt student, and I'm having issues deploying some basic Entity Classes and JSF Pages.

I loaded up some things without any edit to the files, and when trying to deploy. I get the "\nbproject\build-imp.xml:1045 The module has not been deployed" message. I checked the GlassFish server and here is the beginning log:

   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.

The rest of the log is pasted below https://pastebin.com/7rXsyRit

EDIT Pastebin to include the XML files in WEB-INF and persistence.xml https://pastebin.com/6kRJyA54

Thanks for the help/advice

1

There are 1 best solutions below

0
On

Yes the issue was <properties/> after I had removed that and tried to deploy, I had gotten that error which following the instructions in this link had resolved.