on 10-17-2007 12:22 AM
Experts,
I'm new to JCA. I was following the tutorial http://help.sap.com/saphelp_nw04/helpdata/en/b6/55e3952a902447847066a0df27b0d6/content.htm
I tried connecting R/3 BAPI using JCA, but i'm getting following error.
<b>java.lang.NoClassDefFoundError: com/sap/mdi/ObjectFactoryException
at com.sap.aii.proxy.framework.core.AbstractProxy$JcoProxyHelper.send(AbstractProxy.java:173)
at com.sap.aii.proxy.framework.core.AbstractProxy.send$(AbstractProxy.java:141)
at mypackage.MyProxy_PortType.bapi_Flight_Getlist(MyProxy_PortType.java:16)
at mypackage.MyMainClass.main(MyMainClass.java:80)
Exception in thread "main"</b>
Anyone can give me the solution.
Also If anyone have JCA related document and example workouts, send to my mail id subafriends@yahoo.com
Rewards will be given to answers.
Thanks,
Suba
Did proxy generation give errors?
Are you trying to create an PDK application or is it a standalone test application? The classloader is unable to find certain classes required for execution.
Check the following step by step tutorials
Regards,
Prasanna Krishnamurthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Suba,
Try adding com.sap.mdi_api.jar from plugins\com.sap.mdi\lib in your build path. This jar jas ObjectFactoryException class in it.
regards,
Rupam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.