Could not find artifact javax.jms:jms:jar:1.1

maven install报错:

The following artifacts could not be resolved: javax.jms:jms:jar:1.1, com.sun.jdmk:jmxtools:jar:1.2.1, com.sun.jmx:jmxri:jar:1.2.1: Failure to find javax.jms:jms:jar:1.1 in http://192.168.8.29:29106/repository/maven-public/ was cached in the local repository, resolution will not be reattempted until the update interval of nexus29-maven-releases has elapsed or updates are forced -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

 

这种问题是资源依赖的问题,解决方法如下,分情况:


    org.apache.zookeeper
    zookeeper
    3.3.2
    
        
            com.sun.jmx
            jmxri
        
        
            com.sun.jdmk
            jmxtools
        
        
            javax.jms
            jms
        
    

或者


            log4j
            log4j
            1.2.15
            
               
                    javax.mail
                    mail
               

               
                    javax.jms
                    jms
               

               
                    com.sun.jdmk
                    jmxtools
               

               
                    com.sun.jmx
                    jmxri
               

           

            compile
        

你可能感兴趣的:(系统问题,jms:jar:,artifact,maven)