File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes IDEs, Version Control and other tools and the fly likes Import statement runtime error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Import statement runtime error" Watch "Import statement runtime error" New topic

Import statement runtime error

meena latha
Ranch Hand

Joined: Jan 24, 2005
Posts: 219
Hi all.
I am using eclipse and ant for my application which runs in weblogic server.

My problem is that i am not able to run my application.
During runtime it is giving build failed.The error is because it it not recognizing the import statement.What should i basically check and correct to get a successful build.

Thanks in advance
Rajendar Goud
Ranch Hand

Joined: Mar 06, 2002
Posts: 220
Hi Ramya,
Am not sure whether i got your question right or not ,but
you creating the build using eclipse tool ?
well then make sure you had imported all the necessary jars in the build file ,ie ant script.

The imports are missing means you had missed out some classpath which needs to be set for the project in eclipse.
In eclipse,go to the tab

Project - properties- java build path - libraries

and add the necessary libraries .

I agree. Here's the link:
subject: Import statement runtime error
It's not a secret anymore!