2016-07-21 3 views
-1

컨텍스트 초기화에 실패했습니다 : org.springframework.beans.factory.BeanCreationException : 'org.springframework.web.servlet. mvc.method.annotation.RequestMappingHandlerAdapter # 0 ': init 메소드를 호출하지 못했습니다. 중첩 예외는 java.lang.NoClassDefFoundError입니다 : org/springframework/web/method/annotation/support/RequestParamMethodArgumentResolver at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean (AbstractAutowireCapableBeanFactory.java:1578) [spring-beans-4.3 .LELEASE.jar : 4.3.1.RELEASE] org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean (AbstractAutowireCapableBeanFactory.java:545) [spring-beans-4.3.1.RELEASE.jar : 4.3. 1.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean (AbstractAutowireCapableBeanFactory.java:482) [spring-beans-4.3.1.RELEASE.jar : 4.3.1.RELEASE] at org.springframework .beans.factory.support.AbstractBeanFactory $ 1.getObject (AbstractBeanFactory.java:306) [spring-beans-4.3.1.RELEASE.jar : 4.3.1.RELEASE] org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton (DefaultSingletonBeanRegistry.java:230) [spring-beans-4.3.1.RELEASE.jar : 4.3.1.RELEASE] at org.springframework.beans.factory (AbstractBeanFactory.java302) [spring-beans-4.3.1.RELEASE.jar : 4.3.1.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.AbstractBeanFactory.doGetBean) java : 197) [spring-beans-4.3.1.RELEASE.jar : 4.3.1.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons (DefaultListableBeanFactory.java:775) [spring-beans- 4.3.1.RELEASE.jar : 4.3.1.RELEASE] org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization (AbstractApplicationContext.java:861) [spring-context-4.3.1.RELEASE.jar : 4.3.1] [자료] at org.springframework.context.support.AbstractApplicationContext.refresh (AbstractApplicationContext.java:541) [스프링 - 컨텍스트 - 4.3.1.RELEASE.jar : 4.3.1.RELEASE] at org.springframework.web.servlet.FrameworkServlet .configureAndRefreshWebApplicationContext (FrameworkServlet.java:609) [spring-web-servlet-3.1.0.RELEASE.jar : 3.1.0.M2] at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext (FrameworkServlet.java:571) [spring-web-servlet-3.1.1.RELEASE.jar : 3.1.0.M2] at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext (FrameworkServlet.java:623) [스프링 - 웹 서블릿 3.1. 0.RELEASE.jar : 3.1.0.M2] at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext (FrameworkServlet.java:491) [spring-web-servlet-3.1.0.RELEASE.jar : 3.1.0] .M2] at org.springframework.web. servlet.FrameworkServlet.initServletBean (FrameworkServlet.java:432) [spring-web-servlet-3.1.0.RELEASE.jar : 3.1.0.M2] at org.springframework.web.servlet.HttpServletBean.init (HttpServletBean.java) : 133) [spring-web-servlet-3.1.0.RELEASE.jar : 3.1.0.M2] at javax.servlet.GenericServlet.init (GenericServlet.java:242) [jboss-servlet-api_3.0_spec-1.0 .2Final-redhat-1.jar : 1.0.2.Final-redhat-1] at org.apache.catalina.core.StandardWrapper.loadServlet (StandardWrapper.java:1194) [jbossweb-7.2.0.Final- redhat-1.jar : 7.2.0.Final-redhat-1] at org.apache.catalina.core.StandardWrapper.load (StandardWrapper.java:1100) [jbossweb-7.2.0.Final-redhat-1.jar : 7.2.0.Final-redhat-1] at org.apache.catalina.core.StandardContext.loadOnStartup (StandardContext.java:3591) [jbossweb-7.2.0.Final-redhat-1.jar : 7.2.0. Final-redhat-1]에서 rg.apache.catalina.core.StandardContext.start (StandardContext.java:3798) [jbossweb-7.2.0.Final-redhat-1.jar : 7.2.0.Final-redhat-1] at org.jboss.as .web.deployment.WebDeploymentService.doStart (WebDeploymentService.java:156) [jboss-as-web-7.2.0.Final-redhat-8.jar : 7.2.0.Final-redhat-8] at org.jboss. as.web.deployment.WebDeploymentService.access $ 000 (WebDeploymentService.java:60) [jboss-as-web-7.2.0.Final-redhat-8.jar : 7.2.0.Final-redhat-8] at org. jboss.as.web.deployment.WebDeploymentService $ 1.run (WebDeploymentService.java:93) [jboss-as-web-7.2.0.Final-redhat-8.jar : 7.2.0.Final-redhat-8] at java.util.concurrent. Executors $ RunnableAdapter.call (Executors.java:471) [rt.jar : 1.7.0_45] 에서 java.util.concurrent.FutureTask.run (FutureTask.java:262) [rt.jar : 1.7.0_45] at java.util.concurrent.ThreadPoolExecutor $ Worker.run (ThreadPoolExecutor.java:615) [rt.jar : ThreadPoolExecutor.java:1145] [rt.jar : 1.7.0_45] 에서 java.util.concurrent.ThreadPoolExecutor.runWorker를 실행합니다. 1.7.0_45] java.lang.Thread.run (Thread.java:744)에서 [rt.jar이 : org.jboss.threads.JBossThread.run (JBossThread.java:122)에서 1.7.0_45] java.lang.NoClassDefFoundError : org/springframework/web/method/annotation/support/RequestParamMethodArgumentResolver

+0

문제를 설명하기에 너무 친절하십시오. 감사. – user3078414

+0

클래스 RequestParamMethodArgumentResolver는 org.springframework.web.method.annotation 패키지에 있으며 org.springframework.web.method.annotation.support 패키지에는 포함되어 있지 않습니다. 문제를 자세히 설명해주십시오. – lsiva

답변

0

프로젝트에서 spring-web.jar을 확인하십시오.