Announcement Announcement Module
Collapse
No announcement yet.
Spring 3.2.2 with Tiles 3.0.1 is not working Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring 3.2.2 with Tiles 3.0.1 is not working

    I am using Spring 3.2.2 and Tiles 3.0.1. Included all following jars in to my project
    spring-aop-3.2.2.jar
    spring-aspects-3.2.2.jar
    spring-beans-3.2.2.jar
    spring-context-3.2.2.jar
    spring-context-support-3.2.2.jar
    spring-core-3.2.2.jar
    spring-expression-3.2.2.jar
    spring-instrument-3.2.2.jar
    spring-test-3.2.2.jar
    spring-web-3.2.2.jar
    spring-webmvc-3.2.2.jar
    tiles-api-3.0.1.jar
    tiles-autotag-core-runtime-1.1.0.jar
    tiles-core-3.0.1.jar
    tiles-el-3.0.1.jar
    tiles-jsp-3.0.1.jar
    tiles-request-api-1.0.1.jar
    tiles-servlet-3.0.1.jar
    tiles-template-3.0.1.jar
    commons-beanutils-1.8.0.jar
    commons-digester-2.0.jar

    But Still I am getting following error whey try to deploy the application in JBOSS AS 7.0. Please help me how to resolve this issue.

    23:40:47,380 WARN [org.jboss.modules] (MSC service thread 1-2) Failed to define class org.springframework.web.servlet.view.tiles3.Spring WildcardServletTilesApplicationContext in Module "deployment.BB.war:main" from Service Module Loader: java.lang.LinkageError: Failed to link org/springframework/web/servlet/view/tiles3/SpringWildcardServletTilesApplicationContext (Module "deployment.BB.war:main" from Service Module Loader)
    at org.jboss.modules.ModuleClassLoader.defineClass(Mo duleClassLoader.java:396)
    at org.jboss.modules.ModuleClassLoader.loadClassLocal (ModuleClassLoader.java:243)
    at org.jboss.modules.ModuleClassLoader$1.loadClassLoc al(ModuleClassLoader.java:73)
    at org.jboss.modules.Module.loadModuleClass(Module.ja va:517)
    at org.jboss.modules.ModuleClassLoader.findClass(Modu leClassLoader.java:182)
    at org.jboss.modules.ConcurrentClassLoader.performLoa dClassUnchecked(ConcurrentClassLoader.java:468)
    at org.jboss.modules.ConcurrentClassLoader.performLoa dClassChecked(ConcurrentClassLoader.java:456)
    at org.jboss.modules.ConcurrentClassLoader.performLoa dClassChecked(ConcurrentClassLoader.java:423)
    at org.jboss.modules.ConcurrentClassLoader.performLoa dClass(ConcurrentClassLoader.java:398)
    at org.jboss.modules.ConcurrentClassLoader.loadClass( ConcurrentClassLoader.java:120)
    at org.springframework.web.servlet.view.tiles3.TilesC onfigurer.afterPropertiesSet(TilesConfigurer.java: 248) [spring-webmvc-3.2.2.jar:3.2.2]
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.invokeInitMethods(Abstr actAutowireCapableBeanFactory.java:1547) [spring-beans-3.2.2.jar:3.2.2]
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.initializeBean(Abstract AutowireCapableBeanFactory.java:1485) [spring-beans-3.2.2.jar:3.2.2]
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.doCreateBean(AbstractAu towireCapableBeanFactory.java:524) [spring-beans-3.2.2.jar:3.2.2]
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(AbstractAuto wireCapableBeanFactory.java:461) [spring-beans-3.2.2.jar:3.2.2]
    at org.springframework.beans.factory.support.Abstract BeanFactory$1.getObject(AbstractBeanFactory.java:2 95) [spring-beans-3.2.2.jar:3.2.2]
    at org.springframework.beans.factory.support.DefaultS ingletonBeanRegistry.getSingleton(DefaultSingleton BeanRegistry.java:223) [spring-beans-3.2.2.jar:3.2.2]
    at org.springframework.beans.factory.support.Abstract BeanFactory.doGetBean(AbstractBeanFactory.java:292 ) [spring-beans-3.2.2.jar:3.2.2]
    at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:194) [spring-beans-3.2.2.jar:3.2.2]
    at org.springframework.beans.factory.support.DefaultL istableBeanFactory.preInstantiateSingletons(Defaul tListableBeanFactory.java:626) [spring-beans-3.2.2.jar:3.2.2]
    at org.springframework.context.support.AbstractApplic ationContext.finishBeanFactoryInitialization(Abstr actApplicationContext.java:932) [spring-context-3.2.2.jar:3.2.2]
    at org.springframework.context.support.AbstractApplic ationContext.refresh(AbstractApplicationContext.ja va:479) [spring-context-3.2.2.jar:3.2.2]
    at org.springframework.web.servlet.FrameworkServlet.c onfigureAndRefreshWebApplicationContext(FrameworkS ervlet.java:651) [spring-webmvc-3.2.2.jar:3.2.2]
    at org.springframework.web.servlet.FrameworkServlet.c reateWebApplicationContext(FrameworkServlet.java:5 99) [spring-webmvc-3.2.2.jar:3.2.2]
    at org.springframework.web.servlet.FrameworkServlet.c reateWebApplicationContext(FrameworkServlet.java:6 65) [spring-webmvc-3.2.2.jar:3.2.2]
    at org.springframework.web.servlet.FrameworkServlet.i nitWebApplicationContext(FrameworkServlet.java:518 ) [spring-webmvc-3.2.2.jar:3.2.2]
    at org.springframework.web.servlet.FrameworkServlet.i nitServletBean(FrameworkServlet.java:459) [spring-webmvc-3.2.2.jar:3.2.2]
    at org.springframework.web.servlet.HttpServletBean.in it(HttpServletBean.java:136) [spring-webmvc-3.2.2.jar:3.2.2]
    at javax.servlet.GenericServlet.init(GenericServlet.j ava:242) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
    at org.apache.catalina.core.StandardWrapper.loadServl et(StandardWrapper.java:1202) [jbossweb-7.0.10.Final.jar:]
    at org.apache.catalina.core.StandardWrapper.load(Stan dardWrapper.java:1102) [jbossweb-7.0.10.Final.jar:]
    at org.apache.catalina.core.StandardContext.loadOnSta rtup(StandardContext.java:3655) [jbossweb-7.0.10.Final.jar:]
    at org.apache.catalina.core.StandardContext.start(Sta ndardContext.java:3873) [jbossweb-7.0.10.Final.jar:]
    at org.jboss.as.web.deployment.WebDeploymentService.s tart(WebDeploymentService.java:90) [jboss-as-web-7.1.0.Final.jar:7.1.0.Final]
    at org.jboss.msc.service.ServiceControllerImpl$StartT ask.startService(ServiceControllerImpl.java:1811)
    at org.jboss.msc.service.ServiceControllerImpl$StartT ask.run(ServiceControllerImpl.java:1746)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run Task(Unknown Source) [rt.jar:1.6.0_35]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (Unknown Source) [rt.jar:1.6.0_35]
    at java.lang.Thread.run(Unknown Source) [rt.jar:1.6.0_35]
    Caused by: java.lang.NoClassDefFoundError: org/apache/tiles/request/servlet/ServletApplicationContext
    at java.lang.ClassLoader.defineClass1(Native Method) [rt.jar:1.6.0_35]
    at java.lang.ClassLoader.defineClassCond(Unknown Source) [rt.jar:1.6.0_35]
    at java.lang.ClassLoader.defineClass(Unknown Source) [rt.jar:1.6.0_35]
    at java.security.SecureClassLoader.defineClass(Unknow n Source) [rt.jar:1.6.0_35]
    at org.jboss.modules.ModuleClassLoader.doDefineOrLoad Class(ModuleClassLoader.java:327)
    at org.jboss.modules.ModuleClassLoader.defineClass(Mo duleClassLoader.java:391)
    ... 38 more
    1.6.0_35]
Working...
X