Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JDeveloper Extension Project cannot find a class from jar - java.lang.NoClassDefFoundError

893746Oct 8 2013 — edited Nov 8 2013

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

This post has been answered by 893746 on Nov 8 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 6 2013
Added on Oct 8 2013
3 comments
1,337 views