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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: