# Solace-spring-boot is not building (missing artifacts)

**URL:** <https://community.solace.com/t/solace-spring-boot-is-not-building-missing-artifacts/4763>\
**Category:** General Discussions\
**Tags:** springboot\
**Created:** [February 11, 2026, 8:18am UTC](https://community.solace.com/t/solace-spring-boot-is-not-building-missing-artifacts/4763 "2026-02-11T08:18:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mats](https://yyz1.discourse-cdn.com/solace/user_avatar/community.solace.com/mats/32/2248_2.png) [@Mats](https://community.solace.com/u/Mats)\
**Post date:** [February 11, 2026, 8:18am UTC](https://community.solace.com/t/solace-spring-boot-is-not-building-missing-artifacts/4763/1 "2026-02-11T08:18:07Z")

</div>

Hi!  
Using Java and Spring Boot and trying to get up & running with an Oauth2 authenticated producer.  
Found the solacle-spring-boot project/repo: [GitHub - SolaceProducts/solace-spring-boot: An umbrella project containing all Solace projects for Spring Boot](https://github.com/SolaceProducts/solace-spring-boot/tree/master)

Following the instructions but it has problem finding Maven artifacts.  
My expectation is that the project should work “out of the box”.  
Please assist on how to resolve.

```auto
mats@computer ~ % git clone https://github.com/SolaceProducts/solace-spring-boot.git
Cloning into 'solace-spring-boot'...
remote: Enumerating objects: 3025, done.
remote: Counting objects: 100% (738/738), done.
remote: Compressing objects: 100% (195/195), done.
remote: Total 3025 (delta 626), reused 541 (delta 541), pack-reused 2287 (from 2)
Receiving objects: 100% (3025/3025), 843.17 KiB | 8.78 MiB/s, done.
Resolving deltas: 100% (1367/1367), done.
mats@computer ~ % cd solace-spring-boot
mats@computer solace-spring-boot % mvn install
[INFO] Scanning for projects...
Downloading from central: https://repo.maven.apache.org/maven2/com/solace/test/integration/solace-integration-test-support-bom/1.1.2/solace-integration-test-support-bom-1.1.2.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Non-resolvable import POM: The following artifacts could not be resolved: com.solace.test.integration:solace-integration-test-support-bom:pom:1.1.2 (absent): Could not find artifact com.solace.test.integration:solace-integration-test-support-bom:pom:1.1.2 in central (https://repo.maven.apache.org/maven2) @ line 92, column 25

```

---

<div class="post-metadata">

**Author:** ![Solly-AI](https://yyz1.discourse-cdn.com/solace/user_avatar/community.solace.com/solly-ai/32/2305_2.png) [@Solly-AI](https://community.solace.com/u/Solly-AI)\
**Post date:** [February 11, 2026, 8:18am UTC](https://community.solace.com/t/solace-spring-boot-is-not-building-missing-artifacts/4763/2 "2026-02-11T08:18:44Z")

</div>

**Hi there, I’m Solly AI, I generate responses to your questions using the power of the [Solace Agent Mesh](https://github.com/SolaceLabs/solace-agent-mesh)**:

**Please remember that AI technology can make mistakes so ensure that you read our [Disclaimer](https://docs.solace.com/docs-ai-disclaimer.htm).**

**AI Generated responses are a work in progress, your help in evaluating my response would be awesome! If my response makes sense, please mark it as a solution or give a 👍. If my response doesn’t make sense for your topic, please react to it with a 🫨.**

Based on the provided documentation, I can help explain the Maven dependency issues with the solace-spring-boot project. Let me break down the key points:

1. Version Compatibility Issue:  
The error appears to be related to incompatible Spring framework versions, specifically with Spring Cloud Stream and Spring Boot versions. The error indicates a missing method: `MessageBuilder.removeHeader()`.

2. Root Cause:

- Spring Boot 3.4.1 is not compatible with certain Spring Cloud Stream components
- The version mismatch is causing method signature conflicts between different Spring components

1. Solution:  
The recommended approach is to:

2. Use an earlier compatible version combination:

3. Implement proper dependency management using BOMs (Bill of Materials):

Here’s the recommended Maven configuration approach:

```xml
<dependencyManagement>
    <dependencies>
        <!-- Spring Boot BOM -->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-dependencies</artifactId>
            <version>3.3.7</version>
            <type>pom</type>
            <scope>import</scope>
        </dependency>
        
        <!-- Spring Cloud BOM -->
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-dependencies</artifactId>
            <version>2023.0.x</version>
            <type>pom</type>
            <scope>import</scope>
        </dependency>
    </dependencies>
</dependencyManagement>

```

This configuration will help manage Spring dependencies consistently and avoid version conflicts.

Sources:

- [Building Java Projects with Maven](https://docs.solace.com/API/API-Developer-Guide/Building-JCSMP-Projects-With-Maven.htm)
- [Building JMS Projects with Maven](https://docs.solace.com/API/Solace-JMS-API/Building-JMS-Projects-With-Maven.htm)

---

<div class="post-metadata">

**Author:** ![marc](https://yyz1.discourse-cdn.com/solace/user_avatar/community.solace.com/marc/32/2191_2.png) [@marc](https://community.solace.com/u/marc)\
**Post date:** [February 11, 2026, 5:09pm UTC](https://community.solace.com/t/solace-spring-boot-is-not-building-missing-artifacts/4763/3 "2026-02-11T17:09:00Z")

</div>

Hi @Mats,

Thanks for sharing this. Sorry for the error! I get the same error as you and will get this in front of the right people 🙂

---

<div class="post-metadata">

**Author:** ![Jeff](https://yyz1.discourse-cdn.com/solace/user_avatar/community.solace.com/jeff/32/2797_2.png) [@Jeff](https://community.solace.com/u/Jeff)\
**Post date:** [February 11, 2026, 6:53pm UTC](https://community.solace.com/t/solace-spring-boot-is-not-building-missing-artifacts/4763/4 "2026-02-11T18:53:01Z")

</div>

Hi @Mats, this is failing because Maven needs to be configured to be able to pull `solace-integration-test-support-bom` from Github Packages. We’ve just updated the build docs with the instructions. Please take a look: [GitHub - SolaceProducts/solace-spring-boot: An umbrella project containing all Solace projects for Spring Boot](https://github.com/SolaceProducts/solace-spring-boot?tab=readme-ov-file#prerequisites)

---

<div class="post-metadata">

**Author:** ![Mats](https://yyz1.discourse-cdn.com/solace/user_avatar/community.solace.com/mats/32/2248_2.png) [@Mats](https://community.solace.com/u/Mats)\
**Post date:** [February 12, 2026, 12:35pm UTC](https://community.solace.com/t/solace-spring-boot-is-not-building-missing-artifacts/4763/5 "2026-02-12T12:35:14Z")

</div>

Thank you @Jeff, after following the updated instructions it now works locally 👍 .
