5 Replies Latest reply on Dec 5, 2011 1:16 AM by lwen ma

    Deploy to jboss7.0.1 got NoSuchMethodError but deploy to 7.0.0 work well

    lwen ma Newbie

      I create a simple test.war which use spring3MVC and jackson-1.7.9, it work well in jboss 7.0.0 , but i get error when deploy it to jboss 7.0.1.

       

      code:

       

      package com.test.actions.jackson;
      
      import org.codehaus.jackson.map.ObjectMapper;
      
      import com.test.weather.ifc.Weather;
      
      import org.springframework.stereotype.Controller;
      import org.springframework.ui.Model;
      import org.springframework.web.bind.annotation.RequestMapping;
      import org.springframework.web.bind.annotation.RequestMethod;
      
      @Controller
      @RequestMapping(value = "/jackson")
      public class JacksonController {
          private static final ObjectMapper JSON_OBJECT_MAPPER = new ObjectMapper();
          private static final String JSON_STR = "{\"creationTime\":1313548241525}";
      
          @RequestMapping(method = RequestMethod.GET)
          public String hello(Model model) {
              Weather weather = null;
              try {
                  weather = JSON_OBJECT_MAPPER.readValue(JSON_STR, Weather.class);
              } catch (Exception e) {
                  e.printStackTrace();
              }
              model.addAttribute("weather", weather);
              return "weather/weather";
          }
      }
      

       

      error log:

       

      Calling G:\jboss-as-7.0.1.Final\bin\standalone.conf.bat
      ===============================================================================
      
        JBoss Bootstrap Environment
      
        JBOSS_HOME: G:\jboss-as-7.0.1.Final
      
        JAVA: C:\Program Files\Java\jdk1.6.0_26\bin\java
      
        JAVA_OPTS: -Dprogram.name=standalone.bat -Xms512M -Xmx512M -XX:PermSize=256M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client
      .gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dorg.jboss.resolver.warning=true -Djboss.modules.system.pkg
      s=org.jboss.byteman -server
      
      ===============================================================================
      
      15:01:08,504 信息    [org.jboss.modules] JBoss Modules version 1.0.1.GA
      15:01:08,816 INFO  [org.jboss.msc] JBoss MSC version 1.0.0.GA
      15:01:08,873 INFO  [org.jboss.as] JBoss AS 7.0.1.Final "Zap" starting
      15:01:09,796 WARN  [org.jboss.as] No security realm defined for native management service, all access will be unrestrict
      ed.
      15:01:09,804 INFO  [org.jboss.as] creating http management service using network interface (management) port (9990)
      15:01:09,888 WARN  [org.jboss.as] No security realm defined for http management service, all access will be unrestricted
      .
      15:01:09,916 INFO  [org.jboss.as.connector.subsystems.datasources] Deploying JDBC-compliant driver class org.h2.Driver (
      version 1.2)
      15:01:09,919 INFO  [org.jboss.as.logging] Removing bootstrap log handlers
      15:01:09,934 INFO  [org.jboss.as.clustering.infinispan.subsystem] (Controller Boot Thread) Activating Infinispan subsyst
      em.
      15:01:10,051 INFO  [org.jboss.as.naming] (Controller Boot Thread) Activating Naming Subsystem
      15:01:10,075 INFO  [org.jboss.as.naming] (MSC service thread 1-3) Starting Naming Service
      15:01:10,078 INFO  [org.jboss.as.osgi] (Controller Boot Thread) Activating OSGi Subsystem
      15:01:10,101 INFO  [org.jboss.as.security] (Controller Boot Thread) Activating Security Subsystem
      15:01:10,118 INFO  [org.jboss.remoting] (MSC service thread 1-3) JBoss Remoting version 3.2.0.Beta2
      15:01:10,140 INFO  [org.xnio] (MSC service thread 1-3) XNIO Version 3.0.0.Beta3
      15:01:10,155 INFO  [org.xnio.nio] (MSC service thread 1-3) XNIO NIO Implementation Version 3.0.0.Beta3
      15:01:10,416 INFO  [org.apache.catalina.core.AprLifecycleListener] (MSC service thread 1-1) The Apache Tomcat Native lib
      rary which allows optimal performance in production environments was not found on the java.library.path: C:\Program File
      s\Java\jdk1.6.0_26\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;E:\SoftWares\opensource\ant\apache-ant-1.7
      .1\bin;E:\SoftWares\opensource\maven\apache-maven-3.0.3\bin;C:\Program Files\Java\jdk1.6.0_26\bin;C:\Windows\system32;C:
      \Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\TortoiseSVN\bin;F:\Progra
      mFiles\MySQL\MySQL Server 5.0\bin;C:\Program Files\Common Files\Thunder Network\KanKan\Codecs;C:\Program Files\IDM Compu
      ter Solutions\UltraEdit\;.
      15:01:10,442 INFO  [org.jboss.as.ee] (Controller Boot Thread) Activating EE subsystem
      15:01:10,493 INFO  [org.jboss.as.remoting] (MSC service thread 1-3) Listening on /127.0.0.1:9999
      15:01:10,585 INFO  [org.jboss.as.jmx.JMXConnectorService] (MSC service thread 1-1) Starting remote JMX connector
      15:01:10,606 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-4) Starting Coyote HTTP/1.1 on http--
      127.0.0.1-8080
      15:01:10,807 INFO  [org.jboss.as.connector] (MSC service thread 1-2) Starting JCA Subsystem (JBoss IronJacamar 1.0.3.Fin
      al)
      15:01:10,871 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) Bound data source [java:jbos
      s/datasources/ExampleDS]
      15:01:11,170 INFO  [org.jboss.as.deployment] (MSC service thread 1-4) Started FileSystemDeploymentService for directory
      G:\jboss-as-7.0.1.Final\standalone\deployments
      15:01:11,227 INFO  [org.jboss.as] (Controller Boot Thread) JBoss AS 7.0.1.Final "Zap" started in 2990ms - Started 93 of
      148 services (55 services are passive or on-demand)
      15:01:11,252 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) Starting deployment of "spring3.war"
      15:01:12,962 INFO  [org.jboss.as.jpa] (MSC service thread 1-4) added javax.persistence.api dependency to spring3.war
      15:01:14,327 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/spring3]] (MSC service thread 1-
      4) Initializing Spring FrameworkServlet 'Spring MVC Dispatcher Servlet'
      15:01:14,331 INFO  [stdout] (MSC service thread 1-4) 2011-08-21 15:01:14,329 INFO  [org.springframework.web.servlet.Disp
      atcherServlet:301] FrameworkServlet 'Spring MVC Dispatcher Servlet': initialization started
      15:01:14,362 INFO  [stdout] (MSC service thread 1-4) 2011-08-21 15:01:14,357 INFO  [org.springframework.web.context.supp
      ort.XmlWebApplicationContext:456] Refreshing WebApplicationContext for namespace 'Spring MVC Dispatcher Servlet-servlet'
      : startup date [Sun Aug 21 15:01:14 CST 2011]; root of context hierarchy
      15:01:14,399 INFO  [stdout] (MSC service thread 1-4) 2011-08-21 15:01:14,399 INFO  [org.springframework.beans.factory.xm
      l.XmlBeanDefinitionReader:315] Loading XML bean definitions from ServletContext resource [/WEB-INF/classes/springmvc-ser
      vlet.xml]
      15:01:14,614 INFO  [stdout] (MSC service thread 1-4) 2011-08-21 15:01:14,614 INFO  [org.springframework.context.annotati
      on.ClassPathBeanDefinitionScanner:178] JSR-250 'javax.annotation.ManagedBean' found and supported for component scanning
      
      15:01:14,618 INFO  [stdout] (MSC service thread 1-4) 2011-08-21 15:01:14,618 INFO  [org.springframework.context.annotati
      on.ClassPathBeanDefinitionScanner:186] JSR-330 'javax.inject.Named' annotation found and supported for component scannin
      g
      15:01:14,792 INFO  [stdout] (MSC service thread 1-4) 2011-08-21 15:01:14,792 INFO  [org.springframework.beans.factory.an
      notation.AutowiredAnnotationBeanPostProcessor:137] JSR-330 'javax.inject.Inject' annotation found and supported for auto
      wiring
      15:01:14,829 INFO  [stdout] (MSC service thread 1-4) 2011-08-21 15:01:14,828 INFO  [org.springframework.beans.factory.su
      pport.DefaultListableBeanFactory:555] Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultL
      istableBeanFactory@4cc81c: defining beans [helloWorldController,jacksonController,org.springframework.context.annotation
      .internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,or
      g.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internal
      CommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,org.springframew
      ork.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping#0,org.springframework.format.support.FormattingConversion
      ServiceFactoryBean#0,org.springframework.validation.beanvalidation.LocalValidatorFactoryBean#0,org.springframework.web.s
      ervlet.mvc.annotation.AnnotationMethodHandlerAdapter#0,org.springframework.web.servlet.handler.MappedInterceptor#0,org.s
      pringframework.web.servlet.config.viewControllerHandlerAdapter,org.springframework.web.servlet.config.viewControllerHand
      lerMapping,org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter,org.springframework.web.servlet.resource.Resour
      ceHttpRequestHandler#0,org.springframework.web.servlet.handler.SimpleUrlHandlerMapping#0,localeResolver,messageSource,or
      g.springframework.web.servlet.view.InternalResourceViewResolver#0,freemarkerViewResolver,freemarkerConfiguration,freemar
      kerConfig]; root of factory hierarchy
      15:01:14,865 INFO  [stdout] (MSC service thread 1-4) 2011-08-21 15:01:14,865 INFO  [org.springframework.beans.factory.su
      pport.DefaultListableBeanFactory:422] Destroying singletons in org.springframework.beans.factory.support.DefaultListable
      BeanFactory@4cc81c: defining beans [helloWorldController,jacksonController,org.springframework.context.annotation.intern
      alConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.sprin
      gframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonA
      nnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,org.springframework.web
      .servlet.mvc.annotation.DefaultAnnotationHandlerMapping#0,org.springframework.format.support.FormattingConversionService
      FactoryBean#0,org.springframework.validation.beanvalidation.LocalValidatorFactoryBean#0,org.springframework.web.servlet.
      mvc.annotation.AnnotationMethodHandlerAdapter#0,org.springframework.web.servlet.handler.MappedInterceptor#0,org.springfr
      amework.web.servlet.config.viewControllerHandlerAdapter,org.springframework.web.servlet.config.viewControllerHandlerMapp
      ing,org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter,org.springframework.web.servlet.resource.ResourceHttpR
      equestHandler#0,org.springframework.web.servlet.handler.SimpleUrlHandlerMapping#0,localeResolver,messageSource,org.sprin
      gframework.web.servlet.view.InternalResourceViewResolver#0,freemarkerViewResolver,freemarkerConfiguration,freemarkerConf
      ig]; root of factory hierarchy
      15:01:14,874 INFO  [stdout] (MSC service thread 1-4) 2011-08-21 15:01:14,873 ERROR [org.springframework.web.servlet.Disp
      atcherServlet:314] Context initialization failed
      15:01:14,875 INFO  [stdout] (MSC service thread 1-4) org.springframework.beans.factory.BeanCreationException: Error crea
      ting bean with name 'jacksonController' defined in "/G:/jboss-as-7.0.1.Final/bin/content/spring3.war/WEB-INF/classes/com
      /test/actions/jackson/JacksonController.class": Instantiation of bean failed; nested exception is java.lang.NoSuchMethod
      Error: org.codehaus.jackson.type.JavaType.<init>(Ljava/lang/Class;I)V
      15:01:14,879 INFO  [stdout] (MSC service thread 1-4)    at org.springframework.beans.factory.support.AbstractAutowireCap
      ableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:965)
      15:01:14,880 INFO  [stdout] (MSC service thread 1-4)    at org.springframework.beans.factory.support.AbstractAutowireCap
      ableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:911)
      15:01:14,882 INFO  [stdout] (MSC service thread 1-4)    at org.springframework.beans.factory.support.AbstractAutowireCap
      ableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
      15:01:14,883 INFO  [stdout] (MSC service thread 1-4)    at org.springframework.beans.factory.support.AbstractAutowireCap
      ableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
      15:01:14,885 INFO  [stdout] (MSC service thread 1-4)    at org.springframework.beans.factory.support.AbstractBeanFactory
      $1.getObject(AbstractBeanFactory.java:291)
      15:01:14,886 INFO  [stdout] (MSC service thread 1-4)    at org.springframework.beans.factory.support.DefaultSingletonBea
      nRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
      15:01:14,888 INFO  [stdout] (MSC service thread 1-4)    at org.springframework.beans.factory.support.AbstractBeanFactory
      .doGetBean(AbstractBeanFactory.java:288)
      15:01:14,889 INFO  [stdout] (MSC service thread 1-4)    at org.springframework.beans.factory.support.AbstractBeanFactory
      .getBean(AbstractBeanFactory.java:190)
      15:01:14,891 INFO  [stdout] (MSC service thread 1-4)    at org.springframework.beans.factory.support.DefaultListableBean
      Factory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
      15:01:14,892 INFO  [stdout] (MSC service thread 1-4)    at org.springframework.context.support.AbstractApplicationContex
      t.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
      15:01:14,894 INFO  [stdout] (MSC service thread 1-4)    at org.springframework.context.support.AbstractApplicationContex
      t.refresh(AbstractApplicationContext.java:425)
      15:01:14,894 INFO  [stdout] (MSC service thread 1-4)    at org.springframework.web.servlet.FrameworkServlet.createWebApp
      licationContext(FrameworkServlet.java:442)
      15:01:14,898 INFO  [stdout] (MSC service thread 1-4)    at org.springframework.web.servlet.FrameworkServlet.createWebApp
      licationContext(FrameworkServlet.java:458)
      15:01:14,899 INFO  [stdout] (MSC service thread 1-4)    at org.springframework.web.servlet.FrameworkServlet.initWebAppli
      cationContext(FrameworkServlet.java:339)
      15:01:14,901 INFO  [stdout] (MSC service thread 1-4)    at org.springframework.web.servlet.FrameworkServlet.initServletB
      ean(FrameworkServlet.java:306)
      15:01:14,902 INFO  [stdout] (MSC service thread 1-4)    at org.springframework.web.servlet.HttpServletBean.init(HttpServ
      letBean.java:127)
      15:01:14,904 INFO  [stdout] (MSC service thread 1-4)    at javax.servlet.GenericServlet.init(GenericServlet.java:242)
      15:01:14,905 INFO  [stdout] (MSC service thread 1-4)    at org.apache.catalina.core.StandardWrapper.loadServlet(Standard
      Wrapper.java:1202)
      15:01:14,935 INFO  [stdout] (MSC service thread 1-4)    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper
      .java:1102)
      15:01:14,937 INFO  [stdout] (MSC service thread 1-4)    at org.apache.catalina.core.StandardContext.loadOnStartup(Standa
      rdContext.java:3631)
      15:01:14,937 INFO  [stdout] (MSC service thread 1-4)    at org.apache.catalina.core.StandardContext.start(StandardContex
      t.java:3844)
      15:01:14,938 INFO  [stdout] (MSC service thread 1-4)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDep
      loymentService.java:70)
      15:01:14,941 INFO  [stdout] (MSC service thread 1-4)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(Ser
      viceControllerImpl.java:1765)
      15:01:14,941 INFO  [stdout] (MSC service thread 1-4)    at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run
      (ServiceControllerImpl.java:2291)
      15:01:14,944 INFO  [stdout] (MSC service thread 1-4)    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Thread
      PoolExecutor.java:886)
      15:01:14,944 INFO  [stdout] (MSC service thread 1-4)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPool
      Executor.java:908)
      15:01:14,948 INFO  [stdout] (MSC service thread 1-4)    at java.lang.Thread.run(Thread.java:662)
      15:01:14,949 INFO  [stdout] (MSC service thread 1-4) Caused by: java.lang.NoSuchMethodError: org.codehaus.jackson.type.J
      avaType.<init>(Ljava/lang/Class;I)V
      15:01:14,951 INFO  [stdout] (MSC service thread 1-4)    at org.codehaus.jackson.map.type.TypeBase.<init>(TypeBase.java:1
      3)
      15:01:14,952 INFO  [stdout] (MSC service thread 1-4)    at org.codehaus.jackson.map.type.SimpleType.<init>(SimpleType.ja
      va:45)
      15:01:14,954 INFO  [stdout] (MSC service thread 1-4)    at org.codehaus.jackson.map.type.SimpleType.<init>(SimpleType.ja
      va:40)
      15:01:14,954 INFO  [stdout] (MSC service thread 1-4)    at org.codehaus.jackson.map.type.TypeBindings.<clinit>(TypeBindi
      ngs.java:20)
      15:01:14,956 INFO  [stdout] (MSC service thread 1-4)    at org.codehaus.jackson.map.type.TypeFactory._fromType(TypeFacto
      ry.java:538)
      15:01:14,957 INFO  [stdout] (MSC service thread 1-4)    at org.codehaus.jackson.map.type.TypeFactory.type(TypeFactory.ja
      va:63)
      15:01:14,959 INFO  [stdout] (MSC service thread 1-4)    at org.codehaus.jackson.map.ObjectMapper.<clinit>(ObjectMapper.j
      ava:182)
      15:01:14,960 INFO  [stdout] (MSC service thread 1-4)    at com.test.actions.jackson.JacksonController.<clinit>(JacksonCo
      ntroller.java:19)
      15:01:14,964 INFO  [stdout] (MSC service thread 1-4)    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
       Method)
      15:01:14,965 INFO  [stdout] (MSC service thread 1-4)    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeC
      onstructorAccessorImpl.java:39)
      15:01:14,967 INFO  [stdout] (MSC service thread 1-4)    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Del
      egatingConstructorAccessorImpl.java:27)
      15:01:14,968 INFO  [stdout] (MSC service thread 1-4)    at java.lang.reflect.Constructor.newInstance(Constructor.java:51
      3)
      15:01:14,970 INFO  [stdout] (MSC service thread 1-4)    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtil
      s.java:126)
      15:01:14,971 INFO  [stdout] (MSC service thread 1-4)    at org.springframework.beans.factory.support.SimpleInstantiation
      Strategy.instantiate(SimpleInstantiationStrategy.java:74)
      15:01:14,973 INFO  [stdout] (MSC service thread 1-4)    at org.springframework.beans.factory.support.AbstractAutowireCap
      ableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:958)
      15:01:14,973 INFO  [stdout] (MSC service thread 1-4)    ... 26 more
      15:01:14,976 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/spring3]] (MSC service thread 1-
      4) StandardWrapper.Throwable: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ja
      cksonController' defined in "/G:/jboss-as-7.0.1.Final/bin/content/spring3.war/WEB-INF/classes/com/test/actions/jackson/J
      acksonController.class": Instantiation of bean failed; nested exception is java.lang.NoSuchMethodError: org.codehaus.jac
      kson.type.JavaType.<init>(Ljava/lang/Class;I)V
              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowire
      CapableBeanFactory.java:965) [org.springframework.beans-3.0.5.RELEASE.jar:]
              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutow
      ireCapableBeanFactory.java:911) [org.springframework.beans-3.0.5.RELEASE.jar:]
              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCap
      ableBeanFactory.java:485) [org.springframework.beans-3.0.5.RELEASE.jar:]
              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapab
      leBeanFactory.java:456) [org.springframework.beans-3.0.5.RELEASE.jar:]
              at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) [org.
      springframework.beans-3.0.5.RELEASE.jar:]
              at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegis
      try.java:222) [org.springframework.beans-3.0.5.RELEASE.jar:]
              at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) [org.sp
      ringframework.beans-3.0.5.RELEASE.jar:]
              at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) [org.spri
      ngframework.beans-3.0.5.RELEASE.jar:]
              at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListable
      BeanFactory.java:580) [org.springframework.beans-3.0.5.RELEASE.jar:]
              at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplic
      ationContext.java:895) [org.springframework.context-3.0.5.RELEASE.jar:]
              at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425) [
      org.springframework.context-3.0.5.RELEASE.jar:]
              at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:442) [org.
      springframework.web.servlet-3.0.5.RELEASE.jar:]
              at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:458) [org.
      springframework.web.servlet-3.0.5.RELEASE.jar:]
              at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:339) [org.sp
      ringframework.web.servlet-3.0.5.RELEASE.jar:]
              at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:306) [org.springframew
      ork.web.servlet-3.0.5.RELEASE.jar:]
              at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:127) [org.springframework.web.servl
      et-3.0.5.RELEASE.jar:]
              at javax.servlet.GenericServlet.init(GenericServlet.java:242) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.
      Final]
              at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1202) [jbossweb-7.0.1.Final.jar:7.0
      .1.Final]
              at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1102) [jbossweb-7.0.1.Final.jar:7.0.1.Fina
      l]
              at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3631) [jbossweb-7.0.1.Final.jar:7
      .0.1.Final]
              at org.apache.catalina.core.StandardContext.start(StandardContext.java:3844) [jbossweb-7.0.1.Final.jar:7.0.1.Fin
      al]
              at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:70) [jboss-as-web-7.0.1.Fina
      l.jar:7.0.1.Final]
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765)
              at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_26]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_26]
              at java.lang.Thread.run(Thread.java:662) [:1.6.0_26]
      Caused by: java.lang.NoSuchMethodError: org.codehaus.jackson.type.JavaType.<init>(Ljava/lang/Class;I)V
              at org.codehaus.jackson.map.type.TypeBase.<init>(TypeBase.java:13) [jackson-all-1.7.9.jar:]
              at org.codehaus.jackson.map.type.SimpleType.<init>(SimpleType.java:45) [jackson-all-1.7.9.jar:]
              at org.codehaus.jackson.map.type.SimpleType.<init>(SimpleType.java:40) [jackson-all-1.7.9.jar:]
              at org.codehaus.jackson.map.type.TypeBindings.<clinit>(TypeBindings.java:20) [jackson-all-1.7.9.jar:]
              at org.codehaus.jackson.map.type.TypeFactory._fromType(TypeFactory.java:538) [jackson-all-1.7.9.jar:]
              at org.codehaus.jackson.map.type.TypeFactory.type(TypeFactory.java:63) [jackson-all-1.7.9.jar:]
              at org.codehaus.jackson.map.ObjectMapper.<clinit>(ObjectMapper.java:182) [jackson-all-1.7.9.jar:]
              at com.test.actions.jackson.JacksonController.<clinit>(JacksonController.java:19) [classes:]
              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [:1.6.0_26]
              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [:1.6.0_26]
              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [:1.6.0_
      26]
              at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [:1.6.0_26]
              at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:126) [org.springframework.beans-3.0.5.REL
      EASE.jar:]
              at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy
      .java:74) [org.springframework.beans-3.0.5.RELEASE.jar:]
              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowire
      CapableBeanFactory.java:958) [org.springframework.beans-3.0.5.RELEASE.jar:]
              ... 26 more
      
      15:01:14,998 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/spring3]] (MSC service thread 1-
      4) Servlet /spring3 threw load() exception: java.lang.NoSuchMethodError: org.codehaus.jackson.type.JavaType.<init>(Ljava
      /lang/Class;I)V
              at org.codehaus.jackson.map.type.TypeBase.<init>(TypeBase.java:13) [jackson-all-1.7.9.jar:]
              at org.codehaus.jackson.map.type.SimpleType.<init>(SimpleType.java:45) [jackson-all-1.7.9.jar:]
              at org.codehaus.jackson.map.type.SimpleType.<init>(SimpleType.java:40) [jackson-all-1.7.9.jar:]
              at org.codehaus.jackson.map.type.TypeBindings.<clinit>(TypeBindings.java:20) [jackson-all-1.7.9.jar:]
              at org.codehaus.jackson.map.type.TypeFactory._fromType(TypeFactory.java:538) [jackson-all-1.7.9.jar:]
              at org.codehaus.jackson.map.type.TypeFactory.type(TypeFactory.java:63) [jackson-all-1.7.9.jar:]
              at org.codehaus.jackson.map.ObjectMapper.<clinit>(ObjectMapper.java:182) [jackson-all-1.7.9.jar:]
              at com.test.actions.jackson.JacksonController.<clinit>(JacksonController.java:19) [classes:]
              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [:1.6.0_26]
              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [:1.6.0_26]
              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [:1.6.0_
      26]
              at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [:1.6.0_26]
              at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:126) [org.springframework.beans-3.0.5.REL
      EASE.jar:]
              at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy
      .java:74) [org.springframework.beans-3.0.5.RELEASE.jar:]
              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowire
      CapableBeanFactory.java:958) [org.springframework.beans-3.0.5.RELEASE.jar:]
              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutow
      ireCapableBeanFactory.java:911) [org.springframework.beans-3.0.5.RELEASE.jar:]
              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCap
      ableBeanFactory.java:485) [org.springframework.beans-3.0.5.RELEASE.jar:]
              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapab
      leBeanFactory.java:456) [org.springframework.beans-3.0.5.RELEASE.jar:]
              at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) [org.
      springframework.beans-3.0.5.RELEASE.jar:]
              at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegis
      try.java:222) [org.springframework.beans-3.0.5.RELEASE.jar:]
              at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) [org.sp
      ringframework.beans-3.0.5.RELEASE.jar:]
              at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) [org.spri
      ngframework.beans-3.0.5.RELEASE.jar:]
              at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListable
      BeanFactory.java:580) [org.springframework.beans-3.0.5.RELEASE.jar:]
              at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplic
      ationContext.java:895) [org.springframework.context-3.0.5.RELEASE.jar:]
              at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425) [
      org.springframework.context-3.0.5.RELEASE.jar:]
              at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:442) [org.
      springframework.web.servlet-3.0.5.RELEASE.jar:]
              at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:458) [org.
      springframework.web.servlet-3.0.5.RELEASE.jar:]
              at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:339) [org.sp
      ringframework.web.servlet-3.0.5.RELEASE.jar:]
              at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:306) [org.springframew
      ork.web.servlet-3.0.5.RELEASE.jar:]
              at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:127) [org.springframework.web.servl
      et-3.0.5.RELEASE.jar:]
              at javax.servlet.GenericServlet.init(GenericServlet.java:242) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.
      Final]
              at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1202) [jbossweb-7.0.1.Final.jar:7.0
      .1.Final]
              at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1102) [jbossweb-7.0.1.Final.jar:7.0.1.Fina
      l]
              at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3631) [jbossweb-7.0.1.Final.jar:7
      .0.1.Final]
              at org.apache.catalina.core.StandardContext.start(StandardContext.java:3844) [jbossweb-7.0.1.Final.jar:7.0.1.Fin
      al]
              at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:70) [jboss-as-web-7.0.1.Fina
      l.jar:7.0.1.Final]
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765)
              at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_26]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_26]
              at java.lang.Thread.run(Thread.java:662) [:1.6.0_26]
      
      15:01:15,062 INFO  [org.jboss.web] (MSC service thread 1-4) registering web context: /spring3
      15:01:15,113 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployed "spring3.war"