1 Reply Latest reply on Jun 30, 2008 2:51 AM by Sascha Hoffmann

    Could not destroy component: ......

    Sascha Hoffmann Newbie

      Hello all

      I have a problem with one of my Beans. It works well and i have no problems with a method or else. The only problem I have is that if I deploy the Bean new I get the following error:

      12:47:51,203 INFO [TomcatDeployer] undeploy, ctxPath=/TCTest, warUrl=.../tmp/deploy/tmp51760TCTest.ear-contents/app-exp.war/
      12:47:51,250 WARN [Contexts] Could not destroy component: kundehdl
      javax.ejb.EJBException: java.lang.RuntimeException: java.lang.NoClassDefFoundError: com/sun/el/ExpressionFactoryImpl
      at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:63)
      at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
      at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:95)

      I have the "destroy()"-Method in these Bean, why I get the error?

      P.S.: Sry for the bad English.