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

Jenkins JIRA | Alan Harder | 9 years ago
  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
  3. 0
    URI part of the request contains invalid characters. You may try to encode the path from the URI. Check RFC7230 and RFC3986 documentation below. https://www.ietf.org/rfc/rfc3986.txt and https://tools.ietf.org/html/rfc7230
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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