Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

where is javax.sql.Datasource?

843810Jul 8 2003 — edited Jul 26 2003
hi all,

when i try to compile tomcat 4 with JDK1.3.1...

the following error occurred...

-----------------------------------------------

[javac] Compiling 331 source files to /usr/local/jakarta-tomcat-4.1.24-src/catalina/build/server/classes



/usr/local/jakarta-tomcat-4.1.24-src/catalina/src/share/org/apache/catalina/realm/DataSourceRealm.
java:81: Class javax.sql.DataSource not found in import.



[javac] import javax.sql.DataSource;
[javac] ^
[javac] Note: 18 files use or override a deprecated API. Recompile with "-deprecation" for details.
[javac] 1 error, 1 warning

BUILD FAILED

-----------------------------------------------



thanks in advance for your attention.

best rgds,

tongm

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 23 2003
Added on Jul 8 2003
3 comments
561 views