• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Import statement runtime error

 
meena latha
Ranch Hand
Posts: 219
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 220
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 .



rgds,
Raj
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic