[CONTROLLER-708] Getting error pulling RESTCONF URL Created: 20/Aug/14 Updated: 25/Jul/23 Due: 21/Aug/14 Resolved: 21/Aug/14 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | restconf |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Giles Heron | Assignee: | Tony Tkacik |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Mac OS |
||
| Attachments: |
|
| External issue ID: | 1586 |
| Description |
|
When I pull a RESTCONF URL that refers to a top level container in a specific sub-module I'm getting an error: The URL is: The error is: HTTP Status 500 - java.lang.NoSuchMethodError: javax.ws.rs.WebApplicationException: method <init>(Ljava/lang/String;Ljava/lang/Throwable;)V not found type Exception report message java.lang.NoSuchMethodError: javax.ws.rs.WebApplicationException: method <init>(Ljava/lang/String;Ljava/lang/Throwable;)V not found description The server encountered an internal error that prevented it from fulfilling this request. exception javax.servlet.ServletException: java.lang.NoSuchMethodError: javax.ws.rs.WebApplicationException: method <init>(Ljava/lang/String;Ljava/lang/Throwable;)V not found root cause java.lang.NoSuchMethodError: javax.ws.rs.WebApplicationException: method <init>(Ljava/lang/String;Ljava/lang/Throwable;)V not found note The full stack trace of the root cause is available in the Apache Tomcat/7.0.32 logs. |
| Comments |
| Comment by Giles Heron [ 20/Aug/14 ] |
|
Attachment opendaylight.zip has been added with description: zipped opendaylight.log |
| Comment by Tony Tkacik [ 20/Aug/14 ] |
|
Are you experiencing this in distribution of Opendaylight with original bundled tomcat? This seems that JAX-RS version is 1.0, but Opendaylight uses and requires 2.0 |
| Comment by Giles Heron [ 20/Aug/14 ] |
|
Yes - I'm using the bundled Tomcat... |
| Comment by Tony Tkacik [ 21/Aug/14 ] |
|
Underlaying bug was in YANGTools processing single quoted strings. |