Skip to content

PathElementException Could not resolve property 'ANumber' of 'model.Case' when property names start with two uppercase letters #3824

@aroc725

Description

@aroc725

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions