Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Ant build.xml with Eclipse - Class Not Found: JDBC driver
Hi - I have a build.xml to test a sql connection to my db box using
ant. i added the ojjdbc14.jar and classes12.jar to my build path and i
can see it copied into my lib dir. still i get the error. Can anyone
help. Need this to progress to next step.
<sql userid="${bookstore.user}" password="${bookstore.password}"
driver="${bookstore.driver}" url="$ {bookstore.url}"> <classpath refid="test.classpath" /> ; </sql>
i used to echo to print out all the variables above and all seems right..
bookstore.drive=oracle.jdbc.driver.OracleDriver bookstore.url=jdbc:oracle:thin:@<host>:<port>:<instance>
Thanks in advance for the help.
![]() |
![]() |