jetbrains.buildServer.xmlrpc.RemoteCallException: Call 'http://mybuildserver/RPC2', method 'RemoteAuthenticationServer.getServerVersion' failed: java.lang.NoClassDefFoundError: Could not initialize class org.apache.commons.httpclient.HttpClient

YouTrack | 5 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    TeamCity Login error - Could not initialize class org.apache.commons.httpclient.HttpClient

    YouTrack | 5 months ago
    jetbrains.buildServer.xmlrpc.RemoteCallException: Call 'http://mybuildserver/RPC2', method 'RemoteAuthenticationServer.getServerVersion' failed: java.lang.NoClassDefFoundError: Could not initialize class org.apache.commons.httpclient.HttpClient

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      Could not initialize class org.apache.commons.httpclient.HttpClient

      at jetbrains.buildServer.xmlrpc.impl.CommonsXmlRpcTargetImpl.getOrCreateTransport()
    2. jetbrains.buildServer.xmlrpc
      CommonsXmlRpcTargetImpl$1.execute
      1. jetbrains.buildServer.xmlrpc.impl.CommonsXmlRpcTargetImpl.getOrCreateTransport(CommonsXmlRpcTargetImpl.java:92)
      2. jetbrains.buildServer.xmlrpc.impl.CommonsXmlRpcTargetImpl$1.execute(CommonsXmlRpcTargetImpl.java:70)
      2 frames
    3. Apache XML-RPC Common Library
      XmlRpcClient.execute
      1. org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:178)
      1 frame
    4. jetbrains.buildServer.xmlrpc
      AbstractXmlRpcTarget.call
      1. jetbrains.buildServer.xmlrpc.AbstractXmlRpcTarget.call(AbstractXmlRpcTarget.java:82)
      2. jetbrains.buildServer.xmlrpc.AbstractXmlRpcTarget.callWithCancelable(AbstractXmlRpcTarget.java:108)
      3. jetbrains.buildServer.xmlrpc.AbstractXmlRpcTarget.call(AbstractXmlRpcTarget.java:61)
      3 frames
    5. TeamCity Build Server
      BuildserverLoginPanel.login
      1. jetbrains.buildServer.serverProxy.ClientXmlRpcExecutorFacade.callXmlRpc(ClientXmlRpcExecutorFacade.java:28)
      2. jetbrains.buildServer.serverProxy.RemoteBuildServerFacade.checkServerVersion(RemoteBuildServerFacade.java:1279)
      3. jetbrains.buildServer.serverProxy.RemoteBuildServerFacade.checkPassword(RemoteBuildServerFacade.java:883)
      4. jetbrains.buildServer.TeamCitySnapshot$8.run(TeamCitySnapshot.java:466)
      5. jetbrains.buildServer.TeamCityProcessManager.performAction(TeamCityProcessManager.java:116)
      6. jetbrains.buildServer.TeamCityProcessManager.performAction(TeamCityProcessManager.java:75)
      7. jetbrains.buildServer.TeamCitySnapshot.authorize(TeamCitySnapshot.java:454)
      8. jetbrains.buildServer.BuildserverLoginPanel.login(BuildserverLoginPanel.java:210)
      8 frames
    6. jetbrains.buildServer.login
      BuildServerLoginDialog$1.run
      1. jetbrains.buildServer.login.BuildServerLoginDialog$1.run(BuildServerLoginDialog.java:68)
      1 frame
    7. TeamCity Build Server
      BuildServerManager$31.run
      1. jetbrains.buildServer.BuildServerManager$32.run(BuildServerManager.java:1216)
      2. jetbrains.buildServer.BuildServerManager$31.run(BuildServerManager.java:1196)
      2 frames
    8. IDEA
      ApplicationImpl$2.run
      1. com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:710)
      2. com.intellij.openapi.progress.impl.CoreProgressManager$11.run(CoreProgressManager.java:423)
      3. com.intellij.openapi.progress.impl.CoreProgressManager$3.run(CoreProgressManager.java:179)
      4. com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:568)
      5. com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:519)
      6. com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
      7. com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:164)
      8. com.intellij.openapi.application.impl.ApplicationImpl.a(ApplicationImpl.java:559)
      9. com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:308)
      9 frames
    9. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      5. java.lang.Thread.run(Thread.java:745)
      5 frames