This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes package javax.sql not found error 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 » Databases » JDBC
Bookmark "package javax.sql not found error" Watch "package javax.sql not found error" New topic
Author

package javax.sql not found error

Soniya
Greenhorn

Joined: Oct 12, 2004
Posts: 4
Hi,

I am using weblogic 8.1 and weblogic.jdbc.oracle.OracleDriver

I am getting the following error when I try to import javax.sql package and use DataSource in my code.

"package javax.sql does not exist"

I have included weblogic.jar in the classpath.
What else do I need to include?

Thanks a lot
Kishore Nair
Greenhorn

Joined: Nov 30, 2004
Posts: 10
rt.jar from your jre/lib directory


Never resign to your fate
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30138
    
150

"Soniya",
We're pleased to have you here with us in the JDBC forum, but there are a few rules that need to be followed, and one is that proper names are required. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks,
Jeanne
Forum Bartender


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30138
    
150

j2ee.jar also contains the package
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: package javax.sql not found error
 
Similar Threads
problem using CachedRowSet for scrolling
javax.sql
Connection pool
Please! How do I use javax.sql in WSAD?
javax.sql - JBuilder6