The project is normal in eclipse, and an error is reported in IDEA [How to Solve]

Eclipse has always been used, but many employees of the company use idea, so they want to try. Unexpectedly, after importing Maven project, they always report errors. Finally, they find that there is no XML file in Dao in the compiled target, resulting in errors when the listener loads resources

Finally, after repeated search, we finally found the answer

In pom.xml < build> Add to:

Delete the target folder, recompile, and the project starts.
Something magical happened, the project started. It's a real pain in the ass.

Similar Posts: