1
resposta

Problema ao alterar o container

Estou tentando realizar conforme no vídeo que o professor altera o container para o jetty, fiz o "exclusion" e adicionei a depêndencia mas quando executo a aplicação, não dá nenhum erro, só não funciona no navegador.

Segue meu pom

2018-08-29 16:56:33.623  INFO 7856 --- [  restartedMain] br.com.alura.listavip.Configuracao       : Starting Configuracao on DESKTOP-B0J6ND5 with PID 7856 (C:\Users\eduardo.cintra\Desktop\Projetos\listavip\target\classes started by eduardo.cintra in C:\Users\eduardo.cintra\Desktop\Projetos\listavip)
2018-08-29 16:56:33.624  INFO 7856 --- [  restartedMain] br.com.alura.listavip.Configuracao       : No active profile set, falling back to default profiles: default
2018-08-29 16:56:33.664  INFO 7856 --- [  restartedMain] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@4cb891fe: startup date [Wed Aug 29 16:56:33 BRT 2018]; root of context hierarchy
2018-08-29 16:56:34.561  INFO 7856 --- [  restartedMain] o.s.j.d.DriverManagerDataSource          : Loaded JDBC driver: com.mysql.jdbc.Driver
2018-08-29 16:56:34.831  INFO 7856 --- [  restartedMain] j.LocalContainerEntityManagerFactoryBean : Building JPA container EntityManagerFactory for persistence unit 'default'
2018-08-29 16:56:34.844  INFO 7856 --- [  restartedMain] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [
    name: default
    ...]
2018-08-29 16:56:34.895  INFO 7856 --- [  restartedMain] org.hibernate.Version                    : HHH000412: Hibernate Core {5.2.17.Final}
2018-08-29 16:56:34.896  INFO 7856 --- [  restartedMain] org.hibernate.cfg.Environment            : HHH000206: hibernate.properties not found
2018-08-29 16:56:34.922  INFO 7856 --- [  restartedMain] o.hibernate.annotations.common.Version   : HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
2018-08-29 16:56:35.012  INFO 7856 --- [  restartedMain] org.hibernate.dialect.Dialect            : HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect
2018-08-29 16:56:35.409  INFO 7856 --- [  restartedMain] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2018-08-29 16:56:35.993  INFO 7856 --- [  restartedMain] o.s.b.d.a.OptionalLiveReloadServer       : LiveReload server is running on port 35729
2018-08-29 16:56:36.008  INFO 7856 --- [  restartedMain] o.s.j.e.a.AnnotationMBeanExporter        : Registering beans for JMX exposure on startup
2018-08-29 16:56:36.021  INFO 7856 --- [  restartedMain] br.com.alura.listavip.Configuracao       : Started Configuracao in 2.613 seconds (JVM running for 3.006)
2018-08-29 16:56:36.025  INFO 7856 --- [       Thread-8] s.c.a.AnnotationConfigApplicationContext : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@4cb891fe: startup date [Wed Aug 29 16:56:33 BRT 2018]; root of context hierarchy
2018-08-29 16:56:36.027  INFO 7856 --- [       Thread-8] o.s.j.e.a.AnnotationMBeanExporter        : Unregistering JMX-exposed beans on shutdown
2018-08-29 16:56:36.028  INFO 7856 --- [       Thread-8] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'

Alguém pode me ajudar??

1 resposta

Opa, realmente esse log não é animador, mas também não indica nenhuma falha, como você disse... Bom, se não tem mais nenhuma informação, acho que o próximo passo sou eu testar aqui na minha máquina. Pode subir o projeto no github e passar o link?