Cannot resolve net.sf.json-lib:json-lib:2.4 Maven引入net.sf.json、net.sf.JSONObject依赖 jar包

在pom.xml

错误实例:



       net.sf.json-lib

       json-lib

       2.4

Cannot resolve net.sf.json-lib:json-lib:2.4 Maven引入net.sf.json、net.sf.JSONObject依赖 jar包_第1张图片

 

正确做法:


        
            commons-beanutils
            commons-beanutils
            1.9.3
        
        
            commons-collections
            commons-collections
            3.2.1
        
        
            commons-lang
            commons-lang
            2.6
        
        
            commons-logging
            commons-logging
            1.1.1
        
        
            net.sf.ezmorph
            ezmorph
            1.0.6
        
        
            net.sf.json-lib
            json-lib
            2.4
            jdk15
            
        
        

你可能感兴趣的:(maven,json,jar)