Jump to content
We've recently updated our Privacy Statement, available here ×

Error in Jaspersoft ETL express with SAP : Exception in thread "main"


guirec.corbel
Go to solution Solved by ecanaveras,

Recommended Posts

Hello,
 
I want to connect Jaspersoft ETL Express, based on talend studio, to SAP. I followed this instructions : . I donwloaded SAPJCO, SPAJCO3 and SAPIDOC. 
 
  • I put the dlls in c:windowssystem32 and c:windowssysWOW64. 
  • I put the 3 jar files in {INSTALLATION_PATH}libjava.
  •  I also put it in {INSTALLATION_PATH}pluginsorg.talend.designer.components.localprovider_5.2.2.r99271componentstSAPInput.
  • I added the jars in the modules and it works.
 
This are my env variables : 
    PATH  = C:Program FilesJavaSAPJCO;C:Program FilesJavajdk1.6.0_45bin;C:Program FilesJavaSAPJCO;C:Program FilesJavaSAPJCO1;C:Program FilesJavajdk1.7.0_67
    CLASSPATH = C:Program FilesJavaSAPJCOsapjco3.jar;C:Program FilesJavaSAPJCO1sapjco.jar
 
I created a new project with a SAP connection like this :
 
 
When I run the project like this :
 
 
I have this error :
 
Démarrage du job SAP a 13:19 27/08/2014.
 
Exception in thread "main" java.lang.Error: Problèmes de compilation non résolus : 
com.sap.conn.jco.ext.Environment n'est pas reconnu comme type valide
com.sap.conn.jco.JCoDestination n'est pas reconnu comme type valide
com.sap.conn.jco.JCoDestinationManager n'est pas reconnu comme type valide
com.sap.conn.jco.JCoContext n'est pas reconnu comme type valide
 
at sap.sap_0_1.SAP.tSAPConnection_1Process(SAP.java:284)
at sap.sap_0_1.SAP.runJobInTOS(SAP.java:512)
at sap.sap_0_1.SAP.main(SAP.java:380)
[statistics] connecting to socket on port 4035
[statistics] connected
 
In english "n'est pas reconnu comme type valide" means "is not recognized as a valid type".
 
I don't know what to do. Did I missing something?
 
Thanks!

 

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...