Skip to content

CrHacker7/spring-boot-web-SpringTools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Documentation

First steps

  • installing by -tar: go to windows -> preferences -> XML -> Download external resources
  • Right click project → Maven → Update Project (Alt + F5)
  • Search in marketplace and Install -> Eclipse Web Developer tools

Starting project

Errors

  • Not loading main class --> delete ~/.m2

  • ZipException: invalid LOC header (bad signature) --> delete ~/.m2

  • ClassNotFoundException --> delete ~/.m2

  • Tomcat connector configured to listen on port 8080 failed to start --> restart app

  • Port may already be in use --> restart app

  • Error when packages are different --> all start from the main package

thymeleaf

@{} --> to add links in html file. Req

Deployment

  1. add to JAVA_HOME
  2. ./mvnw package (to generate .jar --> /target/spring-boot-web-0.0.1.SNAPSHOT.jar)
  3. java -jar ./target/spring-boot-web-0.0.1.SNAPSHOT.jar
  • other option to point 3: ./mvnw spring-boot:run

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors