Removing maven framework
Answered
I accidentally added Maven framework to my Java project, is there any way to undo this?
Please sign in to leave a comment.
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.