Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 22514

CannotResolveClassException for ProjectMatrixAuthorizationStrategy

$
0
0

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.HudsonFailedToLoadCaused: org.jvnet.hudson.reactor.ReactorException

Debug info is ---- Debugging information ----

message             : hudson.security.ProjectMatrixAuthorizationStrategycause-exception     : com.thoughtworks.xstream.mapper.CannotResolveClassExceptioncause-message       : hudson.security.ProjectMatrixAuthorizationStrategyclass               : hudson.model.Hudsonrequired-type       : hudson.model.Hudsonconverter-type      : hudson.util.RobustReflectionConverterpath                : /hudson/authorizationStrategyline number         : 11version             : 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 ?


Viewing all articles
Browse latest Browse all 22514

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>