Removing maven framework
已回答
I accidentally added Maven framework to my Java project, is there any way to undo this?
请先登录再写评论。
Did you import the project from pom.xml?
In that case you'd need to delete .idea directory and create/import the project again from the existing sources, not from Maven.
@... That is a good solution. I removed the pom.xml, and deleted the idea folder, then opened the project again in intelliJ and the problem was resolved. but I had to redo marking the source folders and setting the out directory, etc.