@Autowired is returning null in Spring Boot and Jersey combination

Posted on

@Autowired is not working when I use the combinations of Spring Boot, Jersey and EAP 7.1 version>

Error log:
10:50:11,664 ERROR [org.springframework.boot.web.support.ErrorPageFilter] (default task-3) Forwarding to error page from request [/api/v1/schedules/] due to exception [java.lang.NullPointerException]: org.jboss.resteasy.spi.UnhandledException: java.lang.NullPointerException
at org.jboss.resteasy.core.ExceptionHandler.handleApplicationException(ExceptionHandler.java:78)

Attachments