working springframework module
mseguri Aug 4, 2016 12:43 PMHello,
Does anybody have a working module.xml to deploy in $JBOSS_HOME/modules/org/springframework? I'm struggling with all kind of errors. I won't open a thread for each error but please help me here to write a working module. This is so time consuming I'm thinking to rollback and just put all dependencies inside my maven project and keep those giant war files.
Last error is "org.apache.jasper.JasperException: JBWEB004113: The absolute uri: http://www.springframework.org/tags cannot be resolved in either web.xml or the jar files deployed with this application". I copied various *.tld inside /WEB-INF/lib without success.
This is what I wrote till now:
<?xml version="1.0" encoding="UTF-8"?> <module xmlns="urn:jboss:module:1.2" name="org.springframework"> <resources> <resource-root path="aopalliance-1.0.jar"/> <!-- Contains Jackson ObjectMapper --> <resource-root path="jackson-core-2.6.5.jar"/> <resource-root path="jackson-annotations-2.6.5.jar"/> <resource-root path="jackson-databind-2.6.5.jar"/> <resource-root path="spring-aop-4.0.7.RELEASE.jar"/> <resource-root path="spring-beans-4.0.7.RELEASE.jar"/> <resource-root path="spring-context-4.0.7.RELEASE.jar"/> <resource-root path="spring-core-4.0.7.RELEASE.jar"/> <resource-root path="spring-expression-4.0.7.RELEASE.jar"/> <resource-root path="spring-jdbc-4.0.7.RELEASE.jar"/> <resource-root path="spring-orm-4.0.7.RELEASE.jar"/> <resource-root path="spring-tx-4.0.7.RELEASE.jar"/> <resource-root path="spring-web-4.0.7.RELEASE.jar"/> <!-- Contains spring.tld and spring-form.tld but they are not found --> <resource-root path="spring-webmvc-4.0.7.RELEASE.jar"/> </resources> <dependencies> <module name="javax.api"/> <module name="javax.persistence.api"/> <module name="javax.servlet.api"/> <!-- Contains javax.servlet.jsp.jstl.core.Config --> <module name="javax.servlet.jstl.api"/> <module name="javax.transaction.api"/> <module name="org.apache.commons.logging"/> <module name="org.jboss.vfs"/> </dependencies> </module>