Updating maven dating antique whiskey bottles
I get these errors trying to update the indices for a Maven repository: File Not Found Exception: Resource nexus-maven-repository-index.properties does not exist and this Caused by: Resource Does Not Exist Exception: File: , Reason Phrase: Not Found.
I searched online but didn't find anything that helped.
After refreshing, all the project errors disappeared.
This is because the junit dependency was added to the project .classpath file.
This variable needs to point to the local maven repository. I went to Window → Preferences and Java SW → Build Path → Classpath Variables.