title: Spring Boot error With Jersey applicationContext.xml not found
body: <p>I'm creating my first project with Spring boot and Jersey and These are my project files, 
  The First one is Application.java class</p>
  
  <pre><code>package hello;
  
  import org.springframework.boot.SpringApplication;
  import org.springframework.boot.autoconfigure.SpringBootApplication;
  
  @SpringBootApplication
  public class Application{
  
      public static void main(String[] args) {
          SpringApplication.run(Application.class, args);
      }
  
  }
  </code></pre>
  
  <p>The Second one is HelloResource.java</p>
  
  <pre><code>package hello;
  
  import javax.ws.rs.GET;
  import javax.ws.rs.Path;
  import javax.ws.rs.Produces;
  import javax.ws.rs.core.MediaType;
  
  @Path("/hello")
  public class HelloResource {
  
      @GET
      @Produces(MediaType.TEXT_PLAIN)
      public String sayHello() {
          return "Hello World";
      }
  }
  </code></pre>
  
  <p>and The third one is JerseyConfig.java</p>
  
  <pre><code>package hello;
  
  import org.glassfish.jersey.server.ResourceConfig;
  import org.springframework.stereotype.Component;
  
  import javax.ws.rs.ApplicationPath;
  
  @Component
  @ApplicationPath("/")
  public class JerseyConfig extends ResourceConfig {
  
      public JerseyConfig() {
          register(HelloResource.class);
      }
  }
  </code></pre>
  
  <p>After running the app using "mvn spring-boot:run: command, i tried to access this URL "<a href="http://localhost:8080/hello" rel="nofollow noreferrer">http://localhost:8080/hello</a>", it shows me this error </p>
  
  <pre><code>java.io.FileNotFoundException: class path resource [applicationContext.xml] cannot be opened because it does not exist
  </code></pre>