| Summary: | dtgov, dtgov-war module, unit tests DeploymentResourceTest, NotificationResourceTest - ClassNotFoundException (TJWSEmbeddedJaxrsServer), missing dependencies | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Fuse Service Works 6 | Reporter: | Martin Basovník <mbasovni> |
| Component: | 3rd Party | Assignee: | Julian Coleman <jcoleman> |
| Status: | ASSIGNED --- | QA Contact: | Tomas Sykora <tsykora> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.0.0 | CC: | atangrin, soa-p-jira, tsykora |
| Target Milestone: | CR1 | ||
| Target Release: | FUTURE | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Martin Basovník
2013-12-17 09:09:37 UTC
Where is this source coming from? The production version of the codebase already contains dependencies for those two as below
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-jaxrs</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>jaxrs-api</artifactId>
<scope>provided</scope>
</dependency>
I do not know why it did not work but I just added dependencies which contained missing classes. I found the dependencies according to information found on this page http://search.maven.org/#advancedsearch|gav. Maybe those provided information are not really "provided" by container. It looks like there are classes missing from the resteasy-jaxrs-2.3.6.Final-redhat-1.jar provided in the repo 351,358d352 < org/jboss/resteasy/plugins/server/tjws/ < org/jboss/resteasy/plugins/server/tjws/AuthenticatedHttpServletRequest.class < org/jboss/resteasy/plugins/server/tjws/PatchedHttpServletRequest.class < org/jboss/resteasy/plugins/server/tjws/TJWSEmbeddedJaxrsServer.class < org/jboss/resteasy/plugins/server/tjws/TJWSRequestPreProcessor.class < org/jboss/resteasy/plugins/server/tjws/TJWSServletDispatcher.class < org/jboss/resteasy/plugins/server/tjws/TJWSServletServer$FileMappingServe.class < org/jboss/resteasy/plugins/server/tjws/TJWSServletServer.class 432,436d425 < org/jboss/resteasy/test/ < org/jboss/resteasy/test/BaseResourceTest.class < org/jboss/resteasy/test/EmbeddedContainer.class < org/jboss/resteasy/test/TJWSServletContainer.class < org/jboss/resteasy/test/TestPortProvider.class 472d460 < org/jboss/resteasy/util/HttpServletRequestDelegate.class *** Bug 1043836 has been marked as a duplicate of this bug. *** The EAP 6.1.1 build of RESTEasy :2.3.6.Final-redhat-1 does not include the tjws classes. A build of 2.3.7 has been done for us, which does include them: https://brewweb.devel.redhat.com/buildinfo?buildID=319693 We will use this RESTEasy version in CR1. Note, that the test/*.class files will still not be present. See also: https://bugzilla.redhat.com/show_bug.cgi?id=1032115 New version of RESTEasy dependency (containing missing classes) was not included in CR1! Problem was not solved. There is still old version 2.3.6.Final-redhat-1. |