FopFactory.newInstance()命令中出现Apache fop-0.95错误

时间:2009-03-25 21:08:38

标签: java apache apache-fop

I am using Apache fop-0.95 to build pdf files from a JSP web application on IBM iSeries V5R4 using Websphere 6.0.  Everything works perfect in my development using Websphere Development Studio client.  When I put the application on the server, I get an error at this line.

    FopFactory fopFactory = FopFactory.newInstance();

The error is:

    java.lang.UnsatisfiedLinkError: javax/imageio/ImageIO

Does anyone know how I can fix this error?

All of the fop class files are part of the EAR file.  The files were installed to the projects \WEB-INF\lib directory.  I have added the fop jar files to the classpath, using the admin console. 

I am running IBM WebSphere Application Server - Express, 6.0.2.9

IBM iSeries V5R4上的内部版本号:cf90614.22

1 个答案:

答案 0 :(得分:1)

这是一个比Java类路径更低的问题。有些图书馆可能会丢失。也许PASE(http://www-03.ibm.com/servers/enable/site/porting/iseries/pase/overview.html)因为你提到iSeries而丢失了。也可以看看: http://ecommunity.groupintelligence.com/websphere/forums/archive/index.php/t-1932.html