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!

Class bytes found but defineClass()failed for: 'model.am.AppModuleImpl'

k.RamuJul 19 2016 — edited Jul 19 2016

Hi Everyone,

Generated AppModuleImpl.java class by clicking pencil icon in Java section of AppMoudule.

Then I didn't done any changes or any code on that AppModuleImpl.java class.

Just that's it , never done any changes rather than generateAppModuleImpl.java

Then JustĀ  tried to run my application faced errors like

oracle.jbo.CustomClassNotFoundException: JBO-26022: Custom class model.am.AppModuleImpl cannot be found.

Caused by: java.lang.ClassNotFoundException: Class bytes found but defineClass()failed for: 'model.am.AppModuleImpl'

Caused by: java.lang.UnsupportedClassVersionError: model/am/AppModuleImpl : Unsupported major.minor version 51.0

java.lang.ClassNotFoundException: Class bytes found but defineClass()failed for: 'model.am.AppModuleImpl'


Please give solution.. waiting for your valuable guidence..




This post has been answered by k.Ramu on Jul 19 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 16 2016
Added on Jul 19 2016
13 comments
1,583 views