Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Empfohlene Antworten

Veröffentlicht

Hallo,

Vielleicht kann mir jemand helfen, ich habe

folgendes Problem:

Ich versuche unter eclipse 3.4.2 auf Win Vista auf eine

Derby Java DB zuzugreifen und will dazu den

org.apache.derby.jdbc.EmbeddedDriver laden.

Die derby.jar liegt im Verzeichnis lib des Projekts, ich

hab das jar file über Properties - Java Build Path - Libraries -

Add Jars eingebunden.

Ich habe den Treiber über Properties - Java Build Path - Libraries -

Add Library eingebunden.

Die .classpath sieht so aus:

<?xml version="1.0" encoding="UTF-8"?>

<classpath>

<classpathentry kind="src" path="src"/>

<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>

<classpathentry kind="lib" path="lib/derby.jar"/>

<classpathentry kind="con" path="org.eclipse.datatools.connectivity.jdt.DRIVERLIBRARY/Derby Embedded JDBC Driver"/>

<classpathentry kind="output" path="bin"/>

</classpath>

unter Build path bei den Properties unter eclipse steht:

derby.jar

Derby Embedded JDBC Driver

JRE System Libraty[jre.1.6.0_07]

wenn ich den Treiber mit

Class.forName("org.apache.derby.jdbc.EmbeddedDriver");

laden will, kommt als Fehlermeldung

Cdbh [Java Bean]

org.eclipse.ve.internal.java.vce.launcher.remotevm.JavaBeansLauncher at localhost:62653

Thread [main] (Suspended)

ClassNotFoundException(Throwable).<init>(String, Throwable) line: 217

ClassNotFoundException(Exception).<init>(String, Throwable) line: not available

ClassNotFoundException.<init>(String) line: not available

ClassLoader.findBootstrapClass(String) line: not available [native method]

Launcher$ExtClassLoader(ClassLoader).findBootstrapClass0(String) line: not available

Launcher$ExtClassLoader(ClassLoader).loadClass(String, boolean) line: not available

Launcher$AppClassLoader(ClassLoader).loadClass(String, boolean) line: not available

Launcher$AppClassLoader.loadClass(String, boolean) line: not available

Launcher$AppClassLoader(ClassLoader).loadClass(String) line: not available

Launcher$AppClassLoader(ClassLoader).loadClassInternal(String) line: not available

Class<T>.forName0(String, boolean, ClassLoader) line: not available [native method]

Class<T>.forName(String) line: not available

Cdbh.<init>(String) line: 47

Cdbh.main(String[]) line: 64

NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method]

NativeMethodAccessorImpl.invoke(Object, Object[]) line: not available

DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: not available

Method.invoke(Object, Object...) line: not available

JavaBeansLauncher.main(String[]) line: 79

C:\Program Files\Java\jre1.6.0_07\bin\javaw.exe (25.03.2009 19:56:12)

Im Source Fenster steht: Source not found

darunter ein Button: Edit Source Lookup Path...

was muss ich tun, damit dieser Fehler nicht mehr auftritt und der Treiber geladen wird?

Schonmal schönen Dank für die Antworten.

LG kAi

Tschuldingung, aber ich glaube das war garkein richtiges Problem.

Die Ausgabe im Debugfenster kommt wohl daher, dass erstmal die Archiv

Dateien im ext Verzeichnis durchsucht werden und dann erst die

derby.jar.

LG Kai

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.