Re: Error while deploying bundle using XML parser

2014-06-16 Thread Rajbir Saini
Thanks JB. Importing javax.xml.parsers solved the problem. I was under the impression that having JRE export in jre.properties should be enough. By the way, what is the purpose of exports in the jre.properties? Regards, Raj On Tuesday 17 June 2014 01:00 AM, Jean-Baptiste Onofré wrote: Hi, T

Re: Error while deploying bundle using XML parser

2014-06-16 Thread Rajbir Saini
@yahoo.com] Sent: Monday, June 16, 2014 1:58 PM To: user@karaf.apache.org Subject: Re: Error while deploying bundle using XML parser No, I did not. Do I need to import javax.* packages? I use Eclipse PDE with Tycho and Maven and none of them complained about missing packages during build. Raj On

Re: Error while deploying bundle using XML parser

2014-06-16 Thread Jean-Baptiste Onofré
Hi, Try to import the javax.xml.parsers package in your bundle, or as least enable the dynamic import. It should help. Regards JB On 06/16/2014 08:21 PM, Rajbir Saini wrote: Hi, I am a bundle which uses XML DOM parsing. While installing this bundle in Karaf 3.0.1, system throws java.lang.No

Re: Error while deploying bundle using XML parser

2014-06-16 Thread Rajbir Saini
: Error while deploying bundle using XML parser Simple question. Did you import package javax.xml.parsers -Original Message- From: Rajbir Saini [mailto:rajbsa...@yahoo.com] Sent: Monday, June 16, 2014 1:21 PM To: user@karaf.apache.org Subject: Error while deploying bundle using XML parser

RE: Error while deploying bundle using XML parser

2014-06-16 Thread Leschke, Scott
mport package javax.xml.parsers > > -Original Message- > From: Rajbir Saini [mailto:rajbsa...@yahoo.com] > Sent: Monday, June 16, 2014 1:21 PM > To: user@karaf.apache.org > Subject: Error while deploying bundle using XML parser > > Hi, > > I am a bundle which uses XM

Re: Error while deploying bundle using XML parser

2014-06-16 Thread Rajbir Saini
Message- From: Rajbir Saini [mailto:rajbsa...@yahoo.com] Sent: Monday, June 16, 2014 1:21 PM To: user@karaf.apache.org Subject: Error while deploying bundle using XML parser Hi, I am a bundle which uses XML DOM parsing. While installing this bundle in Karaf 3.0.1, system throws

RE: Error while deploying bundle using XML parser

2014-06-16 Thread Leschke, Scott
araf.apache.org'; 'raj.sa...@viithiisys.com' Subject: RE: Error while deploying bundle using XML parser Simple question. Did you import package javax.xml.parsers -Original Message- From: Rajbir Saini [mailto:rajbsa...@yahoo.com] Sent: Monday, June 16, 2014 1:21 PM To: user@k

RE: Error while deploying bundle using XML parser

2014-06-16 Thread Leschke, Scott
Simple question. Did you import package javax.xml.parsers -Original Message- From: Rajbir Saini [mailto:rajbsa...@yahoo.com] Sent: Monday, June 16, 2014 1:21 PM To: user@karaf.apache.org Subject: Error while deploying bundle using XML parser Hi, I am a bundle which uses XML DOM

Error while deploying bundle using XML parser

2014-06-16 Thread Rajbir Saini
Hi, I am a bundle which uses XML DOM parsing. While installing this bundle in Karaf 3.0.1, system throws java.lang.NoClassDefFoundError: javax/xml/parsers/ParserConfigurationException. I am using Oracle JDK 1.7 and javax/xml/parsers is part of the JRE. I looked into the jre.properties and jav