<< Back to previous view

[FIRSTCUP-9] JAX-RS runtime mapping in NetBeans 7.2 defaults to /webresources/ instead of /resources/. Created: 19/Sep/12  Updated: 11/Jun/13  Resolved: 11/Jun/13

Status: Resolved
Project: firstcup
Component/s: doc, examples
Affects Version/s: 2.1.3
Fix Version/s: 7.0.0

Type: Bug Priority: Major
Reporter: Ian Evans Assignee: Ian Evans
Resolution: Fixed Votes: 0
Remaining Estimate: 0 minutes
Time Spent: Not Specified
Original Estimate: 0 minutes

Issue Links:
Duplicate
is duplicated by JAVAEETUTORIAL-157 DukesAgeResource Example Application ... Closed
Tags:
Participants: Ian Evans

 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.



 Comments   
Comment by Ian Evans [ 19/Sep/12 08:22 PM ]

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/.

Comment by Ian Evans [ 19/Sep/12 08:26 PM ]

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/.

Comment by Ian Evans [ 11/Jun/13 09:01 PM ]

Fixed in source.

Generated at Sun Apr 20 20:20:43 UTC 2014 using JIRA 4.0.2#472.