You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2020/10/09 21:04:09 UTC
[GitHub] [camel-quarkus] mmelko opened a new pull request #1899: camel-quarkus-jira: Add resteasy-common dependency
mmelko opened a new pull request #1899:
URL: https://github.com/apache/camel-quarkus/pull/1899
Add `quarkus-resteasy-common` dependency that allows to work extension properly and avoids exceptions like:
```
Caused by: java.lang.ClassNotFoundException: javax.ws.rs.core.UriBuilder
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
at io.quarkus.bootstrap.classloading.QuarkusClassLoader.loadClass(QuarkusClassLoader.java:406)
at io.quarkus.bootstrap.classloading.QuarkusClassLoader.loadClass(QuarkusClassLoader.java:363)
... 36 more
```
```
Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: org.glassfish.jersey.internal.RuntimeDelegateImpl
at javax.ws.rs.ext.RuntimeDelegate.findDelegate(RuntimeDelegate.java:129)
at javax.ws.rs.ext.RuntimeDelegate.getInstance(RuntimeDelegate.java:96)
at javax.ws.rs.core.UriBuilder.newInstance(UriBuilder.java:72)
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:83)
at com.atlassian.jira.rest.client.internal.async.AsynchronousJiraRestClient.<init>(AsynchronousJiraRestClient.java:58)
at org.apache.camel.component.jira.oauth.OAuthAsynchronousJiraRestClientFactory.create(OAuthAsynchronousJiraRestClientFactory.java:33)
at com.atlassian.jira.rest.client.internal.async.AsynchronousJiraRestClientFactory.createWithBasicHttpAuthentication(AsynchronousJiraRestClientFactory.java:42)
at org.apache.camel.component.jira.JiraEndpoint.doStart(JiraEndpoint.java:119)
at org.apache.camel.support.service.BaseService.start(BaseService.java:115)
at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:84)
at org.apache.camel.impl.engine.RouteService.doWarmUp(RouteService.java:140)
at org.apache.camel.impl.engine.RouteService.warmUp(RouteService.java:122)
... 28 more
Caused by: java.lang.ClassNotFoundException: org.glassfish.jersey.internal.RuntimeDelegateImpl
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
at io.quarkus.bootstrap.classloading.QuarkusClassLoader.loadClass(QuarkusClassLoader.java:406)
at io.quarkus.bootstrap.classloading.QuarkusClassLoader.loadClass(QuarkusClassLoader.java:363)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:315)
at javax.ws.rs.ext.FactoryFinder.newInstance(FactoryFinder.java:93)
at javax.ws.rs.ext.FactoryFinder.find(FactoryFinder.java:210)
at javax.ws.rs.ext.RuntimeDelegate.findDelegate(RuntimeDelegate.java:111)
... 39 more
```
Expections are caused by excluding `javax.ws.rs:jsr311-api` which is a transivite dependency of Jira REST client (`com.atlassian.jira:jira-rest-java-client-core`).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-quarkus] ppalaga commented on pull request #1899: camel-quarkus-jira: Add resteasy-common dependency
Posted by GitBox <gi...@apache.org>.
ppalaga commented on pull request #1899:
URL: https://github.com/apache/camel-quarkus/pull/1899#issuecomment-706944294
@jamesnetherton I vote for merging unless you have more questions?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-quarkus] ppalaga commented on pull request #1899: camel-quarkus-jira: Add resteasy-common dependency
Posted by GitBox <gi...@apache.org>.
ppalaga commented on pull request #1899:
URL: https://github.com/apache/camel-quarkus/pull/1899#issuecomment-706942568
`jboss-jaxrs-api_2.1_spec` would be enough to solve the `ClassNotFoundException: javax.ws.rs.core.UriBuilder` but not the missing `RuntimeDelegate` implementation, that is provided in `resteasy-core` that in turn comes via `resteasy-common` extension.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-quarkus] ppalaga commented on pull request #1899: camel-quarkus-jira: Add resteasy-common dependency
Posted by GitBox <gi...@apache.org>.
ppalaga commented on pull request #1899:
URL: https://github.com/apache/camel-quarkus/pull/1899#issuecomment-706944854
Thanks @mmelko !
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-quarkus] ppalaga merged pull request #1899: camel-quarkus-jira: Add resteasy-common dependency
Posted by GitBox <gi...@apache.org>.
ppalaga merged pull request #1899:
URL: https://github.com/apache/camel-quarkus/pull/1899
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-quarkus] ppalaga commented on pull request #1899: camel-quarkus-jira: Add resteasy-common dependency
Posted by GitBox <gi...@apache.org>.
ppalaga commented on pull request #1899:
URL: https://github.com/apache/camel-quarkus/pull/1899#issuecomment-706943043
We discussed this thoroughly with @mmelko on Friday.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-quarkus] jamesnetherton commented on pull request #1899: camel-quarkus-jira: Add resteasy-common dependency
Posted by GitBox <gi...@apache.org>.
jamesnetherton commented on pull request #1899:
URL: https://github.com/apache/camel-quarkus/pull/1899#issuecomment-706944472
> @jamesnetherton I vote for merging unless you have more questions?
Sure - go ahead.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org