[jboss-jira] [JBoss JIRA] (WFLY-4868) Wildfly 9 final doesn't support REST Endpoints directly in WAR

John Ament (JIRA) issues at jboss.org
Fri Jul 3 07:40:03 EDT 2015


John Ament created WFLY-4868:
--------------------------------

             Summary: Wildfly 9 final doesn't support REST Endpoints directly in WAR
                 Key: WFLY-4868
                 URL: https://issues.jboss.org/browse/WFLY-4868
             Project: WildFly
          Issue Type: Bug
          Components: REST
    Affects Versions: 9.0.0.Final
            Reporter: John Ament
            Assignee: Stuart Douglas
            Priority: Critical


I've been testing Wildfly 9 since CR1.  In our test suite, we leverage an arquillian build that takes our build's WAR, and adds some extra classes directly.  Some of these classes are rest APIs.  I found that after upgrading this branch between CR2 and Final, the REST endpoints placed directly in the WAR file do not function.  Most of my REST endpoints go into JARs which go into the WAR, those all work fine.

I'll see if I can create a very simple test case that reproduces this issue.

The error output is generally along the lines of 

```
11:35:35,658 WARN  [com.mycompany.ExceptionConverters] (default task-14) Returning an exception back to the client on failure, : javax.ws.rs.NotFoundException: Could not find resource for full path: http://127.0.0.1:8082/rest/i-test-status
```



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list