cancel
Showing results for 
Search instead for 
Did you mean: 

Can't Get JCO to work on my server

Former Member
0 Kudos

hey guys,

I'm trying to make the JCO work on my 6.40 J2E server.

I started with a very simple jsp, but i get an error can anyone help me ?

here is the code :

<%@ page language="java" contentType="text/xml" 
import="com.sap.mw.jco.JCO"	

%><%
 JCO.Client client = null;


%>

here are the errors :

Details: com.sap.engine.services.servlets_jsp.server.jsp.exceptions.CompilingException: Error while executing the compilation process: D:/usr/sap/J2E/JC01/j2ee/cluster/server0/apps/sap.com/test/servlet_jsp/Z10/work/jsp_test1152090689611.java:22: package com.sap.mw.jco does not exist

import com.sap.mw.jco.JCO;

^

D:/usr/sap/J2E/JC01/j2ee/cluster/server0/apps/sap.com/test/servlet_jsp/Z10/work/jsp_test1152090689611.java:39: package JCO does not exist

JCO.Client client = null;

Thx to anyone who could help me

good day

Quentin

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Quentin

Have you added the <b>SAPJCO.JAR</b> file ???

Thanks

Jack

Former Member
0 Kudos

where should have added it ?

it seems to be installed on the server, when i launch the Web administrator, the sapjco appears in the libraries.

DO i have to copy the sapjco.jar somewhere??

thx

Quentin

Former Member
0 Kudos

I hope you are using NWDS !!

Before you create the WAR, go to your WEB project --> right-click -->Properties --> Java BuldPath -->under Libraries --> Click External Jar --> Browse for com.sap.mw.jco directory in your IDE plugins --> Add it ..

Thanks

Jack

<b>Allot points if my post helps !!!</b>

Answers (1)

Answers (1)

Former Member
0 Kudos

thx a lot, you solve it

have a great day

Quentin