I'm trying to reset a password in my TeamCity install (4.5.1, just upgraded from the 4.0 EAP). I'm running this command:
\teamcity\jre\bin\java -cp server.jar;utils.jar;hsqldb.jar ChangePassword mark password d:\teamcity\.BuildServer
which I got from the documentation, and I get an error:
Using TeamCity configuration directory path: d:/teamcity/.BuildServer
Exception in thread "main" java.lang.NoClassDefFoundError: jetbrains/buildServer/serverSide/crypt/EncryptUtil
I noticed there is no utils.jar in the D:\TeamCity\webapps\ROOT\WEB-INF\lib directory, so I tried the command with util.jar instead, but I got the same error. I'm guessing I'm missing a jar here in the -cp parameter, but I haven't a clue which one I'm missing. Help please?