how to fix configuration not found in guava error

前端 未结 2 401
名媛妹妹
名媛妹妹 2021-01-27 22:48

I have tried to resolve dependencies from local filesystem; to do so, I have wrote ivy.xml, ivyconf.xml and build.xml. However, my scripts donot work and couldnot resolve depend

2条回答
  •  广开言路
    2021-01-27 23:35

    Your ivy configuration file is invalid ("resolvers" not "resolves"). Additionally you're going to have problems with dependency versioning if the jar file does not contain a version in the filename.

    My suggestion is to use the following ivy configuration file:

    
      
      
        
        
          
        
      
      
        
      
    
    

    You'll then have a choice of declaring your dependencies as follows:

    
    
    
    

    The first will retrieve from the Maven central repository, the second will retrieve from your local filesystem.

    See the following answers for more examples of this approach:

    • IVY Build, how do I use an extlib directory in the project?
    • Ivy dependency management for legacy repository

    Hope this helps.

提交回复
热议问题