Exception starting Spring application from Java
问题 I am able to compile and start my Spring project using Maven: mvn -e clean compile exec:java -Dexec.mainClass=de.fraunhofer.fkie.tet.vmware.manager.Test However, when I assemble all jars in a single file using the maven-assembly-plugin (including applicationContext.xml ), I always get an Exception during the java execution: java -cp target/test-jar-with-dependencies.jar:. de.fraunhofer.fkie.tet.vmware.manager.Test INFO: Loading XML bean definitions from class path resource [applicationContext