Solved

Import

Posted on 2004-04-30
7
1,083 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
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Suggested Solutions

The business world is becoming increasingly integrated with tech. It’s not just for a select few anymore — but what about if you have a small business? It may be easier than you think to integrate technology into your small business, and it’s likely…
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

821 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