MySQConnextor Class not found obwohl BuildPfad konfiguriert

Dave

Aktives Mitglied
Hallo,

also ich habe in meinem Programm eine Anbindung an die DB gemacht nur findet er den MySQL Connector net, obwohl ich in im Buildpfad eingebunden habe

Fehlermeldung:
Code:
java.lang.ClassNotFoundException: com.mysql.jdbc.Driver

beweise (unten)

weiß einer was es sein könnte?
 
Zuletzt bearbeitet von einem Moderator:

Tharsonius

Bekanntes Mitglied
Bei mir im Eclipse sieht das etwas anders aus.... kann an einer anderen Version liegen...

Wie genau hast Du das denn eingebunden?

Ich habe den MySQL Connector als jar in einen Unterordner im Projektverzeichnis liegen und hab dann mittels "Add JARs" eingebunden.
 
Zuletzt bearbeitet:

Dave

Aktives Mitglied
ich habe von mysql.org mit dne JDBC-Connector gedownloadet als zip, dann in den Projektordner kopiert eclipse eingeschaltet BuildPath Conf. und add jars un die ausgewählt.
 

Dave

Aktives Mitglied
ich habe shco überlegt ob es vllt. damit was zutuhn hat dass ich unter Mac entwickle den unter Windows klapts bei mir auf der Arbeit.
 
Ähnliche Java Themen
  Titel Forum Antworten Datum
torresbig MySQL hibernate - could not resolve entity class ... (Datenbank Anfänger) Datenbankprogrammierung 19
H Java Class zum komprimieren von Jpeg-Images zum Einbinden in Oracle DB - Bild als blob (in und out) Datenbankprogrammierung 23
D MySQL Transaktionen in Entity-Class Datenbankprogrammierung 15
S Table per Class Datenbankprogrammierung 2
temi Wie kann ich "Class" in einer DB speichern? Datenbankprogrammierung 2
T Hibernate und inner class Datenbankprogrammierung 0
P GWT Applikation-The method forName(String) is undefined for the type Class Datenbankprogrammierung 10
algebraiker Eclipse RCP - no persistent classes found for query class Datenbankprogrammierung 4
S MSSQL JDBC "Driver class not found" Datenbankprogrammierung 9
T org.hibernate.MappingException: entity class not found Datenbankprogrammierung 4
I MySQL MATLAB: Class.forName wirft ClassNotFoundException Datenbankprogrammierung 4
S Firebird NoClassDefFoundError trotz erfolgreichem Class.forName(...) unter Linux Datenbankprogrammierung 5
H Fat Jar Export: Could not find class-path entry for 'C:Java/jdk/mysql-connector-java- Datenbankprogrammierung 3
M ClassNotFoundException bei Class.forName(xx) Datenbankprogrammierung 6
N Class not found Exception Datenbankprogrammierung 2
B java.lang.Class.forName0(Native Method) Datenbankprogrammierung 3
B SQLite + jdbc + IntelliJ-Consumer = "No suitable driver found..." Datenbankprogrammierung 15
Maxim6394 JPA: IllegalStateException: During synchronization a new object was found through a relationship that was not marked cascade PERSIST Datenbankprogrammierung 1
Kirby.exe SQL-Exception: Column not found Datenbankprogrammierung 6
D MySQL No Suitable Drivers found Datenbankprogrammierung 4
J RESTServie + JDBC + No suitable driver found for jdbc Datenbankprogrammierung 4
D HSQLDB user lacks privilege or object not found Datenbankprogrammierung 6
M User lacks privilege or object not found Datenbankprogrammierung 3
B No suitable driver found for jdbc:oracle:thin:@$HOST:$PORT:$SID Datenbankprogrammierung 7
W No data found: SQL-Abfrage funktioniert nur beim Debuggen Datenbankprogrammierung 3
K JDBC Driver not found Datenbankprogrammierung 10
F GWT und Hibernate - gwt.dev.Compler not found Datenbankprogrammierung 3
AMStyles No suitable driver found for Datenbankprogrammierung 4
A No suitable driver found for jdbc:microsoft:sqlserver... Datenbankprogrammierung 9
N Derby/JavaDB No suitable driver found Datenbankprogrammierung 14
I java.sql.SQLException: No data found Datenbankprogrammierung 3
StYxXx Microsoft-SQL: No suitable driver found Datenbankprogrammierung 11
N Hsqldb und text tables source not found Datenbankprogrammierung 5
G Das tolle "No suitable driver found" Datenbankprogrammierung 4
B Source not found // Java MySQL (eclipse) Datenbankprogrammierung 4
P Fehlermeldung "source not found" Datenbankprogrammierung 2
M java.sql.SQLException: No data found Datenbankprogrammierung 9

Ähnliche Java Themen

Neue Themen


Oben