Maven dependency log4j error

前端 未结 2 2006
猫巷女王i
猫巷女王i 2021-02-13 22:18

Hello everyone I have error which breaks up my build for no reason, here is the error message :

error: error reading
/.m2/repository/com/sun/jdmk/jmxtools/1.2.1/         


        
2条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-13 22:51

    You most likely don't need jmxtools or jmxri, so you can probably exclude them from your dependencies:

    
        log4j
        log4j
        1.2.15
        provided
        
            
              com.sun.jdmk
              jmxtools
            
            
              com.sun.jmx
              jmxri
            
        
    
    

提交回复
热议问题