title: java.lang.ClassNotFoundException: fr.bordeaux.contactapp.Exceptions.AuthenticationException after renaming package
body: <p>I move/rename the package where my servlet are and I get this error :</p>
  
  <blockquote>
    <p>java.lang.ClassNotFoundException: fr.bordeaux.contactapp.Exceptions.AuthenticationException</p>
  </blockquote>
  
  <p>I'm new to Eclipse and Java. I undo the rename but errors persist.
  Everybody have an idea that I have to do ?</p>
  
  <p>Thanks for your help.</p>
  
  <p>There are the trace here :</p>
  
  <pre><code>Caused by: java.lang.NoClassDefFoundError: fr/bordeaux/contactapp/Exceptions/AuthenticationException
      at java.lang.Class.getDeclaredFields0(Native Method)
      at java.lang.Class.privateGetDeclaredFields(Class.java:2499)
      at java.lang.Class.getDeclaredFields(Class.java:1811)
      at org.apache.catalina.util.Introspection.getDeclaredFields(Introspection.java:106)
      at org.apache.catalina.startup.WebAnnotationSet.loadFieldsAnnotation(WebAnnotationSet.java:256)
      at org.apache.catalina.startup.WebAnnotationSet.loadApplicationServletAnnotations(WebAnnotationSet.java:132)
      at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:65)
      at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:334)
      at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:774)
      at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:305)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
      at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
      at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5053)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      ... 6 more
  Caused by: java.lang.ClassNotFoundException: fr.bordeaux.contactapp.Exceptions.AuthenticationException
      at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1305)
      at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1157)
      ... 20 more
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/3ctZi.jpg" alt="Director"></p>