Error thrown at execution suddenly:
org.xml.sax.SAXParseExceptionpublicId:
http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd; lineNumber:
1; columnNumber: 1; Deployment descriptor file META-INF/persistence.xml
in archive [classes]. Premature end of file.
curl -v http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd
* Trying 2600:1402:f000:392::f6b...
* TCP_NODELAY set
* Connected to xmlns.jcp.org (2600:1402:f000:392::f6b) port 80 (#0)
> GET /xml/ns/persistence/persistence_2_1.xsd HTTP/1.1
> Host: xmlns.jcp.org
> User-Agent: curl/7.54.0
> Accept: */*
>
< HTTP/1.1 301 Moved Permanently
< Server: AkamaiGHost
< Content-Length: 0
< Location: https://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd
< Cache-Control: max-age=0
< Expires: Sun, 23 Jun 2019 23:21:20 GMT
< Date: Sun, 23 Jun 2019 23:21:20 GMT
< Connection: keep-alive
<
* Connection #0 to host xmlns.jcp.org left intact
This has not been a problem until today, and it appears this file is no longer available, but it is the standard reference for JPA persistence xml files:
HTTP/1.1 301 Moved Permanently
Does anyone else have this problem all the sudden. I cannot trace this to any change and I am experiencing this locally and on the server.