Uploaded image for project: 'JBoss BRMS Platform'
  1. JBoss BRMS Platform
  2. RHBRMS-144

java.lang.LinkageError: Failed to link org/eclipse/jdt/core/JDTCompilerAdapter with jbpm-executor as project dependency

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 6.2.0
    • 6.1.0
    • Business Central
    • None

      Description of problem:
      When org.jbpm:jbpm-executor:6.2.0.Final-redhat-2 is added as dependency to a project, M2Servlet first starts downloading artifacts, then after getting to:

      INFO [o.g.m.b.s.M2Servlet] ... GET request received for /commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar

      there's a ton of WARNs logged to the server log, all similar to this:

      WARN [org.jboss.modules] (EJB default - 3) Failed to define class org.eclipse.jdt.core.JDTCompilerAdapter in Module "org.jboss.as.web:main" from local module loader @602f958 (finder: local module finder @2d40037d (roots: <path_to_product>/modules,<path_to_product>/modules/system/layers/base)): java.lang.LinkageError: Failed to link org/eclipse/jdt/core/JDTCompilerAdapter (Module "org.jboss.as.web:main" from local module loader @602f958 (finder: local module finder @2d40037d (roots: <path_to_product>/modules,<path_to_product>/modules/system/layers/base)))

      Further interesting logs:

      WARN [org.kie.workbench.common.services.backend.builder.Builder] (EJB default - 3) Verification of class org.eclipse.jdt.core.JDTCompilerAdapter$1 failed and will not be available for authoring.

      WARN [org.jboss.modules] (EJB default - 3) Failed to define class freemarker.ext.jdom.NodeListModel$JDOMXPathEx in Module "deployment.business-central.war:main" from Service Module Loader: java.lang.LinkageError: Failed to link freemarker/ext/jdom/NodeListModel$JDOMXPathEx (Module "deployment.business-central.war:main" from Service Module Loader)

      WARN [org.kie.workbench.common.services.backend.builder.Builder] (EJB default - 3) Verification of class freemarker.ext.jdom.NodeListModel$JDOMXPathEx$NamespaceContextImpl failed and will not be available for authoring.

      WARN [org.jboss.modules] (EJB default - 3) Failed to define class freemarker.template.utility.JythonRuntime in Module "deployment.business-central.war:main" from Service Module Loader: java.lang.LinkageError: Failed to link freemarker/template/utility/JythonRuntime (Module "deployment.business-central.war:main" from Service Module Loader)

      Caused by: java.lang.ClassNotFoundException: org.jaxen.NamespaceContext from [Module "deployment.business-central.war:main" from Service Module Loader]

      See attached server log.

      Version-Release number of selected component (if applicable):
      6.1 ER6

      Steps to Reproduce:
      (0. Point business-central to valid product maven repository. Use EAP 6.4.)
      1. Create an empty project, open editor for pom.xml.
      2. Add dependency on org.jbpm:jbpm-executor:6.2.0.Final-redhat-2.
      3. Save the changes, look into server log (wait a minute or two).

              manstis@redhat.com Michael Anstis
              zkrejcov Zuzka Krejčová (Inactive)
              Archiver:
              rhn-support-ceverson Clark Everson
              Dominik Hanak Dominik Hanak
              Dominik Hanak Dominik Hanak
              Kris Verlaenen, Marek Baluch, Rajesh Rajasekaran

                Created:
                Updated:
                Resolved:
                Archived: