• Post Reply Bookmark Topic Watch Topic
  • New Topic

Type 2 dirvers

 
venu venkata vara prasad
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
while i am using type2 drivers to connect database it says import oracle.jdbc.driver.*; is not found. what is the problem.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have those classes/packages in the classpath?
 
Scott Selikoff
author
Bartender
Posts: 4033
18
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like your compile (Eclipse?) does not have access to the JDBC library. You should consult whatever tool your using to compile it and verify the jar exists and is in the class path.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!