One of the applications my team and I maintain has a “Case” model class with a String attribute named “aNumber”.
Adding a method named “findByANumber” to the associated repository interface results in multiple unit-test failures, with some tests failing due to the following error message:
PathElementException: Could not resolve property 'ANumber' of 'model.Case'
Does anyone know why this is happening, and if so, how to fix this ?