title: New REST request in JHipster returning "Not Found - 404"
body: <h2>Error Description</h2>
  
  <p>Hey all,</p>
  
  <p>I'm having trouble getting a response from my manually added controllers in a JHipster-based project. I scaffolded up the original project, and then hand-wrote my own services and controllers. </p>
  
  <p>When I execute the call, the <strong>error result I get from SoapUI</strong> (which I am using for initial validation) is at the following url: <a href="http://imgur.com/04FpmEZ,Havk1EL#0" rel="nofollow">http://imgur.com/04FpmEZ,Havk1EL#0</a></p>
  
  <p>And if I look at my <strong>Eclipse console error</strong>, I see the following: <a href="http://imgur.com/04FpmEZ,Havk1EL#1" rel="nofollow">http://imgur.com/04FpmEZ,Havk1EL#1</a></p>
  
  <h2>Controller</h2>
  
  <pre><code>/**
   * GET  /courses/json -&gt; get all the courses.
   */
  @RequestMapping(value = "/json",
          method = RequestMethod.GET,
          produces = "application/json")
  @Timed
  public List&lt;Course&gt; getAll() {
      log.debug("REST request to get all Courses");
      return courseService.findAllCourses();
  }
  </code></pre>
  
  <h2>Service</h2>
  
  <pre><code>package com.testapp.myapp.service;
  
  import java.util.List;
  
  import org.springframework.beans.factory.annotation.Autowired;
  import org.springframework.stereotype.Service;
  import org.springframework.transaction.annotation.Transactional;
  
  import com.testapp.myapp.domain.Course;
  import com.testapp.myapp.repository.CourseRepository;
  
  @Service
  @Transactional
  public class CourseServiceImpl implements CourseService {
  
      @Autowired
      CourseRepository courseRepository;
  
      public long countAllCourses() {
          return courseRepository.count();
      }
  
      public void deleteCourse(Course course) {
          courseRepository.delete(course);
      }
  
      public Course findCourse(Integer id) {
          return courseRepository.findOne(id);
      }
  
      public List&lt;Course&gt; findAllCourses() {
          return courseRepository.findAll();
      }
  
      public List&lt;Course&gt; findCourseEntries(int firstResult, int maxResults) {
          return courseRepository.findAll(new org.springframework.data.domain.PageRequest(firstResult / maxResults, maxResults)).getContent();
      }
  
      public void saveCourse(Course course) {
          courseRepository.save(course);
      }
  
      public Course updateCourse(Course course) {
          return courseRepository.save(course);
      }
  }
  </code></pre>
  
  <p>What is confusing about this is that I ran the query provided by hibernate directly against my DB, and it returns the record set just fine. <strong>Is it possible that the service is being blocked due to some security or authentication constraint auto-loaded by JHipster?</strong></p>