Arnie Morein - 2021-01-06

I am trying to add RestEasy to an existing application that already has SOAP/XML via CXF. It is a Spring app that uses JSPs but it also has JSF 2.3 and Weld. It runs on Tomcat.

I have added the following jars to the project:

  • microprofile-config-2018.5.0.jar
  • microprofile-config-api-2.0.jar
  • resteasy-cache-core-4.5.8.Final.jar
  • resteasy-client-4.5.8.Final.jar
  • resteasy-client-api-4.5.8.Final.jar
  • resteasy-client-microprofile-4.5.8.Final.jar
  • resteasy-context-propagation-4.5.8.Final.jar
  • resteasy-core-4.5.8.Final.jar
  • resteasy-core-spi-4.5.8.Final.jar
  • resteasy-jaxb-provider-4.5.8.Final.jar
  • resteasy-jaxrs-services-3.1.4.Final.jar
  • resteasy-jsapi-4.5.8.Final.jar
  • resteasy-json-binding-provider-4.5.8.Final.jar
  • resteasy-json-p-provider-4.5.8.Final.jar
  • resteasy-multipart-provider-4.5.8.Final.jar
  • resteasy-servlet-initializer-4.5.8.Final.jar
  • resteasy-spring-4.5.8.Final.jar
  • resteasy-validator-provider-4.5.8.Final.jar
  • resteasy-wadl-4.5.8.Final.jar
  • smallrye-common-classloader-1.5.0.jar
  • smallrye-common-constraint-1.5.0.jar
  • smallrye-common-function-1.1.0.jar
  • smallrye-config-2.0.0.jar
  • smallrye-config-common-2.0.0.jar
  • smallrye-config-core-2.0.0.jar
  • ws-atlassian-jira-8.2.3.jar

During WAR deployment, I get the following exception:

Caused by: org.jboss.weld.exceptions.DeploymentException
at org.jboss.weld.bootstrap.events.AbstractDeploymentContainerEvent.fire(AbstractDeploymentContainerEvent.java:38)
at org.jboss.weld.bootstrap.events.AfterDeploymentValidationImpl.fire(AfterDeploymentValidationImpl.java:28)
at org.jboss.weld.bootstrap.WeldStartup.validateBeans(WeldStartup.java:505)
at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:93)
at org.jboss.weld.environment.servlet.WeldServletLifecycle.initialize(WeldServletLifecycle.java:237)
at org.jboss.weld.environment.servlet.EnhancedListener.onStartup(EnhancedListener.java:62)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5098)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
... 19 more
Caused by: javax.enterprise.event.ObserverException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
...
Caused by: java.lang.AbstractMethodError: Method org/jboss/resteasy/microprofile/config/ServletContextConfigSource.getPropertyNames()Ljava/util/Set; is abstract
at org.jboss.resteasy.microprofile.config.ServletContextConfigSource.getPropertyNames(ServletContextConfigSource.java)

I've looked around and cannot figure out what jar I need that has an implementation for that method.

Help?