/GreenOneSpringBoot

My first Spring Boot Application

Primary LanguageJava

GreenOneSpringBoot (Note: To open in IntelliJ, open the sample.project folder)

Basic HelloWorld Spring Boot application that exposes a simple GET end point and a entry point class for Spring Boot.

Tools Used:

Tutorials Used:

IntelliJ base .gitignore file:

https://github.com/github/gitignore/blob/master/Global/JetBrains.gitignore

Observations:

  • Put build.grade along side src folder
  • Had compile issues surrounding Packages: https://www.youtube.com/watch?v=EBWmlcMXxXc)
  • Had to modify build.grade (https://stackoverflow.com/questions/24924932/gradle-could-not-find-or-load-main-class)
  • 2 Terminals open to execute commands in Spring Boot Tutorial:
    • 1st to build and run the application
    • 2nd to exucute curl command to test
  • For Maven
    • Had issues with mvn -version, turned out to be a corrupt zip file
    • Used Java JDK binaries instead of installer so there are no spaces in location (ie Program Files)
    • Created M2_HOME, MAVEN_HOME and JAVA_HOME and pointed them to the root directions (not the bin)
    • In PATH, %M2_HOME%\bin etc etc

Burning Questions: