Tuesday 6 March 2012

Deploying EJB using Worklist API




When deploying fro Jdev 11.1.1.4 I got the error:


[EJB:011023]An error occurred while reading the deployment descriptor. The error was:
oracle/bpel/services/workflow/task/model/Task.
[11:57:04 AM] Caused by: java.lang.NoClassDefFoundError: oracle/bpel/services/workflow/task/model/Task

Solution:

Be sure that you have a EJB JAR project deployment profile and a EAR Application Deployment Profile.

Add these library entry on weblogic-application.xml file accessible go on Application Resources view on Jdeveloper / descriptors / META-INF


<library-ref>
<library-name>adf.oracle.domain</library-name>
<implementation-version>11.1.1.1.0</implementation-version>
</library-ref>
<library-ref>
<library-name>oracle.soa.workflow</library-name>
<implementation-version>11.1.1</implementation-version>
</library-ref>



No comments:

Post a Comment