Skip to content
Snippets Groups Projects
Commit 1f7ce105 authored by Johannes Wilhelm's avatar Johannes Wilhelm
Browse files
parent 097f38d2
No related branches found
No related tags found
No related merge requests found
...@@ -5,18 +5,16 @@ ...@@ -5,18 +5,16 @@
<parent> <parent>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId> <artifactId>spring-boot-starter-parent</artifactId>
<version>2.3.0.RELEASE</version> <version>2.2.2.RELEASE</version>
<relativePath/> <!-- lookup parent from repository --> <relativePath/> <!-- lookup parent from repository -->
</parent> </parent>
<groupId>de.thd.pms</groupId> <groupId>com.example</groupId>
<artifactId>schleicherhof_pms</artifactId> <artifactId>accessing-data-mysql</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>0.0.1-SNAPSHOT</version>
<name>schleicherhof_pms</name> <name>accessing-data-mysql</name>
<description>Spring Boot_schleicherhof</description> <description>Demo project for Spring Boot</description>
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version> <java.version>1.8</java.version>
</properties> </properties>
...@@ -25,10 +23,6 @@ ...@@ -25,10 +23,6 @@
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId> <artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency> </dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-thymeleaf</artifactId>
</dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId> <artifactId>spring-boot-starter-web</artifactId>
...@@ -43,11 +37,12 @@ ...@@ -43,11 +37,12 @@
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId> <artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> <exclusions>
<dependency> <exclusion>
<groupId>org.javassist</groupId> <groupId>org.junit.vintage</groupId>
<artifactId>javassist</artifactId> <artifactId>junit-vintage-engine</artifactId>
<version>3.25.0-GA</version> </exclusion>
</exclusions>
</dependency> </dependency>
</dependencies> </dependencies>
......
...@@ -2,9 +2,11 @@ package de.thd.pms; ...@@ -2,9 +2,11 @@ package de.thd.pms;
import org.springframework.boot.SpringApplication; import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
@SpringBootApplication @SpringBootApplication
@ComponentScan({"com.mypackage.controller"})
public class SchleicherhofPmsApplication { public class SchleicherhofPmsApplication {
public static void main(String[] args) { public static void main(String[] args) {
......
...@@ -2,5 +2,6 @@ spring.jpa.hibernate.ddl-auto=update ...@@ -2,5 +2,6 @@ spring.jpa.hibernate.ddl-auto=update
spring.datasource.url=jdbc:mysql://localhost:3306/schleicherhof_pms spring.datasource.url=jdbc:mysql://localhost:3306/schleicherhof_pms
spring.datasource.username=root spring.datasource.username=root
spring.datasource.password=password spring.datasource.password=password
spring.datasource.driver-class-name=com.mysql.jdbc.Driver spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment