My Oracle Support Banner

Simple Rest Endpoint Fails with java.lang.AbstractMethodError (Doc ID 2151614.1)

Last updated on MAY 03, 2018

Applies to:

Oracle SOA Suite - Version 12.2.1.0.0 and later
Information in this document applies to any platform.

Symptoms

Unable to access REST end points due to the error:

java.lang.AbstractMethodError: javax.ws.rs.core.UriBuilder.uri(Ljava/lang/String;)Ljavax/ws/rs/core/UriBuilder;
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:119)
at org.glassfish.jersey.client.JerseyWebTarget.<init>(JerseyWebTarget.java:71)
at org.glassfish.jersey.client.JerseyClient.target(JerseyClient.java:290)
at org.glassfish.jersey.client.JerseyClient.target(JerseyClient.java:76)
at oracle.integration.platform.blocks.rest.bc.reference.RestResource.checkWebResource(RestResource.java:66)
at oracle.integration.platform.blocks.rest.bc.reference.RestResource.addHeader(RestResource.java:80)
at oracle.integration.platform.blocks.rest.bc.reference.RestReference.addHeadersFromNormalizedMsg(RestReference.java:361)
at oracle.integration.platform.blocks.rest.bc.reference.wsdl.WsdlReference.addHeaders(WsdlReference.java:348)
at oracle.integration.platform.blocks.rest.bc.reference.wsdl.WsdlReference.buildRestResource(WsdlReference.java:110)
at oracle.integration.platform.blocks.rest.bc.reference.RestReference.request(RestReference.java:271)
at oracle.integration.platform.blocks.rest.bc.reference.RestReferenceBindingComponent.request(RestReferenceBindingComponent.java:242)
at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMessageHandler.java:151)
at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:214)
at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:301)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)

...

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.