Skip to Content
0
Oct 12, 2011 at 12:28 PM

Build log error

43 Views

Hi Experts,

I added the SAPJCO.jar file in the JSF project and successfully added the JCO code in one of my class without any errors.

But when I am trying build, it is giving Build errors. I am using JCO 3 and also added the CLASSPath and PATH.

Also added the SAPJCO.dll file in system32 and jar file in project.

When I check in the build log. it is giving the below errors

\demo\jsf\ConnectSAP.java:6: package com.sap.conn.jco does not exist

[javac] ERROR: import com.sap.conn.jco.JCoDestinationManager;

[javac] ERROR: ^

[\demo\jsf\ConnectSAP.java:7: package com.sap.conn.jco does not exist

[javac] ERROR: import com.sap.conn.jco.JCoException;

[javac] ERROR: ^

[javac] ERROR: \demo\jsf\ConnectSAP.java:8: package com.sap.conn.jco does not exist

[javac] ERROR: import com.sap.conn.jco.JCoRepository;

[javac] ERROR: ^

[javac] ERROR: \demo\jsf\ConnectSAP.java:9: package com.sap.conn.jco.ext does not exist

[javac] ERROR: import com.sap.conn.jco.ext.DestinationDataProvider;

[javac] ERROR: ^

[javac] ERROR: \demo\jsf\ConnectSAP.java:21: cannot find symbol

[javac] ERROR: symbol : class JCoRepository

[javac] ERROR: location: class com.infy.demo.jsf.ConnectSAP

[javac] ERROR: private JCoRepository repos;

[javac] ERROR: ^

[javac] ERROR: \demo\jsf\ConnectSAP.java:22: cannot find symbol

[javac] ERROR: symbol : class JCoDestination

Please help me in this regard.

Thanks,

Raghu