We are trying to develop custom B2(capella) supporting RESTFul webservices and implement OAUTH 1.0 Zero legged as security.
We have encountered an deployment error with the building block and the error is given below,
Error only happens if we include the below aop annotation to the code
Spring version :4.1.1.RELEASE
Spring security version : 3.2.6
Spring security oauth: 2.0.7
Error creating bean with name 'PCCPServicesController' defined in file
Initialization of bean failed; nested exception is org.springframework.aop.framework.AopConfigException:
Could not generate CGLIB subclass of class [class edu.capella.pccp.rest.PCCPServicesController]:
Common causes of this problem include using a final class or a non-visible class;
nested exception is org.springframework.cglib.core.CodeGenerationException:
Caused by: java.lang.LinkageError: loader
(instance of blackboard/tomcat/servletcontainer/PlugInOverrideClassLoader):
attempted duplicate class definition for name: "edu/capella/pccp/rest/PCCPServicesController$$EnhancerBySpringCGLIB$$1bd839f"
It would be of great help if we get a suggestion/solution to this deployment issue
If OAUTH 1.0 Zero legged is not supported , suggest us with any other security can be implemented and supported by Blackboard.
Thanks and regards