Recently I created a ADF application having multiple models and single view controller project. I exported same application as ADF Library and added to another application. When I tried to run the application, I faced following error.
Error:
javax.el.ELException: oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.ConfigException, msg=JBO-33001: Configuration file /com/bc4j.xcfg is not found in the classpath.
at com.sun.el.parser.AstValue.invoke(AstValue.java:191)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpression(UIXComponentBase.java:1459)
at oracle.adf.view.rich.component.UIXDialog.broadcast(UIXDialog.java:97)
To fix this problem, I made following changes to View Controller project's Deployment profile.
Solution:
1. Open ViewController project properties dialog, select Deployment option and edit the required deployment profile.
2. In Deployment Profile Edit window, select Library Dependencies node and click the Edit Dependencies icon
3. In Edit Dependencies window, add a dependency on the build output path or on one or more deployment archives.
Error:
javax.el.ELException: oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.ConfigException, msg=JBO-33001: Configuration file /com/bc4j.xcfg is not found in the classpath.
at com.sun.el.parser.AstValue.invoke(AstValue.java:191)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpression(UIXComponentBase.java:1459)
at oracle.adf.view.rich.component.UIXDialog.broadcast(UIXDialog.java:97)
To fix this problem, I made following changes to View Controller project's Deployment profile.
Solution:
1. Open ViewController project properties dialog, select Deployment option and edit the required deployment profile.
2. In Deployment Profile Edit window, select Library Dependencies node and click the Edit Dependencies icon
3. In Edit Dependencies window, add a dependency on the build output path or on one or more deployment archives.
No comments:
Post a Comment
Provide your thoughts !