firstcup
  1. firstcup
  2. FIRSTCUP-9

JAX-RS runtime mapping in NetBeans 7.2 defaults to /webresources/ instead of /resources/.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.3
    • Fix Version/s: 7.0.0
    • Component/s: doc, examples
    • Labels:
      None

      Description

      Set the default URL that is brought up in a web browser when you run dukes-age.

      Right-click the dukes-age project in the Projects tab and select Properties.
      In the Categories pane, click Run.
      Set Relative URL to /resources/dukesAge.
      Click OK.

      Step 3 should set the url to /webresources/dukesAge to match the application path in ApplicationConfig.java

      Otherwise the url generated is http://localhost:8080/DukesAgeService/resources/dukesAge resulting in http 404 error.

        Issue Links

          Activity

          Hide
          Ian Evans added a comment -

          Revision: 173
          Author: ievans
          Date: 2012-09-19 13:22
          Message: Updated JAX-RS service to match new default resources URL in NetBeans 7.2.
          Issue #FIRSTCUP-9 - JAX-RS runtime mapping in NetBeans 7.2 defaults to /webresources/ instead of /resources/.

          Show
          Ian Evans added a comment - Revision: 173 Author: ievans Date: 2012-09-19 13:22 Message: Updated JAX-RS service to match new default resources URL in NetBeans 7.2. Issue # FIRSTCUP-9 - JAX-RS runtime mapping in NetBeans 7.2 defaults to /webresources/ instead of /resources/.
          Hide
          Ian Evans added a comment -

          Revision: 174
          Author: ievans
          Date: 2012-09-19 13:26
          Message: Updated client to match new default JAX-RS resources URL in NetBeans 7.2.
          Issue #FIRSTCUP-9 - JAX-RS runtime mapping in NetBeans 7.2 defaults to /webresources/ instead of /resources/.

          Show
          Ian Evans added a comment - Revision: 174 Author: ievans Date: 2012-09-19 13:26 Message: Updated client to match new default JAX-RS resources URL in NetBeans 7.2. Issue # FIRSTCUP-9 - JAX-RS runtime mapping in NetBeans 7.2 defaults to /webresources/ instead of /resources/.
          Hide
          Ian Evans added a comment -

          Fixed in source.

          Show
          Ian Evans added a comment - Fixed in source.

            People

            • Assignee:
              Ian Evans
              Reporter:
              Ian Evans
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: