0 Replies Latest reply on Aug 16, 2012 2:17 PM by markorocko

    Why can't my EJB see common files inside war file?

    markorocko

      My DataProcessorBean packaged in an ear file can't find a local class(JDomUtils) during runtime.

      It compiles fine, it's accessible in my IDE, and I can see it also in the war file contained in the ear but getting this error.

       

      Caused by: java.lang.NoClassDefFoundError: Lcom/app/util/xpath/JDomUtils;

       

      Any suggestions?

       


      DataProcessorBean.java

      import com.app.util.xpath.JDomUtils;

      public class DataProcessorBean implements SessionBean {

       

      SessionContext sessionContext;

       

       


      private JDomUtils domUtils;

      JDomUtils.java

      package com.app.util.xpath;

       

      public class JDomUtils {

      public JDomUtils() {

      }

       

      Found inside: app.war\WEB-INF\classes\com\app\util\xpath\JDomUtils