Question

I add local maven repository, I add the local dependency in my project. this dependency encompass a Spring configuration file . I want to import this file in an other spring configuration file. What should I do ?

knowing that the dependency tree that includes the file to be imported is as follows: {dependencyXXX}.jar>{PackageByDefault}>springInjectDateAsString.xml

Was it helpful?

Solution

You should be able to just put this in your application context:

<import resource="classpath*:/springInjectDateAsString.xml" />
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top