Link to home
Start Free TrialLog in
Avatar of fpoyavo
fpoyavoFlag for United States of America

asked on

Import

Hi Experts,

Canoot import : import org.apache.fop.*;  Why ?
Avatar of fpoyavo
fpoyavo
Flag of United States of America image

ASKER

It works fine on one server and importes "org.apache.fop.apps*" but does not on another one. ??????  
are you sure you have that jar downloaded in within this directory structure

web-inf/lib/JAR FILES

Ghost
make sure the files that you have are .class files..

import requires that you specifiy where the .class files are..

I tried to find somewhere to download the files and I was unsuccessful but I did notice that all the files are .java files these must be complied before imported.

also a reason why the server imports this is org.apache.fop.apps because the apps floder contains .class files whereas the
org.apache.fop does not.

Cheers,
Ghost
Avatar of fpoyavo

ASKER

I have copied the whole content of WEB-INF and tried to use "org.apache.fop.apps" from one server to another but ....nothing

What are these jars that are a part of org.apache.fop.apps ? Which directory of WEB-INF they are in ?

/opt/myapp/tomcat/webapps/WEB-INF or in individual one /opt/myapp/tomcat/webapps/someapp/WEB-INF ?
I just searched the web

http://www.unixsoft.org/apache/xml/fop/

I found this...I'm not sure it's the right one..
but if you want to do some imports make sure you have the fies that you want to import.
and you need the .class files of the .java classes that you want to import :)

hope that helps you out,
Ghost
ASKER CERTIFIED SOLUTION
Avatar of Mick Barry
Mick Barry
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial