1 Reply Latest reply on Nov 23, 2005 12:00 PM by aguizar

    Classloading issues

      When executing a workflow, I'm getting the following exception:

      Caused by: java.lang.Error: Unresolved compilation problems:
       The import en.logic.session.workflow.WorkflowLogic cannot be resolved
       The import en.logic.session.workflow.WorkflowLogicHome cannot be resolved
       The import en.session.action.ActionNotificationLogic cannot be resolved
       The import en.session.action.ActionNotificationLogicHome cannot be resolved
       WorkflowLogicHome cannot be resolved to a type
       WorkflowLogicHome cannot be resolved to a type
       WorkflowLogicHome cannot be resolved
       WorkflowLogicHome cannot be resolved to a type
       WorkflowLogic cannot be resolved to a type


      My JBoss deploy directory looks like this:

      deploy/
      ---jbpm.sar/
      -------jbpm-3.0.1.jar
      ---MyApp.ear

      I am not using the unified classloader. The classes that cannot be loaded are contained in MyApp.ear. Does my EAR need to be somehow added explicitly to jBPM's classpath?


        • 1. Re: Classloading issues
          aguizar

          I have seen this kind of error only in Eclipse when I forget to fix a compilation problem. It looks like these classes cannot be found even at compile time. A true class loading problem manifests itself as a NoClassDefFoundError. Please check this out.