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
@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
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
: 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
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
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
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
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
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