The following artifacts could not be resolved: javax.jms:jms:jar:1.1

后端 未结 10 1730
别跟我提以往
别跟我提以往 2020-12-04 09:27

I am trying to compile a maven project, but I systematically get the following error message:

[ERROR]Failed to execute goal on project ...:
Could not resolve         


        
10条回答
  •  情书的邮戳
    2020-12-04 10:00

    Another solution if you don't want to modify your settings:

    Download jms-1.1.jar from JBoss repository then:

    mvn install:install-file -DgroupId=javax.jms -DartifactId=jms -Dversion=1.1 -Dpackaging=jar -Dfile=jms-1.1.jar

提交回复
热议问题