MissingResourceException

2002-05-07 Thread Ryan.Asleson


I'm trying to upgrade from FOP 0.20.1 to 0.20.3.  I do my development
within the VisualAge 3.5.3 IDE.

When trying to create a PDF using FOP 0.20.3, I get the following error:

java.lang.ExceptionInInitializerError: java.util.MissingResourceException:
Can't find resource for base name
org.apache.batik.util.resources.XMLResourceDescriptor, locale en_US


The PDF is simple.  There is only one graphic (repeated on every page
header) and just text -- no SVG or anything.

I have Batik, LogKit, and Avalon in my classpath as projects, so I don't
think it is a classpath issue, but I'm just not sure.

Any help is greatly appreciated.  Thanks!!





MissingResourceException

2002-05-07 Thread Ryan.Asleson


I'm trying to upgrade from FOP 0.20.1 to 0.20.3.  I'm developing within the
VisualAge for Java 3.5.3 IDE.

When trying to create a PDF using FOP 0.20.3, I get the following error
message:

java.lang.ExceptionInInitializerError: java.util.MissingResourceException:
Can't find resource for base name
org.apache.batik.util.resources.XMLResourceDescriptor, locale en_US


The PDF itself is simple.  There is only one graphic, appearing in the
header of each page, and no SVG graphics, just text.

I have Batik, LogKit, and Avalon in the classpath as projects, so I don't
think it's a classpath issue, but I'm just not sure.

Any help is greatly appreciated.  Thanks!



Re: MissingResourceException

2002-05-07 Thread Ryan.Asleson


I also get this error:

java.lang.NoClassDefFoundError: XMLResourceDescriptor
java.lang.Throwable(java.lang.String) java.lang.Error(java.lang.String)
java.lang.LinkageError(java.lang.String)
java.lang.NoClassDefFoundError(java.lang.String) void
org.apache.fop.svg.SVGElementMapping.setupSVG() void
org.apache.fop.svg.SVGElementMapping.setupSVG() void
org.apache.fop.svg.SVGElementMapping.addToBuilder(org.apache.fop.fo.TreeBuilder)

void
org.apache.fop.apps.Driver.addElementMapping(org.apache.fop.fo.ElementMapping)

void org.apache.fop.apps.Driver.addElementMapping(java.lang.String) void
org.apache.fop.apps.Driver.setupDefaultMappings()
org.apache.fop.apps.Driver()

But I can't find any reference to an  XMLResourceDescriptor  class
anywhere.





 
  [EMAIL PROTECTED]
  
  aul.com To:   [EMAIL PROTECTED]  
   
   cc:  
 
  05/07/2002 09:17 Subject:  
MissingResourceException
  AM
 
  Please respond to 
 
  fop-user  
 

 

 






I'm trying to upgrade from FOP 0.20.1 to 0.20.3.  I'm developing within the
VisualAge for Java 3.5.3 IDE.

When trying to create a PDF using FOP 0.20.3, I get the following error
message:

java.lang.ExceptionInInitializerError: java.util.MissingResourceException:
Can't find resource for base name
org.apache.batik.util.resources.XMLResourceDescriptor, locale en_US


The PDF itself is simple.  There is only one graphic, appearing in the
header of each page, and no SVG graphics, just text.

I have Batik, LogKit, and Avalon in the classpath as projects, so I don't
think it's a classpath issue, but I'm just not sure.

Any help is greatly appreciated.  Thanks!







Re: MissingResourceException

2002-05-07 Thread J.Pietschmann
[EMAIL PROTECTED] wrote:
When trying to create a PDF using FOP 0.20.3, I get the following error:
java.lang.ExceptionInInitializerError: java.util.MissingResourceException:
Can't find resource for base name
org.apache.batik.util.resources.XMLResourceDescriptor, locale en_US
The PDF is simple.  There is only one graphic (repeated on every page
header) and just text -- no SVG or anything.
FOP tries to initialize parts of Batik nevertheless, unless
you do a custom build without Batik. Well, perhaps it is
sufficient to remove the SVG mappings from the config.xml
file in the jar.
It still ought to be either a classpath problem or a version
clash.
J.Pietschmann