Jrebel:error org.zeroturnaround.bundled.javassist.CannotCompileException: [Source ERROR] No such class: Handlermethods
At Org.zeroturnaround.bundled.javassist.CtNewMethod.make (jrebel:79)
At Org.zeroturnaround.bundled.javassist.CtNewMethod.make (jrebel:45)
At Org.zeroturnaround.javarebel.integration.spring.cbp.AbstractHandlerMethodMappingCBP.process ( ABSTRACTHANDLERMETHODMAPPINGCBP.JAVA:22)
At Org.zeroturnaround.javarebel.integration.support.JavassistClassBytecodeProcessor.process (jrebel:70)
At COM.ZEROTURNAROUND.JAVAREBEL.XB.A (jrebel:257)
At COM.ZEROTURNAROUND.JAVAREBEL.XB.A (jrebel:246)
At COM.ZEROTURNAROUND.JAVAREBEL.XB.A (jrebel:230)
At Com.zeroturnaround.javarebel.SDKIntegrationImpl.runBytecodeProcessors (jrebel:128)
At Com.zeroturnaround.javarebel.xl.transform (jrebel:45)
At Java.lang.ClassLoader.defineClass (Classloader.java)
At Java.security.SecureClassLoader.defineClass (secureclassloader.java:141)
At Weblogic.utils.classloaders.GenericClassLoader.defineClass (genericclassloader.java:328)
At Weblogic.utils.classloaders.GenericClassLoader.findLocalClass (genericclassloader.java:285)
At Weblogic.utils.classloaders.GenericClassLoader.findClass (genericclassloader.java:253)
At Weblogic.utils.classloaders.ChangeAwareClassLoader.findClass (changeawareclassloader.java:56)
At Weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass (changeawareclassloader.java:42)
At Java.lang.ClassLoader.defineClass1 (Native Method)
At Java.lang.ClassLoader.defineClassCond (classloader.java:631)
At Java.lang.ClassLoader.defineClass (classloader.java:615)
At Java.security.SecureClassLoader.defineClass (secureclassloader.java:141)
At Weblogic.utils.classloaders.GenericClassLoader.defineClass (genericclassloader.java:328)
At Weblogic.utils.classloaders.GenericClassLoader.findLocalClass (genericclassloader.java:285)
At Weblogic.utils.classloaders.GenericClassLoader.findClass (genericclassloader.java:253)
At Weblogic.utils.classloaders.ChangeAwareClassLoader.findClass (changeawareclassloader.java:56)
At Weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass (changeawareclassloader.java:42)
At Java.lang.ClassLoader.defineClass1 (Native Method)
At Java.lang.ClassLoader.defineClassCond (classloader.java:631)
At Java.lang.ClassLoader.defineClass (classloader.java:615)
At Java.security.SecureClassLoader.defineClass (secureclassloader.java:141)
At Weblogic.utils.classloaders.GenericClassLoader.defineClass (genericclassloader.java:328)
At Weblogic.utils.classloaders.GenericClassLoader.findLocalClass (genericclassloader.java:285)
At Weblogic.utils.classloaders.GenericClassLoader.findClass (genericclassloader.java:253)
At Weblogic.utils.classloaders.ChangeAwareClassLoader.findClass (changeawareclassloader.java:56)
At Weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass (changeawareclassloader.java:42)
At Org.springframework.web.servlet.config.annotationdrivenbeandefinitionparser.<clinit> ( annotationdrivenbeandefinitionparser.java:152)
At Org.springframework.web.servlet.config.MvcNamespaceHandler.init (mvcnamespacehandler.java:34)
At Org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.resolve ( defaultnamespacehandlerresolver.java:131)
At Org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement ( beandefinitionparserdelegate.java:1406)
At Org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement ( beandefinitionparserdelegate.java:1401)
At Org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions ( defaultbeandefinitiondocumentreader.java:168)
At Org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions ( defaultbeandefinitiondocumentreader.java:138)
At Org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions ( defaultbeandefinitiondocumentreader.java:94)
At Org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions ( xmlbeandefinitionreader.java:508)
At Org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions ( xmlbeandefinitionreader.java:392)
At Org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions ( xmlbeandefinitionreader.java:336)
At Org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions ( xmlbeandefinitionreader.java:304)
At Org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions ( abstractbeandefinitionreader.java:181)
At Org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions ( abstractbeandefinitionreader.java:217)
At Org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions ( abstractbeandefinitionreader.java:188)
At Org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions ( XMLWEBAPPLICATIONCONTEXT.JAVA:125)
At Org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions ( xmlwebapplicationcontext.java:94)
At Org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory ( abstractrefreshableapplicationcontext.java:129)
At Org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory ( abstractapplicationcontext.java:608)
At Org.springframework.context.support.abstractapplicationcontext.__refresh (abstractapplicationcontext.java:509 )
At Org.springframework.context.support.AbstractApplicationContext.refresh (Abstractapplicationcontext.java)
At Org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext ( frameworkservlet.java:667)
At Org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext (frameworkservlet.java:633)
At Org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext (frameworkservlet.java:681)
At Org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext (frameworkservlet.java:552)
At Org.springframework.web.servlet.FrameworkServlet.initServletBean (frameworkservlet.java:493)
At Org.springframework.web.servlet.HttpServletBean.init (httpservletbean.java:136)
At Javax.servlet.GenericServlet.init (genericservlet.java:241)
At Weblogic.servlet.internal.stubsecurityhelper$servletinitaction.run (stubsecurityhelper.java:283)
At Weblogic.security.acl.internal.AuthenticatedSubject.doAs (authenticatedsubject.java:321)
At Weblogic.security.service.SecurityManager.runAs (securitymanager.java:121)
At Weblogic.servlet.internal.StubSecurityHelper.createServlet (stubsecurityhelper.java:64)
At Weblogic.servlet.internal.StubLifecycleHelper.createOneInstance (stublifecyclehelper.java:58)
At Weblogic.servlet.internal.stublifecyclehelper.<init> (stublifecyclehelper.java:48)
At Weblogic.servlet.internal.ServletStubImpl.prepareServlet (servletstubimpl.java:539)
At Weblogic.servlet.internal.WebAppServletContext.preloadServlet (webappservletcontext.java:1976)
At Weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup (webappservletcontext.java:1950)
At Weblogic.servlet.internal.WebAppServletContext.preloadResources (webappservletcontext.java:1869)
At Weblogic.servlet.internal.WebAppServletContext.start (webappservletcontext.java:3126)
At Weblogic.servlet.internal.WebAppModule.startContexts (webappmodule.java:1512)
At Weblogic.servlet.internal.WebAppModule.start (webappmodule.java:486)
At Weblogic.application.internal.flow.modulestatedriver$3.next (modulestatedriver.java:425)
At Weblogic.application.utils.StateMachineDriver.nextState (statemachinedriver.java:41)
At Weblogic.application.internal.flow.ModuleStateDriver.start (modulestatedriver.java:119)
At Weblogic.application.internal.flow.ScopedModuleDriver.start (scopedmoduledriver.java:200)
At Weblogic.application.internal.flow.ModuleListenerInvoker.start (modulelistenerinvoker.java:247)
At Weblogic.application.internal.flow.modulestatedriver$3.next (modulestatedriver.java:425)
At Weblogic.application.utils.StateMachineDriver.nextState (statemachinedriver.java:41)
At Weblogic.application.internal.flow.ModuleStateDriver.start (modulestatedriver.java:119)
At Weblogic.application.internal.flow.StartModulesFlow.activate (startmodulesflow.java:27)
At Weblogic.application.internal.basedeployment$2.next (basedeployment.java:1267)
At Weblogic.application.utils.StateMachineDriver.nextState (statemachinedriver.java:41)
At Weblogic.application.internal.BaseDeployment.activate (basedeployment.java:409)
At Weblogic.application.internal.SingleModuleDeployment.activate (singlemoduledeployment.java:43)
At Weblogic.application.internal.DeploymentStateChecker.activate (deploymentstatechecker.java:161)
At Weblogic.deploy.internal.targetserver.AppContainerInvoker.activate (appcontainerinvoker.java:79)
At Weblogic.deploy.internal.targetserver.BasicDeployment.activate (basicdeployment.java:184)
At Weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle (basicdeployment.java:361)
At Weblogic.management.deploy.internal.deploymentadapter$1.doactivate (deploymentadapter.java:51)
At Weblogic.management.deploy.internal.DeploymentAdapter.activate (deploymentadapter.java:200)
At Weblogic.management.deploy.internal.apptransition$2.transitionapp (apptransition.java:30)
At Weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps (configureddeployments.java:240)
At Weblogic.management.deploy.internal.ConfiguredDeployments.activate (configureddeployments.java:169)
At Weblogic.management.deploy.internal.ConfiguredDeployments.deploy (configureddeployments.java:123)
At Weblogic.management.deploy.internal.DeploymentServerService.resume (deploymentserverservice.java:180)
At Weblogic.management.deploy.internal.DeploymentServerService.start (deploymentserverservice.java:96)
At Weblogic.t3.srvr.SubsystemRequest.run (subsystemrequest.java:64)
At Weblogic.work.ExecuteThread.execute (executethread.java:201)
At Weblogic.work.ExecuteThread.run (executethread.java:173)
caused by:compile error:no such class:handlermethods
At Org.zeroturnaround.bundled.javassist.compiler.MemberResolver.searchImports (jrebel:468)
At Org.zeroturnaround.bundled.javassist.compiler.MemberResolver.lookupClass (jrebel:412)
At Org.zeroturnaround.bundled.javassist.compiler.MemberResolver.lookupClassByJvmName (jrebel:319)
At org.zeroturnaround.bundled.javassist.compiler.TypeChecker.atCallExpr (jrebel:678)
At org.zeroturnaround.bundled.javassist.compiler.JvstTypeChecker.atCallExpr (jrebel:157)
At Org.zeroturnaround.bundled.javassist.compiler.ast.CallExpr.accept (jrebel:46)
At Org.zeroturnaround.bundled.javassist.compiler.CodeGen.doTypeCheck (jrebel:242)
At Org.zeroturnaround.bundled.javassist.compiler.CodeGen.atStmnt (jrebel:330)
At Org.zeroturnaround.bundled.javassist.compiler.ast.Stmnt.accept (jrebel:50)
At Org.zeroturnaround.bundled.javassist.compiler.CodeGen.atStmnt (jrebel:351)
At Org.zeroturnaround.bundled.javassist.compiler.ast.Stmnt.accept (jrebel:50)
At Org.zeroturnaround.bundled.javassist.compiler.CodeGen.atMethodBody (jrebel:292)
At Org.zeroturnaround.bundled.javassist.compiler.CodeGen.atMethodDecl (jrebel:274)
At Org.zeroturnaround.bundled.javassist.compiler.ast.MethodDecl.accept (jrebel:44)
At Org.zeroturnaround.bundled.javassist.compiler.Javac.compileMethod (jrebel:169)
At Org.zeroturnaround.bundled.javassist.compiler.Javac.compile (jrebel:95)
At Org.zeroturnaround.bundled.javassist.CtNewMethod.make (jrebel:74)
... 102 more
Cause and workaround: This version of Jrebel does not support spring MVC 4.2.7 or later. Getting the latest Jrebel or lowering the spring MVC version can solve this problem.
This article is from the Java Technology category blog, so be sure to keep this source http://jtech.blog.51cto.com/10072825/1922488
Jrebel the exception that occurs when hot-deploy spring MVC.