Subindo servidor spring boot

5 respostas
G

Projeto iniciando, mostra isso no log

.   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v2.3.0.RELEASE)

2020-06-04 10:36:58.061  INFO 67920 --- [  restartedMain] b.c.g.f.FreteMaisBaratoApplication       : Starting FreteMaisBaratoApplication on DESKTOP-5AHUKKM with PID 67920 (C:\Docker\workspace\freteMaisBarato\fretemaisbarato\target\classes started by Usuario in C:\Docker\workspace\freteMaisBarato\fretemaisbarato)
2020-06-04 10:36:58.063  INFO 67920 --- [  restartedMain] b.c.g.f.FreteMaisBaratoApplication       : The following profiles are active: dev
2020-06-04 10:36:58.114  INFO 67920 --- [  restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable
2020-06-04 10:36:58.114  INFO 67920 --- [  restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG'
2020-06-04 10:36:59.184  INFO 67920 --- [  restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFERRED mode.
2020-06-04 10:36:59.220  INFO 67920 --- [  restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 26ms. Found 0 JPA repository interfaces.
2020-06-04 10:37:00.138  INFO 67920 --- [  restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 8080 (http)
2020-06-04 10:37:00.148  INFO 67920 --- [  restartedMain] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2020-06-04 10:37:00.148  INFO 67920 --- [  restartedMain] org.apache.catalina.core.StandardEngine  : Starting Servlet engine: [Apache Tomcat/9.0.35]
2020-06-04 10:37:00.244  INFO 67920 --- [  restartedMain] o.a.c.c.C.[.[.[/frete-mais-barato-api]   : Initializing Spring embedded WebApplicationContext
2020-06-04 10:37:00.244  INFO 67920 --- [  restartedMain] o.s.web.context.ContextLoader            : Root WebApplicationContext: initialization completed in 2130 ms
2020-06-04 10:37:00.485  INFO 67920 --- [  restartedMain] o.f.c.internal.license.VersionPrinter    : Flyway Community Edition 6.4.1 by Redgate
2020-06-04 10:37:00.632  INFO 67920 --- [  restartedMain] o.f.c.internal.database.DatabaseFactory  : Database: jdbc:postgresql://localhost/fretemaisbarato (PostgreSQL 9.4)
2020-06-04 10:37:00.695  INFO 67920 --- [  restartedMain] o.f.core.internal.command.DbValidate     : Successfully validated 9 migrations (execution time 00:00.039s)
2020-06-04 10:37:00.704  INFO 67920 --- [  restartedMain] o.f.core.internal.command.DbMigrate      : Current version of schema "public": 009
2020-06-04 10:37:00.705  INFO 67920 --- [  restartedMain] o.f.core.internal.command.DbMigrate      : Schema "public" is up to date. No migration necessary.
2020-06-04 10:37:00.825  INFO 67920 --- [  restartedMain] o.s.s.concurrent.ThreadPoolTaskExecutor  : Initializing ExecutorService 'applicationTaskExecutor'
2020-06-04 10:37:00.846  INFO 67920 --- [  restartedMain] o.s.s.c.ThreadPoolTaskScheduler          : Initializing ExecutorService 'taskScheduler'
2020-06-04 10:37:00.913  INFO 67920 --- [         task-1] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2020-06-04 10:37:00.967  INFO 67920 --- [         task-1] org.hibernate.Version                    : HHH000412: Hibernate ORM core version 5.4.15.Final
2020-06-04 10:37:01.204  INFO 67920 --- [         task-1] o.hibernate.annotations.common.Version   : HCANN000001: Hibernate Commons Annotations {5.1.0.Final}
2020-06-04 10:37:01.301  INFO 67920 --- [         task-1] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...
2020-06-04 10:37:01.359  INFO 67920 --- [         task-1] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Start completed.
2020-06-04 10:37:01.381  INFO 67920 --- [         task-1] org.hibernate.dialect.Dialect            : HHH000400: Using dialect: org.hibernate.dialect.PostgreSQL94Dialect

Mas não inicia e nem mostra erro.

Mudei a versão do spring boot e iniciou

<parent>
		<groupId>org.springframework.boot</groupId>
		<artifactId>spring-boot-starter-parent</artifactId>
		<version>2.2.6.RELEASE</version>
		<relativePath />
	</parent>

O que pode ser ?

5 Respostas

T

abre o gerenciador de tarefas, e verifica se a memoria do java e do eclipse esta subindo ate esgotar a memoria da maquina

G

Sim, tenho quase certeza que estoura.

T

tive esse problema. abri post num monte de canto inclusive, zero respostas. No meu caso, era o programa de seguranca do itau. Nao sei o que ele fazia, mas a memoria subia ate estourar, dava um erro de rede em seguida o servidor subia. desistalei os programas de seguranca de banco (bb, itau, bradesco) e nao deu mais o problema.

L

Não sei se tem a ver, mas já tive problema com esses programas de banco, pois, não sei pq, ele usava uma mesma porta de um programa que eu tentava subir localmente. daí dava um erro nada a ver (pelo menos dava erro).

G

Eu tenho o itau na máquina.

Vou Desinstalar e coloco o retorno aqui

Criado 4 de junho de 2020
Ultima resposta 8 de jun. de 2020
Respostas 5
Participantes 3