[Solved] the resource is not on the build path of a java project

Error:

After a normal java project is transferred to a maven project, the resource is not on the build path of a java project

Solution:

Check java build source, delete the error package and re-add  src source package

Read More: