6

I have converted my java web project to maven project using m2e plugin in eclipse. Now i need to convert it back to java web project. So now how it is possible to change it back to java web project.

Tarun Chaudhary
  • 1,046
  • 2
  • 12
  • 20

3 Answers3

17

Please try the following:

  1. Open context menu on the maven project
  2. Select "Maven" -> "Disable Maven Nature"

Hope that helps.

DirkNM
  • 2,614
  • 15
  • 21
  • Why not? If I add the maven nature to a normal java project and disable it later, it's just the normal java project like before. – DirkNM Oct 27 '14 at 13:30
  • Well, I won't compile in the ./bin folder back. You may have to reconfigure your .classpath and .projects and others files. – antogerva Jul 23 '15 at 05:47
2

Use this maven command

mvn eclipse:eclipse

http://mytechnologythought.blogspot.com/2017/09/convert-maven-project-to-eclipse.html

Zoe
  • 27,060
  • 21
  • 118
  • 148
Vipul Gulhane
  • 761
  • 11
  • 16
0

I had the same problem when attempting to use Maven with EFXclipse. I wanted to revert, but faced all kinds of unknown errors after following the answer from @DirkNM

So, I just created a new project of my particular type (be it an EFXclipse project, web, java, etc.)

And then re-added all source files and project dependencies to build-path manually.

Sounds harder, but was way easier... considering I didn't have to go looking for all kinds of random settings not reverted back using the answer from @DirkNM

Community
  • 1
  • 1