Symptom
- After upgrading the Groovy script to V2, the script step in an iFlow fails to compile.
- javax.script.ScriptException: java.lang.Exception: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: /IF_MIG_OTC_GSAPChem_TO_CX_OrderStatus/src/main/resources/script/v2/setODataURI.groovy: 5: unable to resolve class org.apache.olingo.odata2.api.uri.UriInfo @ line 5, column 1. import org.apache.olingo.odata2.api.uri.UriInfo; ^ 1 error , cause: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: /IF_MIG_OTC_GSAPChem_TO_CX_OrderStatus/src/main/resources/script/v2/setODataURI.groovy: 5: unable to resolve class org.apache.olingo.odata2.api.uri.UriInfo @ line 5, column 1. import org.apache.olingo.odata2.api.uri.UriInfo; ^ 1 error
Read more...
Environment
-
Cloud Integration
-
SAP Integration Suite
Product
Cloud Integration all versions
Keywords
groovy runtime 4, cloud integration, groovy script, unable to resolve class, org.apache.olingo.odata2.api.uri.UriInfo, MultipleCompilationErrorsException, ScriptException, odata v2, olingo v2, odata v4, classpath, compilation error, script import, iflow script, odata uri , KBA , LOD-HCI-PI-WT-IFL , Integration Designer , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview