Win a copy of Kubernetes in Action this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Type 2 dirvers  RSS feed

 
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.
 
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have those classes/packages in the classpath?
 
author
Bartender
Posts: 4093
21
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!