No problem and thanks a lot! Running standalone worked -- I will figure out the
conflict. Thanks for your time & patience...
From: Pinaki Poddar [via OpenJPA]
[mailto:ml-node+s208410n6841367...@n2.nabble.com]
Sent: Wednesday, September 28, 2011 12:36 PM
To: Barnett, James
Subject: RE: problems
Hi -- my environ:
- jdk 1.6. 0_22 (Sun/Oracle JDK)
- Using Eclipse "Run as Java Application"
Results of 'testParserProperty' invocation:
class org.apache.xerces.jaxp.SAXParserFactoryImpl
class org.apache.xerces.jaxp.SAXParserImpl
org.xml.sax.SAXNotRecognizedException:
http://java.sun.com/xml/j
Here's the output:
Factory: org.apache.xerces.jaxp.SAXParserFactoryImpl
Parser: org.apache.xerces.jaxp.SAXParserImpl
Thanks for your help...
From: Pinaki Poddar [via OpenJPA]
[mailto:ml-node+s208410n6840929...@n2.nabble.com]
Sent: Wednesday, September 28, 2011 10:44 AM
To: Barnett, James
Subje
OK, thanks. But, now the original problem appears again
SAX Parser class ---> org.apache.xerces.jaxp.SAXParserFactoryImpl
javax.persistence.PersistenceException: Explicit persistence provider
error(s) occurred for "event" after trying the following discovered
implementations: org.apache.openjp
Here's the code I'm using -- it's about as basic as it gets
public static void main(String[] args) {
EntityManager em = null;
EntityManagerFactory factory = null;
try
{
factory = Persistence.
createEntityManagerFactory("event