There is no spring-mobile-starter
for Spring Boot 2.x, and it looks like development has stopped.
https://github.com/spring-projects/spring-mobile
Your only real options are,
- Revert to the
1.5.x
spring boot release line
- Use the 2.x Milestone, this was never released and requires the spring milestone repository - it is not updated for
2.1
so may run into issues.
- Get involved with the repository and provide a PR upgrading it to 2.x
You could also try raising an issue on the repository and asking what the status of the project is.
If you want to try the Milestone add the following to your POM.
<dependencies>
<dependency>
<groupId>org.springframework.mobile</groupId>
<artifactId>spring-mobile-starter</artifactId>
<version>2.0.0.M2</version>
</dependency>
</dependencies>
<repositories>
<repository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>https://repo.spring.io/milestone</url>
</repository>
</repositories>