java.lang.IllegalArgumentException: No beans of interface org.acegisecurity.userdetails.UserDetailsService are defined

Jenkins JIRA | Alan Harder | 9 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    I upgraded from 1.171 to 1.175 and got the log below at webserver startup. I switched down to 1.174 and I'm ok again. [22/Jan/2008:16:44:32] failure (14188): Failed to initialize Hudson java.lang.IllegalArgumentException: No beans of interface org.acegisecurity.userdetails.UserDetailsService are defined at hudson.security.SecurityRealm.findBean(SecurityRealm.java:154) at hudson.security.LDAPSecurityRealm.createSecurityComponents(LDAPSecurityRealm.java:131) at hudson.model.Hudson.setSecurityRealm(Hudson.java:957) at hudson.model.Hudson.load(Hudson.java:1285) at hudson.model.Hudson.<init>(Hudson.java:345) at hudson.WebAppMain$2.run(WebAppMain.java:129) [22/Jan/2008:16:44:32] warning (14188): CORE3283: stderr: Exception in thread "hudson initialization thread" java.lang.IllegalArgumentException: No beans of interface org.acegisecurity.userdetails.UserDetailsService are defined [22/Jan/2008:16:44:32] warning (14188): CORE3283: stderr: at hudson.security.SecurityRealm.findBean(SecurityRealm.java:154) [22/Jan/2008:16:44:32] warning (14188): CORE3283: stderr: at hudson.security.LDAPSecurityRealm.createSecurityComponents(LDAPSecurityRealm.java:131) [22/Jan/2008:16:44:32] warning (14188): CORE3283: stderr: at hudson.model.Hudson.setSecurityRealm(Hudson.java:957) [22/Jan/2008:16:44:32] warning (14188): CORE3283: stderr: at hudson.model.Hudson.load(Hudson.java:1285) [22/Jan/2008:16:44:32] warning (14188): CORE3283: stderr: at hudson.model.Hudson.<init>(Hudson.java:345) [22/Jan/2008:16:44:32] warning (14188): CORE3283: stderr: at hudson.WebAppMain$2.run(WebAppMain.java:129) Container: SJSWS 7.0u2 Authentication: LDAP / matrix security

    Jenkins JIRA | 9 years ago | Alan Harder
    java.lang.IllegalArgumentException: No beans of interface org.acegisecurity.userdetails.UserDetailsService are defined
  2. 0

    I upgraded from 1.171 to 1.175 and got the log below at webserver startup. I switched down to 1.174 and I'm ok again. [22/Jan/2008:16:44:32] failure (14188): Failed to initialize Hudson java.lang.IllegalArgumentException: No beans of interface org.acegisecurity.userdetails.UserDetailsService are defined at hudson.security.SecurityRealm.findBean(SecurityRealm.java:154) at hudson.security.LDAPSecurityRealm.createSecurityComponents(LDAPSecurityRealm.java:131) at hudson.model.Hudson.setSecurityRealm(Hudson.java:957) at hudson.model.Hudson.load(Hudson.java:1285) at hudson.model.Hudson.<init>(Hudson.java:345) at hudson.WebAppMain$2.run(WebAppMain.java:129) [22/Jan/2008:16:44:32] warning (14188): CORE3283: stderr: Exception in thread "hudson initialization thread" java.lang.IllegalArgumentException: No beans of interface org.acegisecurity.userdetails.UserDetailsService are defined [22/Jan/2008:16:44:32] warning (14188): CORE3283: stderr: at hudson.security.SecurityRealm.findBean(SecurityRealm.java:154) [22/Jan/2008:16:44:32] warning (14188): CORE3283: stderr: at hudson.security.LDAPSecurityRealm.createSecurityComponents(LDAPSecurityRealm.java:131) [22/Jan/2008:16:44:32] warning (14188): CORE3283: stderr: at hudson.model.Hudson.setSecurityRealm(Hudson.java:957) [22/Jan/2008:16:44:32] warning (14188): CORE3283: stderr: at hudson.model.Hudson.load(Hudson.java:1285) [22/Jan/2008:16:44:32] warning (14188): CORE3283: stderr: at hudson.model.Hudson.<init>(Hudson.java:345) [22/Jan/2008:16:44:32] warning (14188): CORE3283: stderr: at hudson.WebAppMain$2.run(WebAppMain.java:129) Container: SJSWS 7.0u2 Authentication: LDAP / matrix security

    Jenkins JIRA | 9 years ago | Alan Harder
    java.lang.IllegalArgumentException: No beans of interface org.acegisecurity.userdetails.UserDetailsService are defined

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      No beans of interface org.acegisecurity.userdetails.UserDetailsService are defined

      at hudson.security.SecurityRealm.findBean()
    2. Hudson
      SecurityRealm.findBean
      1. hudson.security.SecurityRealm.findBean(SecurityRealm.java:154)
      1 frame