I do not know why, but my JPA application with v2.1 persistence.xml does not work for me if I'm not connected to the internet, and instead with v2.0 it does not matter if I have a connection or not. Has anyone happened to you?
< persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns: xsi="http://www.w3.org/2001/XMLSchema-instance" xsi: schemaLocation="http://java.sun.com/xml/ns/persistence link " >
< persistence version="2.1" xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns: xsi="http://www.w3.org/2001/XMLSchema-instance" xsi: schemaLocation="http://xmlns.jcp.org/xml/ns/persistence link ">