title: Eclipse 4.12 - java.lang.ClassNotFoundException: com.sun.xml.internal.bind.v2.ContextFactory
body: <p>I am getting below error while running my eclipse plugin.
  Eclipse used 4.12 with java11. It used to work fine in eclipse 4.6.3 + java8.</p>
  
  <pre><code>javax.xml.bind.JAXBException: Provider com.sun.xml.internal.bind.v2.ContextFactory not found
   - with linked exception:
  [java.lang.ClassNotFoundException: com.sun.xml.internal.bind.v2.ContextFactory cannot be found by com.my.cep.studio.cluster.topology_0.0.0]
  
  !ENTRY com.my.cep.diagramming 4 0   at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:146)
      at javax.xml.bind.ContextFinder.find(ContextFinder.java:289)
      at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:412)
      at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:375)
      at com.my.cep.studio.cluster.topology.editors.ClusterTopologyDiagramManager.parseFile(ClusterTopologyDiagramManager.java:193)
      at com.my.cep.studio.cluster.topology.editors.ClusterTopologyDiagramManager.openModel(ClusterTopologyDiagramManager.java:175)
      at com.my.cep.diagramming.drawing.BaseDiagramManager.createDrawingCanvas(BaseDiagramManager.java:233)
      at com.my.cep.diagramming.drawing.DiagramManager$2.run(DiagramManager.java:259)
      at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
      at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
      at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
      at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
      at java.base/java.security.AccessController.doPrivileged(Native Method)
      at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
      at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
      at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
      at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
      at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
      at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
      at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
      at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
  Caused by: java.lang.ClassNotFoundException: com.sun.xml.internal.bind.v2.ContextFactory cannot be found by com.my.cep.studio.cluster.topology_0.0.0
      at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:512)
      at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:423)
      at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:415)
      at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:155)
      at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
      at javax.xml.bind.ContextFinder.safeLoadClass(ContextFinder.java:480)
      at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:112)
  </code></pre>