*
The moose likes Beginning Java and the fly likes Finding a class file from an import statement Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Finding a class file from an import statement" Watch "Finding a class file from an import statement" New topic
Author

Finding a class file from an import statement

Natesh Kurup
Greenhorn

Joined: Nov 23, 2004
Posts: 19
hi,

i have an import statement
import org.apache.turbine.util.DynamicURI; which is giving me build error as it cannot find the appropriate jar file in the classpath ( I think so ).

Can anybody pls suggest where can i find the concerned jar file ? also generally how do i find the related jar file from an import statement similar like one above

Thanks in advance.

Natesh
Shakthi Anuradha
Greenhorn

Joined: Nov 16, 2004
Posts: 5
Hi see the class that you try to use declaraed as a public if not that may be the errer
Natesh Kurup
Greenhorn

Joined: Nov 23, 2004
Posts: 19
hi,

thanks for your reply. actually it is public and it might be in one of the many jar files. i need to figure out which jar file is it ?

any idea how do i do it ?

Thanks in advance

Natesh
louise rochford
Ranch Hand

Joined: Apr 04, 2002
Posts: 119
When I have a problem like this I stick the missing fully qualified class name into google & let it tell me where it is
In this case, it's in the jakarta-turbine-2 2.3.1.jar, which is can be found at the jakarta website.

regards,
Louise
Natesh Kurup
Greenhorn

Joined: Nov 23, 2004
Posts: 19
thanks a ton
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
Bookmark this: http://www.jarhoo.com/ I just entered the "DynamicURI" part and got:

Amazing!
[ December 03, 2004: Message edited by: Stan James ]

A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Saf Syed
Greenhorn

Joined: Dec 03, 2004
Posts: 3
Thanks Stan; jarhoo is a wonderful tool to find the class.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Finding a class file from an import statement
 
Similar Threads
Which jar contains net.sf.hibernate.cfg ????
Unsatisfied link error in NetBeans but not from browser or command line
ch10 q11
JSP and JavaBeans Help
Import jar file to JBuilder