6 Replies Latest reply on Sep 12, 2007 1:12 AM by asd asd

    Why does a Seam 1.2.GA POJO app need javax.ejb.ApplicationEx

    asd asd Newbie

      Greetings

      The Seam 1.2 POJO app we have fails with this following exception. We deploy on Websphere 6.1, which is J2EE1.4, hence the exception. I was wondering why would a POJO app have a dependency on javax.ejb? Thanks.

      Caused by:
      java.lang.TypeNotPresentException: Type javax.ejb.ApplicationException not present
      at com.ibm.oti.reflect.AnnotationHelper.getAnnotation(AnnotationHelper.java:38)
      at com.ibm.oti.reflect.AnnotationHelper.getDeclaredAnnotations(AnnotationHelper.java:50)
      at java.lang.Class.getDeclaredAnnotations(Class.java:1583)
      at java.lang.Class.getAnnotations(Class.java:1544)
      at java.lang.Class.getAnnotation(Class.java:1524)
      at java.lang.Class.isAnnotationPresent(Class.java:1611)
      at org.jboss.seam.interceptors.RollbackInterceptor.isRollbackRequired(RollbackInterceptor.java:72)
      at org.jboss.seam.interceptors.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:46)
      at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
      at org.jboss.seam.interceptors.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:47)
      at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
      at org.jboss.seam.interceptors.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:27)
      at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
      at org.jboss.seam.interceptors.SynchronizationInterceptor.aroundInvoke(SynchronizationInterceptor.java:31)
      at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
      at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:103)
      at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:151)
      at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:87)
      at com.churchmutual.rms.action.impl.InspectionSearchActionImpl_$$_javassist_15.search(InspectionSearchActionImpl_$$_javassist_15.java)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:615)
      at com.sun.el.parser.AstValue.invoke(AstValue.java:174)
      at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:286)
      at org.jboss.seam.ui.facelet.MethodExpressionHelper.invokeTheExpression(MethodExpressionHelper.java:102)
      at org.jboss.seam.ui.facelet.ParamMethodExpression.invoke(ParamMethodExpression.java:62)
      at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
      at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:69)
      ... 45 more
      Caused by:
      java.lang.ClassNotFoundException: javax.ejb.ApplicationException
      at java.lang.Class.forNameImpl(Native Method)
      at java.lang.Class.forName(Class.java:164)
      at com.ibm.oti.reflect.AnnotationHelper.getAnnotation(AnnotationHelper.java:33)
      ... 73 more