Hi Experts,
I am following the document at How-to Build an Agentry based mobile app from scratch connecting to an SAP back-end Part1 and I have followed all the steps as suggested in the document.
I am using Agentry Server 6.0 here.
In order to plug in my custom java code, I have exported my Java project and added under ClassPath variable under Server's Agentry.INI file.
classPath=./ini4j.jar;./sapjco.jar;./Java/Agentry-v5.jar;./Java/SAPWM-5.3.0.0.jar;./Java/SAPCommon-122971.jar;./Java/ZFlightBooking.jar;./Java;
I have given the serverClass path as : serverClass=com/syclo/sap/sflight/server/Server
While starting the server, I get the following error:
Exception: 01:37:26 03/15/2014 : 20 (Agentry3), BackEndInitError (Java Back End
- NoClassDefFoundError|java.lang.NoClassDefFoundError: com/syclo/sap/sflight/ser
ver/Server|classpath = .;C:\Program Files (x86)\Java\jre7\lib\ext\QTJava.zip;.\J
ava\Agentry-v5.jar), javaBE.cpp#407:JavaBackEnd::init
I can confirm that the required DLL files are present under the ServerDev directory.
Init4j and sapjco are present under ServerDev directory.
SAPWM, SAPCommon , Agentry V5 and ZFlightbooking are present under ServerDev/Java directory.
I have also tried all possible combinations including editing the standard "Classpath" and "Path" variables under "Environment Variables" too, and added the path to this JAR file, but nothing seems to be working.
I have gone through the post
already, and checked all the steps, but it doesn't seem to work.
Request your advice on the same.