Maven and Eclipse problem - looking for resources

后端 未结 6 966
灰色年华
灰色年华 2020-12-18 12:15

I have a problem, that maven is looking for resources inside of Eclipse installation folder.

It is saying:

This file was not found: file:/C:/eclipse/         


        
6条回答
  •  误落风尘
    2020-12-18 12:42

    Got it... Finally.. I don't know why, but Eclipse just does not refresh its own settings from Mavens.

    I had to change .classpath:

    
    
        
        
        
        
        
            
                
            
        
        
        
        
    
    

    In the fourth line, there excluding="**" - I removed this, and it worked.

    After this, I also had problems with name of the project. In pom.xml was

    core-maven
    core-maven
    

    and in build tag core-maven which I wanted to change in just "core", but it did not work, until I found it and replace in files under .settings folder.

提交回复
热议问题