错误:在Helidon SE项目中未找到指定的文件’helidon-quickstart-se.jar’。

huangapple go评论72阅读模式
英文:

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.

huangapple
  • 本文由 发表于 2020年8月25日 13:24:19
  • 转载请务必保留本文链接:https://go.coder-hub.com/63572513.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定