Hi
I am trying to run openmrs-module-example-spring-mvc-annotation through openMRS 1.9
Github link:
https://github.com/openmrs/openmrs-module-example-spring-mvc-annotationI have openmrs 1.5.x checked out in the same workspace in which I have the module checked out, as in build.xml of module it takes openmrs 1.5.x in its classpath.
When I first compiled the module, I got the following error.
Paste bin link:
http://pastebin.com/M6iSUXGwTo solve these issues I added hibernate3.jar, commons-logging-1.0.4.jar, spring-webmvc.jar, servlet-api-2.5.jar, spring-2.5.6.jar in my build path through eclipse, as well as in lib directory.
Now "ant package-module" succeeded, however when I upload the .omod file created in my openMRS, it is unable to start, and gives the following error:
Unexpected exception parsing XML document from URL [jar:file:/tmp/1400444421056.openmrs-lib-cache/jspexample/jspexample.jar!/moduleApplicationContext.xml]; nested exception is org.springframework.beans.FatalBeanException: Class [org.springframework.context.config.ContextNamespaceHandler] for namespace [http://www.springframework.org/schema/context] does not implement the [org.springframework.beans.factory.xml.NamespaceHandler] interface
The complete trace is as follows:
Pastebin link:
http://pastebin.com/7yps8UWVIt would be great if you can tell how to resolve this issue.
Thanks and regards
Rakshit