Could not find external library when run process by web service

User: "wang0581"
New Altair Community Member
Updated by Jocelyn
Hi All,
      my web service has Excute Script operator that call external java class, the jar file I have put into serverhome/resources/libs/ according to document. it works well when I run this process on Server, but failed when I run it as web service, attached error msg blow.
     can anyone know how to call external jar file at web service?
     Appreciate for your help.

Error in service

de.rapidanalytics.ejb.service.ServiceDataSourceException: Error executing process /home/admin/jieba_java for service run_jieba_java: The scripting engine Groovy reported an error in the script: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: customScript: 8: unable to resolve class com.huaban.analysis.jieba.JiebaSegmenter @ line 8, column 1. import com.huaban.analysis.jieba.JiebaSegmenter; ^ customScript: 9: unable to resolve class com.huaban.analysis.jieba.WordDictionary @ line 9, column 1. import com.huaban.analysis.jieba.WordDictionary; ^ 2 errors .

Find more posts tagged with