Java project cannot import entity class package and service package, controller layer reports error, fix project setup is OK

Frame SSH

The previous packages are all OK. I create a management class of the service layer. When I add a new service, it appears:

Java project cannot import entity class package and service package, controller layer reports an error,

At the beginning, I thought that the package was wrong. I deleted the package in the controller layer and imported it again, but it still couldn’t work,

Check the cause of the error and find out

Then select fix project setup and it will be OK.

Record down, in Baidu did not find the answer, follow-up continuous attention, have to know the reason can leave a message, thank you~~

Read More: