I have created a JDeveloper extension project, I need to refer some external jars as per my requirement. I have added the jar to the project and I am not facing any issues at compile time. But when I run my extension, I get the following error:
java.lang.NoClassDefFoundError: <referred class>
.
.
Caused by: oracle.classloader.util.AnnotatedClassNotFoundException
I have tried the following options:
1. Added the jars to the project
2. Added the jars as Library
3. Referenced the jars through MANIFEST.MF file
But none of the above has worked for me. The jars are getting bundled along with my ExtensionProject.jar but even when I add the extension to JDeveloper, it doesn't work.
I am Using JDev version 11.1.1.6