Oracle
 sql >> Database >  >> RDS >> Oracle

java.sql.SQLException:nessun driver adatto trovato jdbc:oracle:thin

Questo errore dipende dalla struttura dell'edificio. L'aggiunta del file jar alla cartella lib non farà nulla. Dovresti aggiungere il file jar al tuo percorso di classe. Se stai costruendo il tuo progetto tramite IDE, diciamo eclipse, dovresti aggiungerlo al file .classpath. Se stai usando Idea dovresti aggiungerlo al tuo file .iml e così via. Se stai costruendo il tuo progetto da ant dovresti aggiungere l'indirizzo jar al tuo file build.xml. Suppongo che tu non stia usando Maven.