• 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.

 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!