Removing maven framework

已回答

I accidentally added Maven framework to my Java project, is there any way to undo this?

1

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.

0
Avatar
Permanently deleted user

@... 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.  

 

 

0

请先登录再写评论。