on 04-30-2012 3:32 PM
Hi all,
I am facing a problem while executing a java program using SAP JCO connectors 3.0 to connect the backend SAP R/3 System. Currently i m stuck with the following error while executing the java file locally in Netweaver Neo Server.
java.lang.NoClassDefFoundError: Could not initialize class com.sap.conn.jco.JCo
com.sap.conn.jco.JCoDestinationManager.getDestination(JCoDestinationManager.java:77)
com.arteriatech.com.Purchase.step1Connect(Purchase.java:86)
com.arteriatech.com.PurchaseOrderList.doGet(PurchaseOrderList.java:36)
javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:274)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:271)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Unknown Source)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:306)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:166)
I have downloaded JCO3.0 from sap market place. Also as said in installation procedure i have installed latest Microsoft Visual Studio 2005 C/C++ runtime libraries, but i am still getting the above error.
Tools used
1. Eclipse Indigo
2. Jco Connector -- > SAP Jco 3.0.8
3. Server --> Netweaver Neo
4. JDK 1.6
Thanks
Amit Joshi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
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.