You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by sushilmuppidi <sm...@ctepl.com> on 2008/11/27 14:11:21 UTC

Problem in Creating PDF with jars

Hi,
Iam sending the error log while creating pdf using fop .
How to restrict the jars if classes related to more than one jar

java.lang.IncompatibleClassChangeError: Implementing class
	at java.lang.ClassLoader.defineClass0(Native Method)
	at java.lang.ClassLoader.defineClass(Unknown Source)
	at java.security.SecureClassLoader.defineClass(Unknown Source)
	at java.net.URLClassLoader.defineClass(Unknown Source)
	at java.net.URLClassLoader.access$100(Unknown Source)
	at java.net.URLClassLoader$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Unknown Source)
	at
org.apache.fop.fo.ElementMappingRegistry.addElementMapping(ElementMappingRegistry.java:95)
	at
org.apache.fop.fo.ElementMappingRegistry.setupDefaultMappings(ElementMappingRegistry.java:77)
	at
org.apache.fop.fo.ElementMappingRegistry.<init>(ElementMappingRegistry.java:64)
	at org.apache.fop.apps.FopFactory.<init>(FopFactory.java:134)
	at org.apache.fop.apps.FopFactory.newInstance(FopFactory.java:144)
-- 
View this message in context: http://www.nabble.com/Problem-in-Creating-PDF-with-jars-tp20719042p20719042.html
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: Problem in Creating PDF with jars

Posted by "J.Pietschmann" <j3...@yahoo.de>.
On 27.11.2008 14:11, sushilmuppidi wrote:
> java.lang.IncompatibleClassChangeError: Implementing class

The most likely reason is that you have another, incompatible
FOP jar in the classpath. If you are using FOP in an application
server, look also into the other application installed there, as
well as the directories which implicitely inject jars into the
classpath, and remove all but one instance of the FOP jar.

J.Pietschmann

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org