mvn archetype:generate does not work-no plugin found for prefix 'archetype'

后端 未结 15 1519
挽巷
挽巷 2020-12-01 09:05

I want to build a simple project using a existing archetype. But I can\'t run mvn archetype:generate as it keeps telling me the following information

         


        
15条回答
  •  悲哀的现实
    2020-12-01 10:01

    I was banging with this problem 2 days, I checked proxy , copied settings.xml from conf folder , deleted user local .m2 folder , came out of eclipse and installed maven directly and tried . None of the above worked.

    Finallay the problem fixed by upgrading java home form 1.7 to 1.8 . My maven version is Apache Maven 3.6.3 .

    Maven should report proper error for the specific issue but it is not.

    Up voted the suggestion of java upgrade in this thread , previously they were down voted

提交回复
热议问题