Skip to Content
author's profile photo Former Member
Former Member

JCA Error

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 17, 2007 at 05:53 AM

    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

    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/90fc8a14-a02c-2a10-5a91-821561099192

    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9d6132b0-0801-0010-86a1-d7308895761a

    Regards,

    Prasanna Krishnamurthy

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 03, 2008 at 03:03 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.