title: Java spring error: It is not working even i đid exactly everything the teacher said
body: <pre><code>package springdemo4;
  
  import org.springframework.context.support.ClassPathXmlApplicationContext;
  
  public class HelloSpringApp {
  
      public static void main(String[] args) {
          ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("applicationContext.xml");
          Coach theCoach = context.getBean("myCoach",Coach.class);
          System.out.println(theCoach.getDailyFortune());
          System.out.println(theCoach.getDailyWorkout());
          context.close();
  
      }
  
  }
  </code></pre>
  
  <p>I ran it, then it said:</p>
  
  <blockquote>
    <p>Error occurred during initialization of boot layer
    java.lang.module.FindException: Unable to derive module descriptor for C:\Users\ngoch\eclipse-workspace\springdemo4\libs\spring-context-indexer-5.1.9.RELEASE-sources.jar
    Caused by: java.lang.module.InvalidModuleDescriptorException: Provider class org.springframework.context.index.processor.CandidateComponentsIndexer not in module</p>
  </blockquote>
  
  <p>Please,help</p>