javax.persistence.PersistenceException - JPA+Hibernate
I am new to JPA, when I tried to run the following code, it showing error as " cvc-elt.1: Cannot find the declaration of element 'persistence'. " I cant able to fix this error, could u pls help me out to solve this issue. Cheers Rajesh Persistance.xml <?xml version="1.0" encoding="UTF-8"?> <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 http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd"> <persistence-unit name="jpa" transaction-type="JTA">