You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Carlos Araya <el...@valinor.sjsu.edu> on 2000/07/15 18:25:16 UTC
error when running cvs built fop.jar
I downloaded the source through CVS yesterda, built it and moved it to my
classpath. I tried running it and get the following error
java org.apache.fop.apps.CommandLine test.xml stories.pdf
FOP 1.0 [dev]
using SAX parser org.apache.xerces.parsers.SAXParser
using renderer org.apache.fop.render.pdf.PDFRenderer
Exception in thread "main" java.lang.NoClassDefFoundError:
org/w3c/dom/svg/GetSV
GDocument
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:438)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:97
)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:244)
at java.net.URLClassLoader.access$1(URLClassLoader.java:212)
at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:286)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:282)
at java.lang.ClassLoader.loadClass(ClassLoader.java:243)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:120)
at org.apache.fop.apps.Driver.createRenderer(Driver.java:157)
at org.apache.fop.apps.Driver.setRenderer(Driver.java:144)
at org.apache.fop.apps.CommandLine.main(CommandLine.java:166)
Am I doing anything wrong? How can I fix this?
Carlos
--
p |Carlos E. Araya
- |WebCT Project Coordinator - New Media Specialist
G |Alquist Center for Instrucctional Development
email : araya@sjsu.edu (prefered) | Phone (408) 924 2859
Web : http://valinor.sjsu.edu/~elrond/ | fax (408) 924 2439
http://www.silverwolf-net.net (under construction)
finger elrond@valinor.sjsu.edu for PGP key
--
LIFE: You can't control the length, but you can control the depth and
width. -- From Randal Schwartz picture archive
Re: error when running cvs built fop.jar
Posted by Arved Sandstrom <Ar...@chebucto.ns.ca>.
At 10:28 AM 7/16/00 +0200, Fotis Jannidis wrote:
>> This also seems to be a problem with the error reporting and handling in
FOP.
>>
>> And to some extent indicating to people what the required libraries etc.
are.
>
>Quite true. And having the libraries in the classpath isn't enough, but
the user needs the
>correct libraries, but how should he know? What we need is mechanism which
not only
>works structurally (packages etc.) but also takes into account the
temporal dynamics of
>this structural relations. I think some simple versioning mechanism either
via a Version
>class as in Fop or in the manifest file in the jar should be enough.
Couldn't this be a
>apache wide project? So xalan can test whether the necessary version of
xerces is
>there, and you could use this in Ant to check for special versions of the
needed
>libraries.
>Maybe there is some mechanism to achieve this and I just haven't noticed it?
>
>Fotis
>
I agree with both of you. What we are really talking about here is
configuration-management, not just version control.
I'm not a CVS expert so I'll defer to others on whether we can use CVS more
effectively. My read of the Cederqvist CVS manual suggests to me, though,
that CVS specifically isn't targeted at CM, so perhaps some of the stuff we
want to do may have to be hand-built. Sure, maybe we can leverage Ant.
Error/defect-tracking and issues management: Big problem. I have problems
timewise with tracking reported bugs, but my main lack of enthusiasm is due
to the fact that we don't have a set process for assigning responsibility
and tracking and reporting progress. I could be faithfully recording all new
bugreps and issues in a file (and you, Fotis, have obviously been doing
stuff like that already), but how are then following-up, and know who's
doing what?
I've not really explored Bugzilla in the context of Apache because I got the
impression it wasn't actually all that functional at the moment. Correct me
if I'm wrong. If it is actually good-to-go maybe we should use it.
Some of the stuff I'd really like to do requires industrial-strength CM
software like Perforce. :-) Returning to reality, though, let's push this
agenda. Maybe you (Fotis) would like to take charge of looking at what you
talked about?
Arved
Senior Developer
e-plicity.com (www.e-plicity.com)
Halifax, Nova Scotia
"B2B Wireless in Canada's Ocean Playground"
mailing list
Posted by Dave Pawson <da...@dpawson.freeserve.co.uk>.
Could anyone point me to
where I need to go to unsubscribe / re-subscribe please?
Its not on the home page (that I could find)
TIA, DaveP
(changing isp)
Re: error when running cvs built fop.jar
Posted by Fotis Jannidis <fo...@lrz.uni-muenchen.de>.
> This also seems to be a problem with the error reporting and handling in FOP.
>
> And to some extent indicating to people what the required libraries etc. are.
Quite true. And having the libraries in the classpath isn't enough, but the user needs the
correct libraries, but how should he know? What we need is mechanism which not only
works structurally (packages etc.) but also takes into account the temporal dynamics of
this structural relations. I think some simple versioning mechanism either via a Version
class as in Fop or in the manifest file in the jar should be enough. Couldn't this be a
apache wide project? So xalan can test whether the necessary version of xerces is
there, and you could use this in Ant to check for special versions of the needed
libraries.
Maybe there is some mechanism to achieve this and I just haven't noticed it?
Fotis
Re: error when running cvs built fop.jar
Posted by Keiron Liddle <ke...@aftexsw.com>.
Arved Sandstrom wrote:
> We anticipate getting a stable (relatively) release out shortly. This
> release will ensure that our latest stuff works and is easy to use.
>
> We have not communicated as effectively as we could with the user community.
> This is my fault.
>
> Now, dispensing with the high-flown BS, it looks to me like your classpath
> doesn't include Keiron Liddle's lib/w3c.jar. :-)
This also seems to be a problem with the error reporting and handling in FOP.
And to some extent indicating to people what the required libraries etc. are.
These things will only improve over time (usually after sufficient complaints)
Re: error when running cvs built fop.jar
Posted by Arved Sandstrom <Ar...@chebucto.ns.ca>.
Hi, Carlos
We really pounded FOP with some major changes the last few days. I think
that all _developers_ have been aware that from time to time we will do
stuff that effectively breaks FOP for a few days; stuff will compile, but it
won't run quite right. This is the nature of CVS source.
We anticipate getting a stable (relatively) release out shortly. This
release will ensure that our latest stuff works and is easy to use.
We have not communicated as effectively as we could with the user community.
This is my fault.
Now, dispensing with the high-flown BS, it looks to me like your classpath
doesn't include Keiron Liddle's lib/w3c.jar. :-)
Arved
At 09:25 AM 7/15/00 -0700, Carlos Araya wrote:
>I downloaded the source through CVS yesterda, built it and moved it to my
>classpath. I tried running it and get the following error
>
>java org.apache.fop.apps.CommandLine test.xml stories.pdf
>
>FOP 1.0 [dev]
>using SAX parser org.apache.xerces.parsers.SAXParser
>using renderer org.apache.fop.render.pdf.PDFRenderer
>Exception in thread "main" java.lang.NoClassDefFoundError:
>org/w3c/dom/svg/GetSV
>GDocument
> at java.lang.ClassLoader.defineClass0(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:438)
> at
>java.security.SecureClassLoader.defineClass(SecureClassLoader.java:97
>)
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:244)
> at java.net.URLClassLoader.access$1(URLClassLoader.java:212)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:286)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:282)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:243)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:120)
> at org.apache.fop.apps.Driver.createRenderer(Driver.java:157)
> at org.apache.fop.apps.Driver.setRenderer(Driver.java:144)
> at org.apache.fop.apps.CommandLine.main(CommandLine.java:166)
>
>Am I doing anything wrong? How can I fix this?
>
>Carlos
>
>
>--
> p |Carlos E. Araya
> - |WebCT Project Coordinator - New Media Specialist
> G |Alquist Center for Instrucctional Development
>
>email : araya@sjsu.edu (prefered) | Phone (408) 924 2859
>Web : http://valinor.sjsu.edu/~elrond/ | fax (408) 924 2439
> http://www.silverwolf-net.net (under construction)
>
>finger elrond@valinor.sjsu.edu for PGP key
>--
>LIFE: You can't control the length, but you can control the depth and
>width. -- From Randal Schwartz picture archive
>
>
Senior Developer
e-plicity.com (www.e-plicity.com)
Halifax, Nova Scotia
"B2B Wireless in Canada's Ocean Playground"