Getting an error “Could not load definitions from resource net/sf/antcontrib/antcontrib.properties. It could not be found.”

后端 未结 6 1779
無奈伤痛
無奈伤痛 2020-12-17 09:54

I am getting an error Could not load definitions from resource net/sf/antcontrib/antcontrib.properties. It could not be found. when I am trying to ant build on

6条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-17 10:48

    It would appear that you haven't installed the ant contrib jar into the correct lib directory. This can be difficult to do if you have several installations of ANT.

    My suggestion is to install your ANT plugins into the "$HOME/.ant/lib" directory. You could go one step further and automate the process as follows:

    
    
        
    
        
            
            
        
    
        
            
                
                
                    
                
            
        
    
    
    

提交回复
热议问题