Maven Build Failure For JBoss AS 7 Hello world example

后端 未结 4 1112
悲&欢浪女
悲&欢浪女 2021-01-12 16:57

Im trying to follow this tutorial: https://docs.jboss.org/author/display/AS7/Helloworld+quickstart

But getting build error when following the simple instructions to

4条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-12 17:50

    You might have to create one (see this page for more details):

    There are two locations where a settings.xml file may live:

    • The Maven install: $M2_HOME/conf/settings.xml
    • A user's install: ${user.home}/.m2/settings.xml

    But I feel the issue is with the version string of the dependency. Hardcode the version and try again:

    
        org.jboss.spec
        jboss-javaee-6.0
        3.0.2.Final
        pom
        import
    
    

    Uncommenting the following line might work too:

    3.0.2.Final
        
    

提交回复
热议问题