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

后端 未结 15 1458
挽巷
挽巷 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 09:56

    Since Apache Maven repository URL is updated from http://repo.maven.apache.org/maven2/ to https://repo.maven.apache.org/maven2/ in NetBeans 8.2 or lower version we are facing this issue.

    So what's the solution?

    Solution 1:- User Terminal to download an updated maven dependencies Check out this Guide on Maven.Apache.Org

    Solution 2:- Update your NetBeans, Move to Apache NetBeans 11

提交回复
热议问题