• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Import statement runtime error

 
Ranch Hand
Posts: 219
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 220
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic