Skip to Content
0
Former Member
Feb 25, 2004 at 08:40 PM

SAP J2EE Servlet and JCO WAS 6.30

54 Views

Hi,

I execute a servlet on the SAP J2EE 6.30 engine and I want to connect to SAP using JCO. However, I am running into the following error:

java.lang.NoClassDefFoundError: com/sap/mw/jco/JCO$Exception

sapjco.jar is not included in the WEB-INF\lib directory and I use the following import statement:

import com.sap.mw.jco.*;

Is there any other configuration required in order to be able to call JCO from a servlet on a WAS 6.30 platform?

The servlet I am testing runs fine on a IIS/JRun platform.

Thanks,

Sorin Stancu