Win a copy of Pragmatic AI this week in the Artificial Intelligence forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

import javax.sql.DataSource not found  RSS feed

 
Ranch Hand
Posts: 515
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm setting up my project in WSAD 5.1 in a J2EE app. For whatever reason I'm not getting the line

import javax.sql.DataSource;

to find the DataSource. What jar might I be missing or what setting might I have to tweak.

TIA
 
Dale DeMott
Ranch Hand
Posts: 515
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ahh.. Found it under the j2ee.jar in the standard libraries.

Specifically under the system var WAS_EE_V51 in the lib directory in the j2e3.jar

WAS_EE_V51/lib/j2ee.jar

The WAS_EE_V51 variable is mapped to
C:/Program Files/IBM/WebSphere Studio v5.1.1/runtimes/ee_v51

So for those of you who have the same issue with WSAD 5.1 you can look there to find many of the system jars that you may not be accessing.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!