[jboss-user] [JBoss/Spring Integration] - Spring in Jboss
dito.subandono
do-not-reply at jboss.com
Mon Mar 30 00:10:54 EDT 2009
Hi there. I'm quite new to jboss. I have some questions
I'm running
- JDK 1.6
- JBoss 4.2.3
- Spring Framework 2.5.6
- Netbean IDE 6.5
I'm trying to deploy a simple Spring project without spring lib packaged
inside the war but i want the spring lib are copied inside /server/default/lib so the lib is shared. I have copied
jstl.jar
| spring-2.5.jar
| spring-webmvc-2.5.jar
| standard.jar
| to /server/default/lib
|
| when i access a jsp file with the following code :
|
| <%@page contentType="text/html" pageEncoding="UTF-8"%>
| | <%@taglib uri="http://www.springframework.org/tags" prefix="spring" %>
| |
| | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
| | "http://www.w3.org/TR/html4/loose.dtd">
| |
| | <html>
| | <head>
| | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
| | <title>Enter your name</title>
| | </head>
| | <body>
| | <h2>Enter your name</h2>
| |
| | <spring:nestedPath path="name">
| | <form action="" method="post">
| | Name:
| | <spring:bind path="value">
| | <input type="text" name="${status.expression}" value="${status.value}">
| | </spring:bind>
| | <input type="submit" value="OK">
| | </form>
| | </spring:nestedPath>
| |
| | </body>
| | </html>
|
|
| i get this following error :
|
| org.apache.jasper.JasperException: The absolute uri: http://www.springframework.org/tags cannot be resolved in either web.xml or the jar files deployed with this application
| |
|
|
| i think JBoss/Spring integration could help me solve the problem.
| But when i download spring-deployer 2.1 and deploy it to jboss i get this following error :
|
| 10:21:35,561 ERROR [MainDeployer] Could not create deployment: file:/Users/dito/servers/jboss-4.2.3.GA/server/default/deploy/jboss-spring.deployer/
| | org.jboss.deployment.DeploymentException: Cannot instanciate MBean: org.jboss.spring.deployment.SpringDeployer; - nested throwable: (javax.management.NotCompliantMBeanException: Cannot instanciate MBean: org.jboss.spring.deployment.SpringDeployer)
|
| really appreciate any help.
| thanks in advance
|
|
|
|
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4221812#4221812
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4221812
More information about the jboss-user
mailing list