Bonjour,

Voilà, j'ai 2 projets java, l'un est une bibliothèque d'outil, l'autre l'application cliente RCP.

Le client a une dépendance sur le projet bibliothèque (le projet est ajouté dans la configuration Java Build Path dans Eclipse)

Dans eclipse, aucune erreur de compilation.

Maintenant, quand je lance l'application cliente j'ai l'erreur suivante :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
!SESSION 2007-01-10 09:31:28.927 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.4.2_13
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_BE
Framework arguments:  -application dgt.vista.VISTAApplication -pdelaunch
Command-line arguments:  -application dgt.vista.VISTAApplication -data D:\runtime-EclipseApplication -dev file:D:/Workspace/.metadata/.plugins/org.eclipse.pde.core/Eclipse Application/dev.properties -pdelaunch -os win32 -ws win32 -arch x86
 
!ENTRY org.eclipse.osgi 2007-01-10 09:31:28.927
!MESSAGE Application error
!STACK 1
java.lang.NoClassDefFoundError: dgt/vista/toolbox/security/LDAPConnector
	at dgt.vista.VISTAApplication.run(VISTAApplication.java:48)
	at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:228)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:156)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at org.eclipse.core.launcher.Main.invokeFramework(Main.java:315)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:268)
	at org.eclipse.core.launcher.Main.run(Main.java:942)
	at org.eclipse.core.launcher.Main.main(Main.java:926)
Il ne trouve pas la classe qui est dans bibliothèque.

Aurais je oublié qqch ?

Savez vous quoi faire ?



Merci d'avance