I have a class HillfortStore in this package:
package org.wit.hillforts.models
Messed up the package name in the class (missing the \'s\'):
I had a similar problem because Lombok plugin didn't work with new gradle. Just removed these lines:
compileOnly 'org.projectlombok:lombok:1.18.4' annotationProcessor 'org.projectlombok:lombok:1.18.4'
and the problem disappeared.
Maybe you also have some kind of "troubled" plugin that doesn't get along with new gradle)