Autowiring fails, when jars are loaded as per skinny war concept where classes involved have default accessors
问题 Our application is based on skinny war concept( http://maven.apache.org/plugins/maven-war-plugin/examples/skinny-wars.html ). . |-- META-INF | `-- application.xml |-- lib | -- core application jars | -- spring jars | -- common jar |-- war1-1.0.0.war | --war1-jar1-1.0.0.jar `-- war2-1.0.0.war | --war2-jar1-1.0.0.jar We have spring jars and other core application jars loaded at application level. The common jar and the core application jars have their own applicationContext.xml. Also the wars