Solved

Import

Posted on 2004-04-30
7
1,082 Views
Last Modified: 2010-04-01
Hi Experts,

Canoot import : import org.apache.fop.*;  Why ?
0
Comment
Question by:fpoyavo
  • 3
  • 2
  • 2
7 Comments
 
LVL 1

Author Comment

by:fpoyavo
ID: 10964129
It works fine on one server and importes "org.apache.fop.apps*" but does not on another one. ??????  
0
 
LVL 13

Expert Comment

by:copyPasteGhost
ID: 10964472
are you sure you have that jar downloaded in within this directory structure

web-inf/lib/JAR FILES

Ghost
0
 
LVL 13

Expert Comment

by:copyPasteGhost
ID: 10964540
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
0
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
LVL 1

Author Comment

by:fpoyavo
ID: 10964709
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 ?
0
 
LVL 13

Expert Comment

by:copyPasteGhost
ID: 10964774
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
0
 
LVL 92

Accepted Solution

by:
objects earned 500 total points
ID: 10965184
does that package exist in the jar?
you can use the following to list the contents of a jar:
jar tvf <jarfilename>
0
 
LVL 92

Expert Comment

by:objects
ID: 10982295
:)
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
library class in java 1 92
authenticate preemptively soap ui option 3 143
Suggestion on WebSite Template Sites 6 101
thymeleaf natural templating vs JSP 2 100
Each year, investment in cloud platforms grows more than 20% (https://www.immun.io/hubfs/Immunio_2016/Content/Marketing/Cloud-Security-Report-2016.pdf?submissionGuid=a8d80a00-6fee-4b85-81db-a4e28f681762) as an increasing number of companies begin to…
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question