title: JDK 1.8 JAXB: Provider com.sun.xml.bind.v2.ContextFactory not found
body: <p>I am using JDK 1.8 in Eclipse to Unmarshaller xml to Java. This line throw up </p>
  
  <pre><code>    JAXBContext jc = JAXBContext.newInstance("com.dtd");
  
  
   javax.xml.bind.JAXBException: Provider com.sun.xml.bind.v2.ContextFactory not found
   - with linked exception:
  [java.lang.ClassNotFoundException: com.sun.xml.bind.v2.ContextFactory]
      at javax.xml.bind.ContextFinder.newInstance(Unknown Source)
  </code></pre>
  
  <p>Everything is loaded from jdk1.8. For example:</p>
  
  <p>[Loaded javax.xml.bind.ContextFinder from C:\Program Files\Java\jre1.8.0_25\lib\rt.jar]</p>
  
  <p>Where is com.sun.xml.bind.v2.ContextFactory?</p>