{"action":"created","issue":{"url":"https://api.github.com/repos/grails-plugins/grails-spring-security-core/issues/401","labels_url":"https://api.github.com/repos/grails-plugins/grails-spring-security-core/issues/401/labels{/name}","comments_url":"https://api.github.com/repos/grails-plugins/grails-spring-security-core/issues/401/comments","events_url":"https://api.github.com/repos/grails-plugins/grails-spring-security-core/issues/401/events","html_url":"https://github.com/grails-plugins/grails-spring-security-core/issues/401","id":123507088,"number":401,"title":"exception on startup with spring-boot-1.3.1","user":{"login":"zyro23","id":1370899,"avatar_url":"https://avatars.githubusercontent.com/u/1370899?v=3","gravatar_id":"","url":"https://api.github.com/users/zyro23","html_url":"https://github.com/zyro23","followers_url":"https://api.github.com/users/zyro23/followers","following_url":"https://api.github.com/users/zyro23/following{/other_user}","gists_url":"https://api.github.com/users/zyro23/gists{/gist_id}","starred_url":"https://api.github.com/users/zyro23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zyro23/subscriptions","organizations_url":"https://api.github.com/users/zyro23/orgs","repos_url":"https://api.github.com/users/zyro23/repos","events_url":"https://api.github.com/users/zyro23/events{/privacy}","received_events_url":"https://api.github.com/users/zyro23/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-22T15:57:38Z","updated_at":"2015-12-22T17:33:33Z","closed_at":null,"body":"https://github.com/spring-projects/spring-boot/commit/007ec9e46be147403bd2ad85580d0a23eb41dc15 fixing spring-projects/spring-boot#4525 makes `SecurityFilterAutoConfiguration` load `SecurityProperties` which depends on `spring-security-config`.\r\n\r\nresult without `spring-security-config` on the classpath is a `ClassDefNotFound` on startup with grails-3.1.0.rc1 (spring-boot-1.3.1)\r\n\r\nworkaround: `@EnableAutoConfiguration(exclude = [SecurityFilterAutoConfiguration])`\r\n\r\nlooking at `SecurityFilterAutoConfiguration` i think it should be ok to only load it conditionally when `spring-security-config` is present, just like `SecurityAutoConfiguration` does with `@ConditionalOnClass({ AuthenticationManager.class,\tGlobalAuthenticationConfigurerAdapter.class })`?\r\nthen, this would be a boot issue..."},"comment":{"url":"https://api.github.com/repos/grails-plugins/grails-spring-security-core/issues/comments/166681325","html_url":"https://github.com/grails-plugins/grails-spring-security-core/issues/401#issuecomment-166681325","issue_url":"https://api.github.com/repos/grails-plugins/grails-spring-security-core/issues/401","id":166681325,"user":{"login":"hakanernam","id":1321157,"avatar_url":"https://avatars.githubusercontent.com/u/1321157?v=3","gravatar_id":"","url":"https://api.github.com/users/hakanernam","html_url":"https://github.com/hakanernam","followers_url":"https://api.github.com/users/hakanernam/followers","following_url":"https://api.github.com/users/hakanernam/following{/other_user}","gists_url":"https://api.github.com/users/hakanernam/gists{/gist_id}","starred_url":"https://api.github.com/users/hakanernam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hakanernam/subscriptions","organizations_url":"https://api.github.com/users/hakanernam/orgs","repos_url":"https://api.github.com/users/hakanernam/repos","events_url":"https://api.github.com/users/hakanernam/events{/privacy}","received_events_url":"https://api.github.com/users/hakanernam/received_events","type":"User","site_admin":false},"created_at":"2015-12-22T17:33:33Z","updated_at":"2015-12-22T17:33:33Z","body":"Workaround seems to ok. I have not yet seen any problems after adding the annotation. "}}