Endeca部署-初始化service.bat命令失败

时间:2018-06-26 18:36:44

标签: endeca

在cmd中运行initialize_services命令时,请找到错误

SEVERE: Caught an exception while invoking method 'run' on object 'InitialSetup'. Releasing locks.

Caused by java.lang.reflect.InvocationTargetException
sun.reflect.NativeMethodAccessorImpl invoke0 - null
Caused by com.endeca.soleng.eac.toolkit.exception.AppControlException
com.endeca.soleng.eac.toolkit.script.Script runBeanShellScript - Unknown error executing a BeanShell script.
Caused by bsh.EvalError
bsh.BSHMethodInvocation eval - Sourced file: inline evaluation of: ``             IFCR.provisionSite();     CAS.importDimensionValueIdMappings("Disco . . . '' : Error in method invocation: Method importDimensionValueIdMappings( java.lang.String, java.lang.String ) not found in class'com.endeca.soleng.eac.toolkit.component.CustomComponent'

Failure to initialize EAC application.

1 个答案:

答案 0 :(得分:0)

根据this,将CAS_ROOT \ lib \ cas-dt \中的casStubs.jar添加到runco​​mmand脚本中的类路径中,即可解决该问题。

set CLASSPATH=%CLASSPATH%;C:\Endeca\CAS\11.1.0\lib\cas-dt\casStubs.jar