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!

cannot instantiate class java.lang.ClassNotFoundException

Ibrahim KobeissySep 10 2014 — edited Sep 10 2014

hello guys

i have a taskflow lets call it TF1 in this taskflow i have a taskflow call activity to another taskflow lets call it TF2 in TF2 i have a method call as the default activity

both TF have proper bean setup and the method call in TF2 has a correct page definition

the issue is when i call the second task flow i get

Caused by: oracle.adf.controller.ControllerException: ADFC-10001: cannot instantiate class 'com.....OTMoyenAffectationBean'

  at oracle.adfinternal.controller.util.Utils.createAndLogFacesException(Utils.java:189)

  ... 65 more

Caused by: java.lang.ClassNotFoundException: com.....OTMoyenAffectationBean

  at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)

  at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)

  at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)

  at java.lang.ClassLoader.loadClass(ClassLoader.java:305)

  at java.lang.ClassLoader.loadClass(ClassLoader.java:246)

  at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)

  at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)

  at java.lang.Class.forName0(Native Method)

  at java.lang.Class.forName(Class.java:247)

  at oracle.adfinternal.controller.beans.ManagedBeanFactory.newInstance(ManagedBeanFactory.java:187).

so how can i solve this issue plz

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 8 2014
Added on Sep 10 2014
6 comments
257 views