title: No default constructor found on class java.time.LocalDate
body: <p>So I have the classes <code>Driver</code>, <code>Database</code>, <code>LogBookEntry</code> and <code>Car</code>. As the classes have a lot of setters and getters, I decided to put the code in <a href="https://pastebin.com" rel="nofollow noreferrer">pastebin</a>:</p>
  
  <ul>
  <li><a href="https://pastebin.com/Fxr3Ej0D" rel="nofollow noreferrer">LogBookEntry</a></li>
  <li><a href="https://pastebin.com/YVtGTX00" rel="nofollow noreferrer">Driver</a></li>
  <li><a href="https://pastebin.com/BjDwYX9k" rel="nofollow noreferrer">Database</a></li>
  <li><a href="https://pastebin.com/AQgXRK63" rel="nofollow noreferrer">Car</a></li>
  </ul>
  
  <p>So as you can see in database I have 2 functions to load and save XML data.</p>
  
  <p>Here is my output of saved XML data:</p>
  
  <p><a href="https://i.stack.imgur.com/9iEIH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9iEIH.png" alt="enter image description here"></a></p>
  
  <p>As you can see the date of the class <code>LogBookEntry</code> won't be saved into the XML File. That is the reason why I get the following error when loading the xml file:</p>
  
  <blockquote>
    <p>Okt 22, 2017 3:36:33 PM com.sun.xml.internal.bind.v2.ClassFactory
    create0 INFORMATION: No default constructor found on class
    java.time.LocalDate java.lang.NoSuchMethodException:
    java.time.LocalDate.()</p>
  </blockquote>
  
  <p>But I don't understand why the date of the <code>LogBookEntry</code> class won't be saved. The three <code>LocalDate</code> variables in the class <code>driver</code> being are saved. </p>