Open marcus-vinf opened 2 months ago
Projeto baseado em Java 17 + SpringBoot
Estrutura do projeto backend
Dependências instaladas
Comprovação de funcionamento: Log de inicialização
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v3.3.4)
2024-09-30T15:42:01.239-03:00 INFO 1360 --- [platcon] [ main] com.platcon.PlatconApplication : Starting PlatconApplication using Java 17.0.7 with PID 1360 (C:\Users\vinie\OneDrive\Documentos\Projects\platCON\plataforma-conscientiza-backend\target\classes started by vinie in C:\Users\vinie\OneDrive\Documentos\Projects\platCON\plataforma-conscientiza-backend)
2024-09-30T15:42:01.246-03:00 INFO 1360 --- [platcon] [ main] com.platcon.PlatconApplication : No active profile set, falling back to 1 default profile: "default"
2024-09-30T15:42:02.297-03:00 INFO 1360 --- [platcon] [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2024-09-30T15:42:02.455-03:00 INFO 1360 --- [platcon] [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 148 ms. Found 1 JPA repository interface.
2024-09-30T15:42:03.437-03:00 INFO 1360 --- [platcon] [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8081 (http)
2024-09-30T15:42:03.452-03:00 INFO 1360 --- [platcon] [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2024-09-30T15:42:03.453-03:00 INFO 1360 --- [platcon] [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.30]
2024-09-30T15:42:03.545-03:00 INFO 1360 --- [platcon] [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2024-09-30T15:42:03.549-03:00 INFO 1360 --- [platcon] [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 2218 ms
2024-09-30T15:42:03.873-03:00 INFO 1360 --- [platcon] [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
2024-09-30T15:42:04.116-03:00 INFO 1360 --- [platcon] [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@21c34bf8
2024-09-30T15:42:04.119-03:00 INFO 1360 --- [platcon] [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
2024-09-30T15:42:04.155-03:00 INFO 1360 --- [platcon] [ main] org.flywaydb.core.FlywayExecutor : Database: jdbc:postgresql://localhost:5432/platcon (PostgreSQL 15.4)
2024-09-30T15:42:04.211-03:00 INFO 1360 --- [platcon] [ main] o.f.core.internal.command.DbValidate : Successfully validated 1 migration (execution time 00:00.032s)
2024-09-30T15:42:04.290-03:00 INFO 1360 --- [platcon] [ main] o.f.core.internal.command.DbMigrate : Current version of schema "public": 1
2024-09-30T15:42:04.295-03:00 INFO 1360 --- [platcon] [ main] o.f.core.internal.command.DbMigrate : Schema "public" is up to date. No migration necessary.
2024-09-30T15:42:04.513-03:00 INFO 1360 --- [platcon] [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2024-09-30T15:42:04.697-03:00 INFO 1360 --- [platcon] [ main] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.5.3.Final
2024-09-30T15:42:04.747-03:00 INFO 1360 --- [platcon] [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled
2024-09-30T15:42:05.156-03:00 INFO 1360 --- [platcon] [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer
2024-09-30T15:42:05.234-03:00 WARN 1360 --- [platcon] [ main] org.hibernate.orm.deprecation : HHH90000025: PostgreSQLDialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2024-09-30T15:42:06.180-03:00 INFO 1360 --- [platcon] [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
2024-09-30T15:42:06.235-03:00 INFO 1360 --- [platcon] [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2024-09-30T15:42:06.678-03:00 WARN 1360 --- [platcon] [ main] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
2024-09-30T15:42:07.151-03:00 INFO 1360 --- [platcon] [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8081 (http) with context path '/'
2024-09-30T15:42:07.736-03:00 INFO 1360 --- [platcon] [ main] com.platcon.PlatconApplication : Started PlatconApplication in 6.934 seconds (process running for 7.5)
2024-09-30T15:43:58.196-03:00 INFO 1360 --- [platcon] [nio-8081-exec-2] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
2024-09-30T15:43:58.196-03:00 INFO 1360 --- [platcon] [nio-8081-exec-2] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
2024-09-30T15:43:58.199-03:00 INFO 1360 --- [platcon] [nio-8081-exec-2] o.s.web.servlet.DispatcherServlet : Completed initialization in 2 ms
Levado em conta os recursos disponíveis levantados pela tarefa de pesquisa. Criar a base do projeto para que esteja pronto para implementar as funcionalidades
[x] Baixar e instalar recursos Java. Utilizar diretamente dos sites da Oracle
[x] Preparar a base de dados, criar uma base e configurar de forma de consiga se comunicar com a API backend