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

          Ian Evans created issue -
          Ian Evans made changes -
          Field Original Value New Value
          Original Estimate 0 minutes [ 0 ]
          Remaining Estimate 0 minutes [ 0 ]
          Ian Evans made changes -
          Link This issue is duplicated by JAVAEETUTORIAL-157 [ JAVAEETUTORIAL-157 ]
          Ian Evans made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Ian Evans made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Fix Version/s 7.0.0 [ 15220 ]
          Resolution Fixed [ 1 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: