Skip to content

Instantly share code, notes, and snippets.

@sonemaro
Last active November 20, 2017 13:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sonemaro/88ade0ed90089114c887acadbdc340b5 to your computer and use it in GitHub Desktop.
Save sonemaro/88ade0ed90089114c887acadbdc340b5 to your computer and use it in GitHub Desktop.
spring-boot-tips

Spring Boot your Hello World app will not "start"

add this to dependencies

<dependency>
   <groupId>org.springframework.boot</groupId>
   <artifactId>spring-boot-starter-web</artifactId>
</dependency>

=================================

Spring Boot – Cannot determine embedded database driver class for database type NONE

@EnableAutoConfiguration(exclude={DataSourceAutoConfiguration.class}) or add spring.datasource.url=jdbc:mysql://localhost/Test_DB to application.properties

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment