Skip to Content
0
Former Member
Jan 15, 2018 at 08:58 AM

error: package com.sap.conn.jco does not exist during compilation in jersey project

3575 Views Last edit Jan 15, 2018 at 08:57 AM 2 rev

I am running a java jersey maven webservice on Eclipse and I need to use the SAP Java Conector to connect to an SAP system. I have added the PATH and CLASSPATH variables correctly and added the sapjco3.jar to the project as an external Jar and I am getting no errors in Markers. Only during compilation in maven install, I get this error for all sapjco imports:

error: package com.sap.conn.jco does not exist.

Am I missing something?