英文:
ERROR The specified file 'helidon-quickstart-se.jar' not exists in helidon se project
问题
我对Helidon非常陌生,一直在尝试使用快速启动原型来生成Helidon项目,但似乎对我来说一点效果都没有。请您帮帮我,不胜感激。
我尝试过的方法如下:
mvn -U archetype:generate "-DinteractiveMode=false" "-DarchetypeGroupId=io.helidon.archetypes" "-DarchetypeArtifactId=helidon-quickstart-se" "-DarchetypeVersion=1.3.0" "-DgroupId=io.helidon.examples" "-DartifactId=helidon-quickstart-se" "-Dpackage=io.helidon.examples.quickstart.se" "-DgeneratePom=true"
而我遇到的错误如下:
错误信息
英文:
I am very new to Helidon and have been trying to generate a Helidon project using the quickstart archetype, but it seems to be not working at all for me. can you please help me out.
Thanks in advance.
what I have tried is as follows:
mvn -U archetype:generate "-DinteractiveMode=false" "-DarchetypeGroupId=io.helidon.archetypes" "-DarchetypeArtifactId=helidon-quickstart-se" "-DarchetypeVersion=1.3.0" "-DgroupId=io.helidon.examples" "-DartifactId=helidon-quickstart-se" "-Dpackage=io.helidon.examples.quickstart.se" "-DgeneratePom=true"
and the error that I am getting is as follows:
error message
答案1
得分: 2
我发现在我的中央仓库中没有1.3.0版本的helidon-quickstart-se jar包,所以我不得不使用以下命令将特定的jar包安装到我的中央仓库中:
mvn install:install-file -Dfile=helidon-quickstart-se.jar -DgroupId=io.helidon.archetypes -DartifactId=helidon-quickstart-se -Dversion=1.3.0 -Dpackaging=jar
然后它对我起作用了。
希望这能帮助那些遇到相同问题的人。
英文:
I figured out that the 1.3.0 version of helidon-quickstart-se jar was not present in my central repository, so I had to install the particular jar in my central repository using the command:
mvn install:install-file -Dfile=helidon-quickstart-se.jar -DgroupId=io.helidon.archetypes -DartifactId=helidon-quickstart-se -Dversion=1.3.0 -Dpackaging=jar
Then it worked for me.
Hope this helps someone who is stuck with the same issue.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论