You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Jody Schofield <js...@ca.ibm.com> on 2004/02/17 21:55:31 UTC
SAXParser not found?
Greetings,
I'm getting the following exception and was wondering if anyone might now
anything about it?
java.io.IOException: SAX2 driver class org.apache.xerces.parsers.SAXParser
not found
at
org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown
Source)
at
org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown
Source)
at
org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Unknown
Source)
at
org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Unknown
Source)
at
org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(Unknown
Source)
I'm not sure what SAX2 driver is? Which version of xerces contains it?
Any and all help appreciated.
regards,
Jody
Re: Batik Bean
Posted by Jamie <ja...@exponent.co.uk>.
Danny
See:
http://xml.apache.org/batik/install.html#jarFiles
This diagram will tell you which jar files are needed to use JSVGCanvas. If
you plan to include scripting it is basically all of them with a few
exceptions. I have quite happily added JSVGCanvas bean to component palettes
in NetBeans, JBuilder and SunOneStudio.
You probably don't need to add Xerces or the other W3C XML jars (they are
usually included in the IDE already) but I do anyway because I am unsure how
Batik selects its parser.
----- Original Message -----
From: "Danny Browne" <da...@eircom.net>
To: "Batik Users" <ba...@xml.apache.org>
Sent: Wednesday, February 18, 2004 4:32 PM
Subject: Re: Batik Bean
> Bibek
>
> When i try to install the bean using batik.jar an error message appears
> saying the specified jar file does not contain any information about a
java
> bean. as far as i can tell the batik.jar file only contains a manifest
> document which refrences all other jar's. i'm using SunOneStudio 4 CE is
> this IDE too old? what is the puprose if bean.mf this contains the correct
> java bean info but as far as i can tell is not located in any of the
jar's?
> do i have the wrong version of batik?? I'm sorry all this is so messy. I'm
> jsut really stuck.
>
> i have xml-batik toolkit 1.5 binary dist, and batik 1.5 tools and apps??
my
> jdk is J2SDK1.4.1
>
> ----- Original Message -----
> From: "Bibek Sahu" <sc...@dodds.net>
> To: "Batik Users" <ba...@xml.apache.org>
> Sent: Wednesday, February 18, 2004 3:33 PM
> Subject: Re: Batik Bean
>
>
> >
> > <batik-dir>/batik.jar
> >
> > Good luck. :-)
> > - Bibek
> >
> > On Wed, 18 Feb 2004, Danny Browne wrote:
> >
> > > Can anyone tell me how or where i find the jar file containing the
> JSVGCanvas Bean? I need to install the bean in SunOneStudio/NetBeans to
> build a GUI. Do i need to make the bean myself?? if so how do i do that?
> > >
> > > Regards
> > >
> > > Danny Browne
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> > For additional commands, e-mail: batik-users-help@xml.apache.org
> >
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-users-help@xml.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org
Re: Batik Bean
Posted by Bibek Sahu <sc...@dodds.net>.
Danny,
I am not at all familiar with SunOneStudio, so I can't help you there. I
use NetBeans, personally. As far as JSVGCanvas, the class itself is
located in <batik-dir>/lib/batik-swing.jar. Note that you will need a lot
of the other jars as well, since JSVGCanvas depends on classes in many of
them.
Good luck,
Bibek
On Wed, 18 Feb 2004, Danny Browne wrote:
> Bibek
>
> When i try to install the bean using batik.jar an error message appears
> saying the specified jar file does not contain any information about a java
> bean. as far as i can tell the batik.jar file only contains a manifest
> document which refrences all other jar's. i'm using SunOneStudio 4 CE is
> this IDE too old? what is the puprose if bean.mf this contains the correct
> java bean info but as far as i can tell is not located in any of the jar's?
> do i have the wrong version of batik?? I'm sorry all this is so messy. I'm
> jsut really stuck.
>
> i have xml-batik toolkit 1.5 binary dist, and batik 1.5 tools and apps?? my
> jdk is J2SDK1.4.1
>
> ----- Original Message -----
> From: "Bibek Sahu" <sc...@dodds.net>
> To: "Batik Users" <ba...@xml.apache.org>
> Sent: Wednesday, February 18, 2004 3:33 PM
> Subject: Re: Batik Bean
>
>
> >
> > <batik-dir>/batik.jar
> >
> > Good luck. :-)
> > - Bibek
> >
> > On Wed, 18 Feb 2004, Danny Browne wrote:
> >
> > > Can anyone tell me how or where i find the jar file containing the
> JSVGCanvas Bean? I need to install the bean in SunOneStudio/NetBeans to
> build a GUI. Do i need to make the bean myself?? if so how do i do that?
> > >
> > > Regards
> > >
> > > Danny Browne
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> > For additional commands, e-mail: batik-users-help@xml.apache.org
> >
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-users-help@xml.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org
Re: Batik Bean
Posted by Danny Browne <da...@eircom.net>.
Bibek
When i try to install the bean using batik.jar an error message appears
saying the specified jar file does not contain any information about a java
bean. as far as i can tell the batik.jar file only contains a manifest
document which refrences all other jar's. i'm using SunOneStudio 4 CE is
this IDE too old? what is the puprose if bean.mf this contains the correct
java bean info but as far as i can tell is not located in any of the jar's?
do i have the wrong version of batik?? I'm sorry all this is so messy. I'm
jsut really stuck.
i have xml-batik toolkit 1.5 binary dist, and batik 1.5 tools and apps?? my
jdk is J2SDK1.4.1
----- Original Message -----
From: "Bibek Sahu" <sc...@dodds.net>
To: "Batik Users" <ba...@xml.apache.org>
Sent: Wednesday, February 18, 2004 3:33 PM
Subject: Re: Batik Bean
>
> <batik-dir>/batik.jar
>
> Good luck. :-)
> - Bibek
>
> On Wed, 18 Feb 2004, Danny Browne wrote:
>
> > Can anyone tell me how or where i find the jar file containing the
JSVGCanvas Bean? I need to install the bean in SunOneStudio/NetBeans to
build a GUI. Do i need to make the bean myself?? if so how do i do that?
> >
> > Regards
> >
> > Danny Browne
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-users-help@xml.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org
Re: Batik Bean
Posted by Bibek Sahu <sc...@dodds.net>.
<batik-dir>/batik.jar
Good luck. :-)
- Bibek
On Wed, 18 Feb 2004, Danny Browne wrote:
> Can anyone tell me how or where i find the jar file containing the JSVGCanvas Bean? I need to install the bean in SunOneStudio/NetBeans to build a GUI. Do i need to make the bean myself?? if so how do i do that?
>
> Regards
>
> Danny Browne
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org
Batik Bean
Posted by Danny Browne <da...@eircom.net>.
Can anyone tell me how or where i find the jar file containing the JSVGCanvas Bean? I need to install the bean in SunOneStudio/NetBeans to build a GUI. Do i need to make the bean myself?? if so how do i do that?
Regards
Danny Browne
Re: SAXParser not found?
Posted by Danny Browne <da...@eircom.net>.
Jody
You need to include more than just the xerces jar file when you compile. try including batik-parser.jar and batik-css.jar (you will find these in the batik1.5 directory -provided that is you have downlaoded and installed the batik tools and apps which include the squiggle bowser)
hope that helps.
Danny Browne
----- Original Message -----
From: Jody Schofield
To: Batik Users
Sent: Tuesday, February 17, 2004 9:12 PM
Subject: Re: SAXParser not found?
I'm using Batik 1.5, J2SDK 1.4.2_01, xerces 4.0.13
Jody,
This is similar to a problem I had - what environment are you running in?
-Judah
Please respond to "Batik Users" <ba...@xml.apache.org>
To: batik-users@xml.apache.org
cc:
Subject: SAXParser not found?
Greetings,
I'm getting the following exception and was wondering if anyone might now anything about it?
java.io.IOException: SAX2 driver class org.apache.xerces.parsers.SAXParser not found
at org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown Source)
at org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown Source)
at org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Unknown Source)
at org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Unknown Source)
at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(Unknown Source)
I'm not sure what SAX2 driver is? Which version of xerces contains it?
Any and all help appreciated.
regards,
Jody
Re: SAXParser not found?
Posted by Jody Schofield <js...@ca.ibm.com>.
I'm using Batik 1.5, J2SDK 1.4.2_01, xerces 4.0.13
Jody,
This is similar to a problem I had - what environment are you running in?
-Judah
Please respond to "Batik Users" <ba...@xml.apache.org>
To: batik-users@xml.apache.org
cc:
Subject: SAXParser not found?
Greetings,
I'm getting the following exception and was wondering if anyone might now
anything about it?
java.io.IOException: SAX2 driver class org.apache.xerces.parsers.SAXParser
not found
at
org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown
Source)
at
org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown
Source)
at
org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Unknown
Source)
at
org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Unknown
Source)
at
org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(Unknown
Source)
I'm not sure what SAX2 driver is? Which version of xerces contains it?
Any and all help appreciated.
regards,
Jody
Re: SAXParser not found?
Posted by Judah Diament <dj...@us.ibm.com>.
Jody,
This is similar to a problem I had - what environment are you running in?
-Judah
Please respond to "Batik Users" <ba...@xml.apache.org>
To: batik-users@xml.apache.org
cc:
Subject: SAXParser not found?
Greetings,
I'm getting the following exception and was wondering if anyone might now
anything about it?
java.io.IOException: SAX2 driver class org.apache.xerces.parsers.SAXParser
not found
at
org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown
Source)
at
org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown
Source)
at
org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Unknown
Source)
at
org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Unknown
Source)
at
org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(Unknown
Source)
I'm not sure what SAX2 driver is? Which version of xerces contains it?
Any and all help appreciated.
regards,
Jody