@Autowired not working on jersey resource
workflowService is null. The bean configuration is correct because manual injection works fine in other portions of the application. Here's my resource: @Path("/workflowProcess") @Consumes({MediaType.APPLICATION_JSON}) @Produces({MediaType.APPLICATION_JSON}) public class WorkflowProcessResource { @Autowired WorkflowService workflowService; @Autowired WorkflowProcessService workflowProcessService; @GET @Path ("/getWorkflowProcesses/{uuid}") public Collection<WorkflowProcessEntity> getWorkflows (@PathParam("uuid") String uuid) { WorkflowEntity workflowEntity = workflowService.findByUUID(uuid);