java.lang.LinkageError: loader constraints violated when linking javax/activation/DataHandler class

Coderanch | Z Sugiarto | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    LinkageError on runtime

    Coderanch | 1 decade ago | Z Sugiarto
    java.lang.LinkageError: loader constraints violated when linking javax/activation/DataHandler class

    Root Cause Analysis

    1. java.lang.LinkageError

      loader constraints violated when linking javax/activation/DataHandler class

      at some.app.package.domain.advice.dispatcher.FaxAdviceDispatcher.dispatchAdvice()
    2. some.app.package
      OrderingService.orderReplacementPart
      1. some.app.package.domain.advice.dispatcher.FaxAdviceDispatcher.dispatchAdvice(FaxAdviceDispatcher.java:111)
      2. some.app.package.domain.advice.VendorCommunicationAgent.sendAdvice(VendorCommunicationAgent.java:134)
      3. some.app.package.actions.wf093.OrderingService.orderReplacementPart(OrderingService.java:135)
      3 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:324)
      4 frames
    4. Direct Web Remoting
      DWRServlet.doPost
      1. uk.ltd.getahead.dwr.ExecuteQuery.execute(ExecuteQuery.java:170)
      2. uk.ltd.getahead.dwr.DWRServlet.doExec(DWRServlet.java:552)
      3. uk.ltd.getahead.dwr.DWRServlet.doPost(DWRServlet.java:185)
      3 frames