I have a weird problem - Some class file couldn\'t be read during maven build.
A
and project B
.
After running following command:-
mvn clean package install
I found the issue:
'dependencies.dependency.scope' for org.springframework.boot:spring-boot-starter-data-rest:pom must be one of [provided, compile, runtime, test, system] but is 'import'. @ line 13, column 11
One of the dependency was marked as 'import'. Changing the 'scope' solved the issue for me.