You were right. The class was not imported.

I add the statement:

import org.springframework.context.support.ClassPathXmlApplicationContext;

and the compilation passed fine.

What miss led me was that, under Eclipse, the maven dependencies for Spring
are not suggested.

Indeed, I installed the Maven plugin in the Eclipse Indigo from the Eclipse
Marketplace and when I do a right click on the project tree root and, under
the Maven contextual menu, do an Update Dependencies... the spring library
is not retrieved.

I do a mvn eclipse:eclipse beforehand as well.

Stephane

--
View this message in context: 
http://maven.40175.n5.nabble.com/Spring-context-dependency-not-found-tp5444070p5444213.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to