Chapter 8. Spring Boot
8.1. Supported Spring Boot Maven Artifacts
Artifacts listed below are supported by Red Hat for direct use in RHOAR Spring Boot application projects. Spring Boot starters provide functionalities that rely on supported Spring Boot features. To use the supported starters in your application:
- Import the Spring Boot BOM to ensure artifact versions resolve correctly.
-
Specify the supported starter directly as dependencies without the artifact version in the
pom.xmlfile of your application project. The artifact version is resolved automatically based on the imported BOM.
| Group ID | Artifact ID | Version |
|---|---|---|
| org.springframework.boot | spring-boot-starter | 1.5.16.RELEASE |
| org.springframework.boot | spring-boot-starter-test | 1.5.16.RELEASE |
| org.springframework.boot | spring-boot-starter-tomcat | 1.5.16.RELEASE |
| org.springframework.boot | spring-boot-starter-undertow | 1.5.16.RELEASE |
| org.springframework.boot | spring-boot-starter-web | 1.5.16.RELEASE |
| org.springframework.boot | spring-boot-starter-websocket | 1.5.16.RELEASE |
| org.apache.cxf | cxf-spring-boot-starter-jaxrs | 3.1.12.redhat-1 |
| org.springframework.boot | spring-boot-starter-data-jpa | 1.5.16.RELEASE |
| org.springframework.boot | spring-boot-starter-jdbc | 1.5.16.RELEASE |
| org.springframework.boot | spring-boot-starter-actuator | 1.5.16.RELEASE |
| io.opentracing.contrib | opentracing-spring-jaeger-web-starter | 0.2.0.redhat-00010 |
| org.springframework.cloud | spring-cloud-starter-kubernetes | 0.2.0.RELEASE |
| org.springframework.cloud | spring-cloud-starter-kubernetes-config | 0.2.0.RELEASE |
| org.infinispan | infinispan-spring-boot-starter-embedded | 2.0.0.Alpha1 |
| org.infinispan | infinispan-spring-boot-starter-remote | 2.0.0.Alpha1 |
| org.springframework.boot | spring-boot-starter-activemq | 1.5.16.RELEASE |
| org.springframework.boot | spring-boot-starter-artemis | 1.5.16.RELEASE |
| org.amqphub.spring | amqp-10-jms-spring-boot-starter | 1.0.0 |
| me.snowdrop | narayana-spring-boot-starter | 1.0.1 |
| org.keycloak | keycloak-spring-boot-starter | 3.4.3.Final-redhat-2 |
| org.springframework.boot | spring-boot-starter-validation | 1.5.16.RELEASE |
8.2. Removed Spring Boot Maven Artifacts
The following artifacts are no longer shipped with RHOAR Spring Boot and have been removed from the BOM in the 1.5.16.RELEASE release.
| Group ID | Artifact ID | Version |
|---|---|---|
| org.springframework.cloud | spring-cloud-starter-netflix-hystrix | 1.4.5.RELEASE |
| org.springframework.cloud | spring-cloud-starter-netflix-ribbon | 1.4.5.RELEASE |
| org.springframework.cloud | spring-cloud-kubernetes-core | 0.2.0.RELEASE |
| org.springframework.cloud | spring-cloud-starter-kubernetes-netflix | 0.2.0.RELEASE |
| org.springframework.cloud | spring-cloud-sleuth-zipkin | 1.3.4.RELEASE |
8.3. Deploying Spring Boot applications on Red Hat JBoss Fuse
As a Technology Preview feature, RHOAR allows you to build and deploy Spring Boot applications packaged as JAR files on Red Hat JBoss Fuse, both in standalone mode and on OpenShift. For additional information, see Red Hat JBoss Fuse documentation.
8.4. Deploying Spring Boot Applications From WAR Files
RHOAR allows you to repackage your Spring Boot application as an executable WAR file. This feature is currently provided with the RHOAR release of Spring Boot as a Technology Preview and is not supported by Red Hat.
8.5. Known Spring Boot Issues
8.5.1. Missing APR/native library in the openshift-openjdk image
Issue Key:
NOTE: You do not have to log into JIRA to view this issue.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.