Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-45052

CannotResolveClassException for ProjectMatrixAuthorizationStrategy

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Minor Minor
    • matrix-auth-plugin
    • None

       |I was trying to restore jenkins on a new machine by tacking up backup from old machine . I replaced the jenkins home directory of new machine from old one. When i launch jenkins it gives me this error.
      {{Caused: java.io.IOException: Unable to read /var/lib/jenkins/config.xml }}
      There is also
      {{ Caused: hudson.util.HudsonFailedToLoad Caused: org.jvnet.hudson.reactor.ReactorException }}
      Debug info is ---- Debugging information ----
      {{message : hudson.security.ProjectMatrixAuthorizationStrategy cause-exception : com.thoughtworks.xstream.mapper.CannotResolveClassException cause-message : hudson.security.ProjectMatrixAuthorizationStrategy class : hudson.model.Hudson required-type : hudson.model.Hudson converter-type : hudson.util.RobustReflectionConverter path : /hudson/authorizationStrategy line number : 11 version : not available ------------------------------- }}
      This is what my config.xml look like
      {{<useSecurity>true</useSecurity> <authorizationStrategy class="hudson.security.ProjectMatrixAuthorizationStrategy"> <permission>hudson.model.Hudson.Administer:visha</permission> </authorizationStrategy> }}
      Can someone please help ?|

            visha1389 Vishal Thakur
            visha1389 Vishal Thakur
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: