Caused by: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.springframework.security.oauth2.provider.error.OAuth2AuthenticationEntryPoint] for bean with name 'oAuth2AuthenticationEntryPoint' defined in ServletContext resource [/WEB-INF/security-context.xml]; nested exception is java.lang.ClassNotFoundException: org.springframework.security.oauth2.provider.error.OAuth2AuthenticationEntryPoint
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'RestletComponentService' defined in ServletContext resource [/WEB-INF/camelContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'getSuppliersData': Invocation of init method failed; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.springframework.security.oauth2.provider.error.OAuth2AuthenticationEntryPoint] for bean with name 'oAuth2AuthenticationEntryPoint' defined in ServletContext resource [/WEB-INF/security-context.xml]; nested exception is java.lang.ClassNotFoundException: org.springframework.security.oauth2.provider.error.OAuth2AuthenticationEntryPoint
If you are getting any of the above exceptions please add the below dependency in your pom.xml and clean your project,clean and build the ware and refresh it try to up the server.
Follow below URL for clarification
http://stackoverflow.com/questions/33807545/what-is-wrong-with-this-spring-oauth2-configuration-file
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'RestletComponentService' defined in ServletContext resource [/WEB-INF/camelContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'getSuppliersData': Invocation of init method failed; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.springframework.security.oauth2.provider.error.OAuth2AuthenticationEntryPoint] for bean with name 'oAuth2AuthenticationEntryPoint' defined in ServletContext resource [/WEB-INF/security-context.xml]; nested exception is java.lang.ClassNotFoundException: org.springframework.security.oauth2.provider.error.OAuth2AuthenticationEntryPoint
If you are getting any of the above exceptions please add the below dependency in your pom.xml and clean your project,clean and build the ware and refresh it try to up the server.
<dependency>
<groupId>org.springframework.security.oauth</groupId>
<artifactId>spring-security-oauth2</artifactId>
<version>2.0.8.RELEASE</version>
</dependency>
Follow below URL for clarification
http://stackoverflow.com/questions/33807545/what-is-wrong-with-this-spring-oauth2-configuration-file
No comments:
Post a Comment