spring-test dependency was incorrectly set to 'compile' scope, updated to 'test'.