E
E
Egor Petrov2018-05-31 10:10:06
Java
Egor Petrov, 2018-05-31 10:10:06

What dependency to register to update spring boot to 2.0.2 for spring-boot-starter-velocity?

I upgrade Spring boot from version 1.4.0 to 2.0.2. On startup the following errors:

[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] 'dependencies.dependency.version' for org.springframework.boot:spring-boot-starter-velocity:jar is missing. @ line 25, column 15 @
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project com.test:proj.web:0.0.1-SNAPSHOT (/home/test/proj/pom.xml) has 1 error
[ERROR]     'dependencies.dependency.version' for org.springframework.boot:spring-boot-starter-velocity:jar is missing. @ line 25, column 15
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException

Do I understand correctly that this extension is not suitable for Spring boot 2.0.2?
How can the problem be solved?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
aol-nnov, 2018-05-31
@aol-nnov

Deprecations from Spring Boot 1.4
Classes, methods and properties that were deprecated in Spring Boot 1.4 have been removed in this release. Please ensure that you aren't calling deprecated methods before upgrading. In particular, the HornetQ and Velocity support have been removed.
https://github.com/spring-projects/spring-boot/wik...
I suspect that simply specifying the version for spring-boot-starter-velocity will not end the matter.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question