• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic