SEC-2350: Remove warning whe using Spring 4