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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Class not found exception

ShoaibJan 31 2022

Hi All,
I am using the Jdeveloper version 12.1.2.0.0
I have created a common workspace for my ADF enterprise application in Jdeveloper. This common workspace contains a project which will be used in all my subsystems by exporting its JAR file.
This common project contains a package name "framework" in which I have defined a class ApplicationModuleImpl that overrides ApplicationModuleImpl class from oracle.jbo.server. package
image.png
After this, I changed the base class in preferences to take my overridden class and not the default class of oracle.
image.png
I initialized the project, created the deployment profile for my common workspace project, and exported its JAR file.
image.png
Then I created a new subsystem application and added this JAR file to my new model project
image.pngBut by mistake, I misspelled the package (instead of "dmcsol" I used "dmsol") name in my common workspace.
I corrected the package name in my common workspace, deployed it again and in preference and re-attached the JAR files.
But when I am running application Module Tester in my new module project it's giving me classNotFoundException my incorrect package name.
image.pngKindly help me on this
Thanks
Shoaib

This post has been answered by Timo Hahn on Jan 31 2022
Jump to Answer
Comments
Post Details
Added on Jan 31 2022
4 comments
609 views