1.there is no problem run unit test, and start spring applicationContext,
by "mvn install"
2.add maven-jar-plugin in pom, set outputDirectory, and run "mvn install"
again
spring will load duplicated libraries in different directory, that cause
spring start failed.
(target/lib is my " outputDirectory ")

Loading XML bean definitions from URL
[jar:file:/D:/work/git/local-servicecomb/integration-tests/target/lib/java-chassis-core-1.1.0-SNAPSHOT.jar!/META-INF/spring/cse.bean.xml]
Loading XML bean definitions from URL
[jar:file:/C:/Users/Administrator/.m2/repository/org/apache/servicecomb/java-chassis-core/1.1.0-SNAPSHOT/java-chassis-core-1.1.0-SNAPSHOT.jar!/META-INF/spring/cse.bean.xml]

can anybody help me to avoid this problem?
thanks.

Reply via email to