Skip to Content
0
Nov 12, 2017 at 10:29 PM

LCM_CLI Error: Could not find or load main class BusinessObjects

516 Views Last edit Nov 12, 2017 at 10:33 PM 2 rev

I'm running a test LCM_CLI promotion (live-to-live) with command line option but am getting an error and not sure how to fix this. It appears that it doesn't recognize the LCM batch program. Am I missing something? Many thanks in advance!

PS E:\BusinessObjects\BI\SAP BusinessObjects Enterprise XI 4.0\win64_x64\scripts> lcm_cli.bat -lcmproperties=Test.properties
lcm_cli.bat : The term 'lcm_cli.bat' is not recognized as the name of a cmdlet, function, script file, or operableprogram. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ lcm_cli.bat -lcmproperties=Test.properties
+ ~~~~~~~~~~~  
+ CategoryInfo  : ObjectNotFound: (lcm_cli.bat:String) [], CommandNotFoundException  
+ FullyQualifiedErrorId : CommandNotFoundException.

Suggestion [3,General]: The command lcm_cli.bat was not found, but does exist in the current location. Windows PowerShel
l does not load commands from the current location by default. If you trust this command, instead type ".\lcm_cli.bat".
See "get-help about_Command_Precedence" for more details.

I tried adding a period in front but it generated a new error:

PS E:\BusinessObjects\BI\SAP BusinessObjects Enterprise XI 4.0\win64_x64\scripts> .\lcm_cli.bat -lcmproperties=Test.properties
Error: Could not find or load main class BusinessObjects