Reputation: 4207
I have converted my project into maven. But the test classes are throwing errors saying that they can't resolve the classes. But the classes to be resolved are within the same package! Below is my project structure.
As shown in the image below it shows errors saying it can't resolve but when I hover over the error I do get the suggestion to import. When I click on the suggestion nothing happens.
Why is this happening? Please advice.
Upvotes: 0
Views: 807
Reputation: 811
You can also try mvn eclipse:clean eclipse:eclipse
on your project and after it refresh the project in eclipse.
Upvotes: 1