Spec: jdk1.8
, Spring Tool Suit Editor-3.8.2
, Maven 3.3.3
, Windows10 O/s
Downloaded the ZIP from url : https://spring.io/guides/gs/validating-form-input
Error on MAVEN as follows
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building gs-validating-form-input 0.1.0
[INFO] ------------------------------------------------------------------------
[DEBUG] The POM for org.springframework.boot:spring-boot-starter-thymeleaf-1.4.3.RELEASE:jar:1.4.3.RELEASE is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
Question : Why is this Error shown ?
Just follow these steps (in Eclipse or in Spring Tool Suite) after you download and unzip this project Validating Form Input :
File → Import...
. In the Import window choose Maven → Existing Maven Projects
.C:\\gs-validating-form-input\\complete
. Click OK
and Finish
.complete
folder if you want to see the final result or initial
if you want to follow this guide step-by-step .src/main/java/hello
package in Project Explorer or Navigator. Right click on the Application.java
class Run as →
then either Java Application
or Spring Boot App
(or just press Alt + Shift + x and then press j or b correspondingly).http://localhost:8080/
in the address bar.The project is OK, i downloaded, imported as Maven project in eclipse and i run it as a Spring boot app .
I am using M2Eclipse 1.7
Try cleaning your project.
Try to Right click -> Maven -> Update project.
Try right click -> Run us -> Spring Boot app.
I download this project and right click complete
open command line then mvn install , everything is ok.
The POM for org.springframework.boot:spring-boot-starter-thymeleaf-1.4.3.RELEASE:jar:1.4.3.RELEASE is missing, no dependency information available
it seemd you cant download this jar from maven repository so Check your setting.xml and repository path.
And if you use eclipse Check your windows > preferences > maven > setting.
Unzip recently imported folder from https://start.spring.io/ Use Import option pointing at unzipped folder, you could see project got selected. This way you can import Maven project in to STS IDE
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.