on 05-21-2012 8:17 AM
Hello Everyone,
I am connecting SUP with SAP as backend.
I am calling BAPI_FLIGHT_GETLIST.
I have created the application in SUP.
I have created the MBO, workflow and have successfully deployed it.
After starting MDS and simulator connection to the server is successful.
However on retrieval of data from SAP i.e. call from BAPI it is throwing java.lang.NoClassDefFoundError.
Could anyone please come up with some suggestions to resolve the same.
I am following the tutorial
at URL
http://www.youtube.com/watch?v=njizTXT_i00
Thanks & Regards,
Pooja
Hi,
Usually when you get a NoClassDefFoundError the error includes the name of the class it cannot find... can you try to see if you can see more of the error trace?
Perhaps you have neglected to include the SAP JCo JAR files that are used to connect to the backend at runtime?
More info on the class that cannot be found will help to diagnose this issue better.
Hope this helps,
Simon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This comment on this discussion may help you locate more info on the error http://scn.sap.com/message/13160960#13160960
Hey Simon,
Could you help me with the following error msg.
I am presuming this to be the error msg.
org.exolab.castor.xml.util.XMLClassDescriptorResolverImpl$DescriptorCacheImpl]Get descriptor for: com.sybase.uep.admin.configuration.entity.Prop found: com.sybase.uep.admin.configuration.entity.descriptors.PropDescriptor@70bc290a; descriptor for class: [null]; xml name: null
Hi Pooja,
Already following steps are done or not otherwise check it one's below of the steps in your landscape.
Download files from http://service.sap.com/connectors.
Please follow below steps:
a. Copy librfc32.dll and sapjcorfc.dll to the C:\Windows\System32/
b. Copy librfc32.dll and sapjcorfc.dll to C:\Sybase\UnwiredPlatform\JDK1.6.0_16\bin
c.Copy sapjco.jar to C:\Sybase\UnwiredPlatform\Unwired_Workspace\Eclipse\sybase_workspace\mobile\eclipse\plugins
\com.sybase.uep.com.sap.mw.jco<version>\lib .
d.Copy sapjco.jar to C:\Sybase\UnwiredPlatform\Servers\UnwiredServer\lib\3rdparty\
e. Copy librfc32.dll and sapjcorfc.dll to <SUP Installationroot>\Servers\UnwiredServer\lib
Thanks,
Syam.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Syam,
thanks for replying
I have already copied the files in the said locations.
However just wanted to confirm that (d) and (e) are to be pasted on server locations right?
If yes I have done all the aforesaid and I am still facing the same problem viz; classdefnotfounderror.
Could u plz help.
Regards
Pooja
Hello Pooja,
if you are trying out in blackberry,Please see if there is a generated class corresponding the MBO name or the bapi name,if not regenerate the code.
regards
kaushik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.