Timeline for answer to Java WAR - Load Spring beans from an external JAR by Yugang Zhou
Current License: CC BY-SA 3.0
Post Revisions
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 11, 2013 at 8:51 | comment | added | aloplop85 | Well, the needed path was really my problem. I finally did it thanks to your help :) with: <import resource="classpath:myExternalApplicationContext.xml"/> as the XML was directly under the JAR (currently, not inside any package as com/gmail/hippoom). So -> {classpath} = "". Now with that import I load perfectly the external applicationContext. Thanks again for your help. | |
| Jul 11, 2013 at 8:49 | vote | accept | aloplop85 | ||
| Jul 11, 2013 at 1:29 | history | edited | Yugang Zhou | CC BY-SA 3.0 | added 585 characters in body |
| Jul 10, 2013 at 16:14 | comment | added | aloplop85 | As I commented in the post I had no succeed using those approaches. How should the string entered as resource (in WAR´s appContext.xml approach) look like (please, provide an example)? Thanks. | |
| Jul 10, 2013 at 15:44 | history | answered | Yugang Zhou | CC BY-SA 3.0 |