|Run Unittests on Jenkins: Could not load SWT library [message #1827621]
||Tue, 19 May 2020 13:09
| Thomas Kalbusch
Registered: May 2020
I have a RCP Application for Windows. I build my plugins with tycho.
I can execute my unittests in Eclipse without problems. I also configured maven-surefire-plugin to run the tests with maven verify.
The unittests are lying under a different path with a dependencie to the source plugin.
But when jenkins tries to run the tests, they fail. Here's the Stacktrace.
java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
no swt-win32-4763 in java.library.path
no swt-win32 in java.library.path
Can't load library: /var/lib/jenkins/.swt/lib/linux/x86_64/libswt-win32-4763.so
Can't load library: /var/lib/jenkins/.swt/lib/linux/x86_64/libswt-win32.so
java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.swt.widgets.Display
What do I miss? Do I have to configure my plugins for Linux? How that works? Or do I have to change sth. inside Jenkins?
Powered by FUDForum
. Page generated in 0.02339 seconds