Hi,
In my resources I am using the annotation @Secured (cf. code bellow).
suppose that AOP is implicitly utilized, why it cannot find CGLIB in the
classpath however it is present in the project dependencies? (cf. maven
entry bellow)
@Path("/students/")
@Component
@Scope("request")
public class StudentsResource {
.....
@Secured({"ROLE_USER", "USER_ACCESS"})
@GET
@Produces({MediaType.TEXT_HTML, MediaType.APPLICATION_XML,
MediaType.APPLICATION_JSON})
public Viewable get(
@QueryParam("start") @DefaultValue("0") int start,
@QueryParam("max") @DefaultValue("10") int max,
@QueryParam("expandLevel") @DefaultValue("1") int expandLevel,
@QueryParam("query") @DefaultValue("SELECT e FROM Student e")
String query) {
PersistenceService persistenceSvc =
PersistenceService.getInstance();
try {
persistenceSvc.beginTx();
StudentsConverter converter = new
StudentsConverter(getEntities(start, max, query),
uriInfo.getAbsolutePath(), expandLevel);
return new Viewable("/students.jsp", converter.getEntities());
} finally {
persistenceSvc.commitTx();
persistenceSvc.close();
}
}
.....
}
---
<dependency>
<groupId>cglib</groupId>
<artifactId>cglib-nodep</artifactId>
<version>2.2</version>
</dependency>
--
View this message in context: http://n2.nabble.com/Jersey-Spring-CGLIB2-is-not-available-tp4005853p4011801.html
Sent from the Jersey mailing list archive at Nabble.com.