Solved

Import

Posted on 2004-04-30
7
1,079 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
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
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 Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

747 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now