-
Notifications
You must be signed in to change notification settings - Fork 1k
TestNG is no longer working in OSGi environments #1678
Copy link
Copy link
Closed
Milestone
Description
TestNG Version
TestNG 6.13.1
Expected behavior
TestNG is working in OSGi environments
Actual behavior
When starting TestNG in a OSGi environment you have the following exception
java.lang.ClassNotFoundException: com.beust.jcommander.ParameterException not found by testng [72]
at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1550)
at org.apache.felix.framework.BundleWiringImpl.access$200(BundleWiringImpl.java:79)
at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1958)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 11 more
The reason behind that is that the MANIFEST.MF file no longer contain the Import-Package directive.
Unfortunately I don't know how to fix it, can you have a look ? Thanks.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels