Skip to Content
0
Jun 23, 2005 at 08:32 PM

SAP JCo

186 Views

Hi all,

I am continually getting this java.lang.NoClassDefFoundError: com/sap/mw/jco/IFunctionTemplate

error when trying to run the Java Connector.

I have the latest JCo.jar which I put in a common location and referenced it... in eclipse I went to the project properties, then to the java build path, then the libraries tab and added the external jar.

The other two files sapjcorfc.dll and librfc32.dll are in C:\windows\system32.

running this scenario I continually get the aforementioned error.

As soon as I copy the jar into the WEB-INF/lib directory everything works fine.

n e ideas?