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/eclipse/src/main/resources/config/spring/applicationContext.xml
While my workspace is in c:/Work/Core/ and inside src/main/resources.
Is there any configuration for pom.xml to order it to look relative from its position??
EDIT #1:
I am running Maven from Eclipse. From command line it compiles without problems.
I am trying to run Junit tests.
EDIT #2:
All dependencies, web.xml,… are OK – I know this because the same files other developer is using on Linux and with Idea and there the project is working without problems. With my project settings junit tests are not working, compiling wsdl files is not working – both because it can not find resources.
EDIT #3:
Found the answer – it is posted here down.
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
and in build tag
<finalName>core-maven</finalName>which I wanted to change in just “core”, but it did not work, until I found it and replace in files under .settings folder.