• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using the namespace, http://xmlns.jcp.org/xml/ns/persistence/ causes an error.

 
Arash Babak
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

When i use "http://xmlns.jcp.org/xml/ns/persistence", i get these errors:

It's referred to my persistence.xml file:

And this is the DD file:

And context.xml:


Web Server: Apache TomEE Web Profile 1.7.0
Framework: JSF
Libraries: PrimeFaces 5.0, Eclipselink 2.5, Myfaces 2.2.4
Platform : JDK 1.8
IDE: Netbeans 8.0


I have to use "http://java.sun.com/xml/ns/persistence" url to get rid of the error.
Considering deprecation of "http://java.sun.com/xml/ns/persistence", What is my mistake?

Grateful in advance.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic