maven archetype:generate failure caused by org.apache.maven.plugin.MojoFailureException

后端 未结 5 1085
天涯浪人
天涯浪人 2020-12-11 20:57

I have installed maven 2 and following the tutorial as mentioned in the below link

maven.apache.org/guides/getting-started/maven-in-five-minutes.html

But whi

5条回答
  •  Happy的楠姐
    2020-12-11 21:25

    If you encounter this error while using an IDE (such as Eclipse) then close and reopen the IDE and try again.

    I received this error (Error merging velocity templates) on Windows 10 using Eclipse after creating then deleting a project into the target folder, then creating my Maven project into the target folder. First, I tried relaxing security on the folder via my Admin account -- but, I was denied access! Finally, after closing Eclipse I saw the folder vanish in Windows Explorer.

    I assume that my IDE was exclusively holding the handle for the folder, so it is generally worth noting on Windows that you may have to close other programs (or restart) to fix this issue.

提交回复
热议问题