You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@SuppressWarnings({"rawtypes", "unchecked"})
@RequestMapping(method = RequestMethod.GET)
public ResponseEntity<?> findEscrituras(Pageable p, PagedResourcesAssembler<EscriturasBO> pagedResourcesAssembler) {
Collection<Link> links = new ArrayList<Link>();
// link to search(filter)
links.add(linkTo(
methodOn(EscriturasRestController.class).searchEscrituras(p, pagedResourcesAssembler,
new EscriturasBO())).withRel(EscriturasResource.SEARCH_REL));
It works ok until you make any modification in the application.
After devtools reload, invoking "findEscrituras" methods produces:
java.lang.ClassCastException: com.qipert.tseo.rest.escrituras.mvc.EscriturasRestController$$EnhancerByCGLIB$$2770108b cannot be cast to com.qipert.tseo.rest.escrituras.mvc.EscriturasRestController
at com.qipert.tseo.rest.escrituras.mvc.EscriturasRestController.findEscrituras(EscriturasRestController.java:123) ~[classes/:na]
at com.qipert.tseo.rest.escrituras.mvc.EscriturasRestController$$FastClassBySpringCGLIB$$cfc373ab.invoke(<generated>) ~[spring-core-4.2.0.RELEASE.jar:na]
The text was updated successfully, but these errors were encountered:
Using, from spring-boot-starter 1.3.0.M5
It works ok until you make any modification in the application.
After devtools reload, invoking "findEscrituras" methods produces:
The text was updated successfully, but these errors were encountered: