postgresql files

This commit is contained in:
Linux User 2020-12-30 16:14:18 +00:00
parent 0c2ac849f2
commit 9cf67bab33
17 changed files with 406 additions and 274 deletions

View File

@ -1,53 +1,7 @@
-- MySQL dump 10.13 Distrib 8.0.17, for macos10.14 (x86_64) CREATE TABLE student_simulator (
-- id int NOT NULL PRIMARY KEY,
-- Host: localhost Database: playground student_id varchar(45) DEFAULT NULL,
-- ------------------------------------------------------ task_arn varchar(512) DEFAULT NULL,
-- Server version 8.0.18 status varchar(45) DEFAULT NULL,
time_stamp date DEFAULT NULL
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; );
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!50503 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `student_simulator`
--
DROP TABLE IF EXISTS `student_simulator`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `student_simulator` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`student_id` varchar(45) COLLATE utf8mb4_general_ci DEFAULT NULL,
`task_arn` varchar(512) COLLATE utf8mb4_general_ci DEFAULT NULL,
`status` varchar(45) COLLATE utf8mb4_general_ci DEFAULT NULL,
`time_stamp` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `student_simulator`
--
LOCK TABLES `student_simulator` WRITE;
/*!40000 ALTER TABLE `student_simulator` DISABLE KEYS */;
/*!40000 ALTER TABLE `student_simulator` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2020-01-06 23:21:01

View File

@ -1,54 +1,9 @@
-- MySQL dump 10.13 Distrib 8.0.17, for macos10.14 (x86_64) CREATE TABLE task (
-- id int NOT NULL PRIMARY KEY,
-- Host: localhost Database: playground name varchar(45) DEFAULT NULL,
-- ------------------------------------------------------ type varchar(45) DEFAULT NULL,
-- Server version 8.0.18 action varchar(45)DEFAULT NULL,
url varchar(45) DEFAULT NULL
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; );
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; INSERT INTO task VALUES (1,'Is simulator launched ?','bool','Launch Simulator',NULL),(2,'Is scripting started ?','bool','Start scripting',NULL),(3,'Is script saved ?','bool','Save script',NULL),(4,'Percentage of code completed ?','string','None',NULL);
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!50503 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `task`
--
DROP TABLE IF EXISTS `task`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `task` (
`id` int(11) NOT NULL,
`name` varchar(45) COLLATE utf8mb4_general_ci DEFAULT NULL,
`type` varchar(45) COLLATE utf8mb4_general_ci DEFAULT NULL,
`action` varchar(45) COLLATE utf8mb4_general_ci DEFAULT NULL,
`url` varchar(45) COLLATE utf8mb4_general_ci DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `task`
--
LOCK TABLES `task` WRITE;
/*!40000 ALTER TABLE `task` DISABLE KEYS */;
INSERT INTO `task` VALUES (1,'Is simulator launched ?','bool','Launch Simulator',NULL),(2,'Is scripting started ?','bool','Start scripting',NULL),(3,'Is script saved ?','bool','Save script',NULL),(4,'Percentage of code completed ?','string','None',NULL);
/*!40000 ALTER TABLE `task` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2020-01-06 23:21:01

View File

@ -1,51 +1,5 @@
-- MySQL dump 10.13 Distrib 8.0.17, for macos10.14 (x86_64) CREATE TABLE task_progress (
-- id int NOT NULL PRIMARY KEY,
-- Host: localhost Database: playground task_id int DEFAULT NULL,
-- ------------------------------------------------------ task_progress_value varchar(45) DEFAULT NULL
-- Server version 8.0.18 );
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!50503 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `task_progress`
--
DROP TABLE IF EXISTS `task_progress`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `task_progress` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`task_id` int(11) DEFAULT NULL,
`task_progress_value` varchar(45) COLLATE utf8mb4_general_ci DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `task_progress`
--
LOCK TABLES `task_progress` WRITE;
/*!40000 ALTER TABLE `task_progress` DISABLE KEYS */;
/*!40000 ALTER TABLE `task_progress` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2020-01-06 23:21:01

View File

@ -1,56 +1,10 @@
-- MySQL dump 10.13 Distrib 8.0.17, for macos10.14 (x86_64) CREATE TABLE user_competition (
-- id int NOT NULL PRIMARY KEY,
-- Host: localhost Database: playground user_id varchar(255)DEFAULT NULL,
-- ------------------------------------------------------ comp_id varchar(255) DEFAULT NULL,
-- Server version 8.0.18 task_id varchar(255) DEFAULT NULL,
task_name varchar(45)DEFAULT NULL,
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; task_progress varchar(45) DEFAULT NULL,
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; task_action varchar(255) DEFAULT NULL,
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; task_url varchar(255) DEFAULT NULL
/*!50503 SET NAMES utf8 */; );
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `user_competition`
--
DROP TABLE IF EXISTS `user_competition`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `user_competition` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
`comp_id` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
`task_id` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
`task_name` varchar(45) COLLATE utf8mb4_general_ci DEFAULT NULL,
`task_progress` varchar(45) COLLATE utf8mb4_general_ci DEFAULT NULL,
`task_action` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
`task_url` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=59 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `user_competition`
--
LOCK TABLES `user_competition` WRITE;
/*!40000 ALTER TABLE `user_competition` DISABLE KEYS */;
/*!40000 ALTER TABLE `user_competition` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2020-01-06 23:21:00

View File

@ -67,8 +67,8 @@
<artifactId>spring-boot-starter-jdbc</artifactId> <artifactId>spring-boot-starter-jdbc</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>mysql</groupId> <groupId>org.postgresql</groupId>
<artifactId>mysql-connector-java</artifactId> <artifactId>postgresql</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.amazonaws</groupId> <groupId>com.amazonaws</groupId>

View File

@ -1,4 +0,0 @@
#Created by Apache Maven 3.6.0
groupId=com.example
artifactId=springbootapp
version=0.0.1-SNAPSHOT

View File

@ -10,8 +10,8 @@ com/example/springbootapp/repository/CompetitionRepository.class
com/example/springbootapp/model/UserCompetition.class com/example/springbootapp/model/UserCompetition.class
com/example/springbootapp/model/User.class com/example/springbootapp/model/User.class
com/example/springbootapp/repository/SimulatorRepository.class com/example/springbootapp/repository/SimulatorRepository.class
com/example/springbootapp/config/SimpleCORSFilter.class
com/example/springbootapp/controllers/RedirectController.class com/example/springbootapp/controllers/RedirectController.class
com/example/springbootapp/config/SimpleCORSFilter.class
com/example/springbootapp/model/Task.class com/example/springbootapp/model/Task.class
com/example/springbootapp/controllers/SimulatorController.class com/example/springbootapp/controllers/SimulatorController.class
com/example/springbootapp/services/CompetitionService.class com/example/springbootapp/services/CompetitionService.class

View File

@ -1,24 +1,24 @@
/home/riddhi/simulation/backend/src/main/java/com/example/springbootapp/model/User.java /home/vagrant/Gazebo_simulation-Backend/src/main/java/com/example/springbootapp/repository/CompetitionRepository.java
/home/riddhi/simulation/backend/src/main/java/com/example/springbootapp/repository/CompetitionRepository.java /home/vagrant/Gazebo_simulation-Backend/src/main/java/com/example/springbootapp/controllers/CompetitionController.java
/home/riddhi/simulation/backend/src/main/java/com/example/springbootapp/model/StudentSimulator.java /home/vagrant/Gazebo_simulation-Backend/src/main/java/com/example/springbootapp/repository/UserRepository.java
/home/riddhi/simulation/backend/src/main/java/com/example/springbootapp/services/TaskServiceImpl.java /home/vagrant/Gazebo_simulation-Backend/src/main/java/com/example/springbootapp/controllers/RedirectController.java
/home/riddhi/simulation/backend/src/main/java/com/example/springbootapp/services/SimulatorServiceImpl.java /home/vagrant/Gazebo_simulation-Backend/src/main/java/com/example/springbootapp/services/CompetitionServiceImpl.java
/home/riddhi/simulation/backend/src/main/java/com/example/springbootapp/services/CompetitionService.java /home/vagrant/Gazebo_simulation-Backend/src/main/java/com/example/springbootapp/services/CompetitionService.java
/home/riddhi/simulation/backend/src/main/java/com/example/springbootapp/config/SecurityConfiguration.java /home/vagrant/Gazebo_simulation-Backend/src/main/java/com/example/springbootapp/services/SimulatorService.java
/home/riddhi/simulation/backend/src/main/java/com/example/springbootapp/repository/SimulatorRepository.java /home/vagrant/Gazebo_simulation-Backend/src/main/java/com/example/springbootapp/repository/SimulatorRepository.java
/home/riddhi/simulation/backend/src/main/java/com/example/springbootapp/schedulers/ScheduledTasks.java /home/vagrant/Gazebo_simulation-Backend/src/main/java/com/example/springbootapp/schedulers/ScheduledTasks.java
/home/riddhi/simulation/backend/src/main/java/com/example/springbootapp/model/Task.java /home/vagrant/Gazebo_simulation-Backend/src/main/java/com/example/springbootapp/services/TaskService.java
/home/riddhi/simulation/backend/src/main/java/com/example/springbootapp/controllers/CompetitionController.java /home/vagrant/Gazebo_simulation-Backend/src/main/java/com/example/springbootapp/SpringbootappApplication.java
/home/riddhi/simulation/backend/src/main/java/com/example/springbootapp/controllers/TaskController.java /home/vagrant/Gazebo_simulation-Backend/src/main/java/com/example/springbootapp/config/SecurityConfiguration.java
/home/riddhi/simulation/backend/src/main/java/com/example/springbootapp/model/TaskProgress.java /home/vagrant/Gazebo_simulation-Backend/src/main/java/com/example/springbootapp/controllers/TaskController.java
/home/riddhi/simulation/backend/src/main/java/com/example/springbootapp/SpringbootappApplication.java /home/vagrant/Gazebo_simulation-Backend/src/main/java/com/example/springbootapp/config/SimpleCORSFilter.java
/home/riddhi/simulation/backend/src/main/java/com/example/springbootapp/services/SimulatorService.java /home/vagrant/Gazebo_simulation-Backend/src/main/java/com/example/springbootapp/controllers/UserController.java
/home/riddhi/simulation/backend/src/main/java/com/example/springbootapp/services/TaskService.java /home/vagrant/Gazebo_simulation-Backend/src/main/java/com/example/springbootapp/controllers/SimulatorController.java
/home/riddhi/simulation/backend/src/main/java/com/example/springbootapp/controllers/SimulatorController.java /home/vagrant/Gazebo_simulation-Backend/src/main/java/com/example/springbootapp/model/User.java
/home/riddhi/simulation/backend/src/main/java/com/example/springbootapp/repository/UserRepository.java /home/vagrant/Gazebo_simulation-Backend/src/main/java/com/example/springbootapp/model/UserCompetition.java
/home/riddhi/simulation/backend/src/main/java/com/example/springbootapp/controllers/RedirectController.java /home/vagrant/Gazebo_simulation-Backend/src/main/java/com/example/springbootapp/model/StudentSimulator.java
/home/riddhi/simulation/backend/src/main/java/com/example/springbootapp/services/CompetitionServiceImpl.java /home/vagrant/Gazebo_simulation-Backend/src/main/java/com/example/springbootapp/services/TaskServiceImpl.java
/home/riddhi/simulation/backend/src/main/java/com/example/springbootapp/config/SimpleCORSFilter.java /home/vagrant/Gazebo_simulation-Backend/src/main/java/com/example/springbootapp/model/TaskProgress.java
/home/riddhi/simulation/backend/src/main/java/com/example/springbootapp/controllers/UserController.java /home/vagrant/Gazebo_simulation-Backend/src/main/java/com/example/springbootapp/model/Task.java
/home/riddhi/simulation/backend/src/main/java/com/example/springbootapp/model/UserCompetition.java /home/vagrant/Gazebo_simulation-Backend/src/main/java/com/example/springbootapp/services/SimulatorServiceImpl.java
/home/riddhi/simulation/backend/src/main/java/com/example/springbootapp/repository/TaskRepository.java /home/vagrant/Gazebo_simulation-Backend/src/main/java/com/example/springbootapp/repository/TaskRepository.java

View File

@ -1 +1 @@
/home/riddhi/simulation/backend/src/test/java/com/example/springbootapp/SpringbootappApplicationTests.java /home/vagrant/Gazebo_simulation-Backend/src/test/java/com/example/springbootapp/SpringbootappApplicationTests.java

View File

@ -0,0 +1,14 @@
# Created at 2020-12-23T20:00:06.313
System.exit() or native command error interrupted process checker.
java.lang.IllegalStateException: Cannot use PPID 9623 process information. Going to use NOOP events.
at org.apache.maven.surefire.booter.PpidChecker.checkProcessInfo(PpidChecker.java:155)
at org.apache.maven.surefire.booter.PpidChecker.isProcessAlive(PpidChecker.java:124)
at org.apache.maven.surefire.booter.ForkedBooter$2.run(ForkedBooter.java:214)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)

View File

@ -0,0 +1,14 @@
# Created at 2020-12-23T21:08:08.683
System.exit() or native command error interrupted process checker.
java.lang.IllegalStateException: Cannot use PPID 10916 process information. Going to use NOOP events.
at org.apache.maven.surefire.booter.PpidChecker.checkProcessInfo(PpidChecker.java:155)
at org.apache.maven.surefire.booter.PpidChecker.isProcessAlive(PpidChecker.java:124)
at org.apache.maven.surefire.booter.ForkedBooter$2.run(ForkedBooter.java:214)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)

View File

@ -0,0 +1,14 @@
# Created at 2020-12-23T21:15:30.131
System.exit() or native command error interrupted process checker.
java.lang.IllegalStateException: Cannot use PPID 11163 process information. Going to use NOOP events.
at org.apache.maven.surefire.booter.PpidChecker.checkProcessInfo(PpidChecker.java:155)
at org.apache.maven.surefire.booter.PpidChecker.isProcessAlive(PpidChecker.java:124)
at org.apache.maven.surefire.booter.ForkedBooter$2.run(ForkedBooter.java:214)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)

View File

@ -0,0 +1,14 @@
# Created at 2020-12-30T15:52:28.995
System.exit() or native command error interrupted process checker.
java.lang.IllegalStateException: Cannot use PPID 2774 process information. Going to use NOOP events.
at org.apache.maven.surefire.booter.PpidChecker.checkProcessInfo(PpidChecker.java:155)
at org.apache.maven.surefire.booter.PpidChecker.isProcessAlive(PpidChecker.java:124)
at org.apache.maven.surefire.booter.ForkedBooter$2.run(ForkedBooter.java:214)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,11 @@
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
Test set: com.example.springbootapp.SpringbootappApplicationTests Test set: com.example.springbootapp.SpringbootappApplicationTests
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.668 s - in com.example.springbootapp.SpringbootappApplicationTests Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.203 s <<< FAILURE! - in com.example.springbootapp.SpringbootappApplicationTests
contextLoads(com.example.springbootapp.SpringbootappApplicationTests) Time elapsed: 0.002 s <<< ERROR!
java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaConfiguration': Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Hikari.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.zaxxer.hikari.HikariDataSource]: Factory method 'dataSource' threw exception; nested exception is java.lang.IllegalStateException: Cannot load driver class: com.mysql.jdbc.Driver
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Hikari.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.zaxxer.hikari.HikariDataSource]: Factory method 'dataSource' threw exception; nested exception is java.lang.IllegalStateException: Cannot load driver class: com.mysql.jdbc.Driver
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.zaxxer.hikari.HikariDataSource]: Factory method 'dataSource' threw exception; nested exception is java.lang.IllegalStateException: Cannot load driver class: com.mysql.jdbc.Driver
Caused by: java.lang.IllegalStateException: Cannot load driver class: com.mysql.jdbc.Driver