org.jboss.weld.DeploymentException: Enabled decorator class class weld.lab1.service.SecurePaymentService is not the bean class of at least one decorator bean (detected decorator beans []) at org.jboss.weld.Validator.validateEnabledDecoratorClasses(Validator.java:275)

Java.net JIRA | zwe | 7 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    [GLASSFISH-10787] Weld (JSR299) Interceptor org.jboss.interceptor.LifecycleMixin Class Not Found - Java.net JIRA

    java.net | 2 years ago
    org.jboss.weld.DeploymentException: Enabled decorator class class weld.lab1.service.SecurePaymentService is not the bean class of at least one decorator bean (detected decorator beans []) at org.jboss.weld.Validator.validateEnabledDecoratorClasses(Validator.java:275)
  2. 0

    When applies interceptor in a web application based on Weld, class org.jboss.interceptor.LifecycleMixin not found: javax.faces.el.EvaluationException: org.jboss.weld.DeploymentException: org.jboss.interceptor.InterceptorException: java.lang.RuntimeException: by java.lang.NoClassDefFoundError: org/jboss/interceptor/proxy/LifecycleMixin at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:102) at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102) at javax.faces.component.UICommand.broadcast(UICommand.java:315) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:774) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1266) at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:310) at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1523) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97) at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185) at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:332) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:233) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:161) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:789) at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:697) at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:952) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:166) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57) at com.sun.grizzly.ContextTask.run(ContextTask.java:69) at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330) at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309) at java.lang.Thread.run(Thread.java:619) Caused by: org.jboss.weld.DeploymentException: org.jboss.interceptor.InterceptorException: java.lang.RuntimeException: by java.lang.NoClassDefFoundError: org/jboss/interceptor/proxy/LifecycleMixin at org.jboss.weld.bean.ManagedBean.applyInterceptors(ManagedBean.java:458) at org.jboss.weld.bean.ManagedBean$1.produce(ManagedBean.java:241) at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:114) at org.jboss.weld.context.AbstractMapContext.get(AbstractMapContext.java:104) at org.jboss.weld.bean.proxy.ClientProxyMethodHandler.getProxiedInstance(ClientProxyMethodHandler.java:139) at org.jboss.weld.bean.proxy.ClientProxyMethodHandler.invoke(ClientProxyMethodHandler.java:97) at weld.lab1.service.SimplePaymentService_$$_javassist_15.pay(SimplePaymentService_$$_javassist_15.java) at weld.lab1.domain.Payment.pay(Payment.java:32) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.weld.bean.proxy.ClientProxyMethodHandler.invoke(ClientProxyMethodHandler.java:111) at weld.lab1.domain.Payment_$$_javassist_14.pay(Payment_$$_javassist_14.java) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.el.parser.AstValue.invoke(AstValue.java:234) at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297) at org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:43) at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:72) at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:98) at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88) ... 32 more Caused by: org.jboss.interceptor.InterceptorException: java.lang.RuntimeException: by java.lang.NoClassDefFoundError: org/jboss/interceptor/proxy/LifecycleMixin at org.jboss.interceptor.proxy.InterceptorProxyCreatorImpl.createProxyFromInstance(InterceptorProxyCreatorImpl.java:81) at org.jboss.interceptor.proxy.InterceptorProxyCreatorImpl.createProxyFromInstance(InterceptorProxyCreatorImpl.java:136) at org.jboss.weld.bean.ManagedBean.applyInterceptors(ManagedBean.java:454) ... 55 more Caused by: java.lang.RuntimeException: by java.lang.NoClassDefFoundError: org/jboss/interceptor/proxy/LifecycleMixin at javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:344) at javassist.util.proxy.ProxyFactory.createClass2(ProxyFactory.java:314) at javassist.util.proxy.ProxyFactory.createClass(ProxyFactory.java:273) at org.jboss.interceptor.proxy.InterceptorProxyCreatorImpl.createProxyFromInstance(InterceptorProxyCreatorImpl.java:73) ... 57 more Caused by: javassist.CannotCompileException: by java.lang.NoClassDefFoundError: org/jboss/interceptor/proxy/LifecycleMixin at javassist.util.proxy.FactoryHelper.toClass(FactoryHelper.java:169) at javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:339) ... 60 more Caused by: java.lang.NoClassDefFoundError: org/jboss/interceptor/proxy/LifecycleMixin at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:621) at sun.reflect.GeneratedMethodAccessor61.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at javassist.util.proxy.FactoryHelper.toClass2(FactoryHelper.java:181) at javassist.util.proxy.FactoryHelper.toClass(FactoryHelper.java:163) ... 61 more Caused by: java.lang.ClassNotFoundException: org.jboss.interceptor.proxy.LifecycleMixin at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at org.glassfish.web.loader.WebappClassLoader.findClass(WebappClassLoader.java:949) at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1420) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) ... 68 more

    Java.net JIRA | 7 years ago | zwe
    org.jboss.weld.DeploymentException: Enabled decorator class class weld.lab1.service.SecurePaymentService is not the bean class of at least one decorator bean (detected decorator beans []) at org.jboss.weld.Validator.validateEnabledDecoratorClasses(Validator.java:275)
  3. 0

    When applies interceptor in a web application based on Weld, class org.jboss.interceptor.LifecycleMixin not found: javax.faces.el.EvaluationException: org.jboss.weld.DeploymentException: org.jboss.interceptor.InterceptorException: java.lang.RuntimeException: by java.lang.NoClassDefFoundError: org/jboss/interceptor/proxy/LifecycleMixin at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:102) at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102) at javax.faces.component.UICommand.broadcast(UICommand.java:315) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:774) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1266) at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:310) at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1523) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97) at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185) at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:332) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:233) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:161) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:789) at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:697) at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:952) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:166) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57) at com.sun.grizzly.ContextTask.run(ContextTask.java:69) at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330) at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309) at java.lang.Thread.run(Thread.java:619) Caused by: org.jboss.weld.DeploymentException: org.jboss.interceptor.InterceptorException: java.lang.RuntimeException: by java.lang.NoClassDefFoundError: org/jboss/interceptor/proxy/LifecycleMixin at org.jboss.weld.bean.ManagedBean.applyInterceptors(ManagedBean.java:458) at org.jboss.weld.bean.ManagedBean$1.produce(ManagedBean.java:241) at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:114) at org.jboss.weld.context.AbstractMapContext.get(AbstractMapContext.java:104) at org.jboss.weld.bean.proxy.ClientProxyMethodHandler.getProxiedInstance(ClientProxyMethodHandler.java:139) at org.jboss.weld.bean.proxy.ClientProxyMethodHandler.invoke(ClientProxyMethodHandler.java:97) at weld.lab1.service.SimplePaymentService_$$_javassist_15.pay(SimplePaymentService_$$_javassist_15.java) at weld.lab1.domain.Payment.pay(Payment.java:32) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.weld.bean.proxy.ClientProxyMethodHandler.invoke(ClientProxyMethodHandler.java:111) at weld.lab1.domain.Payment_$$_javassist_14.pay(Payment_$$_javassist_14.java) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.el.parser.AstValue.invoke(AstValue.java:234) at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297) at org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:43) at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:72) at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:98) at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88) ... 32 more Caused by: org.jboss.interceptor.InterceptorException: java.lang.RuntimeException: by java.lang.NoClassDefFoundError: org/jboss/interceptor/proxy/LifecycleMixin at org.jboss.interceptor.proxy.InterceptorProxyCreatorImpl.createProxyFromInstance(InterceptorProxyCreatorImpl.java:81) at org.jboss.interceptor.proxy.InterceptorProxyCreatorImpl.createProxyFromInstance(InterceptorProxyCreatorImpl.java:136) at org.jboss.weld.bean.ManagedBean.applyInterceptors(ManagedBean.java:454) ... 55 more Caused by: java.lang.RuntimeException: by java.lang.NoClassDefFoundError: org/jboss/interceptor/proxy/LifecycleMixin at javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:344) at javassist.util.proxy.ProxyFactory.createClass2(ProxyFactory.java:314) at javassist.util.proxy.ProxyFactory.createClass(ProxyFactory.java:273) at org.jboss.interceptor.proxy.InterceptorProxyCreatorImpl.createProxyFromInstance(InterceptorProxyCreatorImpl.java:73) ... 57 more Caused by: javassist.CannotCompileException: by java.lang.NoClassDefFoundError: org/jboss/interceptor/proxy/LifecycleMixin at javassist.util.proxy.FactoryHelper.toClass(FactoryHelper.java:169) at javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:339) ... 60 more Caused by: java.lang.NoClassDefFoundError: org/jboss/interceptor/proxy/LifecycleMixin at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:621) at sun.reflect.GeneratedMethodAccessor61.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at javassist.util.proxy.FactoryHelper.toClass2(FactoryHelper.java:181) at javassist.util.proxy.FactoryHelper.toClass(FactoryHelper.java:163) ... 61 more Caused by: java.lang.ClassNotFoundException: org.jboss.interceptor.proxy.LifecycleMixin at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at org.glassfish.web.loader.WebappClassLoader.findClass(WebappClassLoader.java:949) at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1420) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) ... 68 more

    Java.net JIRA | 7 years ago | zwe
    org.jboss.weld.DeploymentException: Enabled decorator class class weld.lab1.service.SecurePaymentService is not the bean class of at least one decorator bean (detected decorator beans []) at org.jboss.weld.Validator.validateEnabledDecoratorClasses(Validator.java:275)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.jboss.weld.DeploymentException

      Enabled decorator class class weld.lab1.service.SecurePaymentService is not the bean class of at least one decorator bean (detected decorator beans []) at org.jboss.weld.Validator.validateEnabledDecoratorClasses(Validator.java:275)

      at org.jboss.weld.Validator.validateDeployment()
    2. Weld Implementation
      Validator.validateDeployment
      1. org.jboss.weld.Validator.validateDeployment(Validator.java:199)
      1 frame