Curso Profesional de Java EE 2017

Curso Profesional de Java EE 2017

Instruido por:
Anahí Salgado Díaz de la Vega
Anahí Salgado Díaz de la Vega
Avanzado
10 horas de contenido
Curso Profesional de Java EE 2017

Curso Profesional de Java EE 2017

Progreso del curso:0/55contenidos(0%)

Contenido del Curso
Tutoriales de estudiantes
Preguntas de estudiantes

Progreso del curso:0/55contenidos(0%)

Bienvenida al curso

Material Thumbnail

¿Qué vamos a construir?

01:22 min

Aplicaciones Java EE

Material Thumbnail

Java EE vs Java SE

03:01 min

Material Thumbnail

¿Cómo funcionan las aplicaciones Java EE?

07:04 min

MVC en Java EE

Material Thumbnail

Hola Mundo con JSP

09:13 min

Material Thumbnail

Corriendo nuestra aplicación en Apache Tomcat

10:37 min

Material Thumbnail

MVC en nuestra aplicación

11:04 min

Material Thumbnail

Archivos War empaquetados y su estructura

06:38 min

Maven y Gradle

Material Thumbnail

Asistentes Inteligentes Maven

09:42 min

Las bases del Proyecto

Material Thumbnail

Aplicaciones Orientadas a Presentación vs. Servicios

02:57 min

Material Thumbnail

IDE Spring Tool Suite

04:02 min

Modelado y creando la base de datos

Material Thumbnail

Análisis del Problema [Nuestro Proyecto]

08:42 min

Material Thumbnail

Diagramas Entidad Relación y UML

08:17 min

Material Thumbnail

Creando la Base de Datos

16:08 min

Material Thumbnail

Poniendo Relaciones en nuestra Base de Datos

07:06 min

Material Thumbnail

Creando un proyecto de Java que se conecta a la base de datos

07:13 min

Hibernate

Material Thumbnail

¿Qué es Hibernate?

07:53 min

Material Thumbnail

Configurando Hibernate en Spring Tool Suite

07:30 min

Material Thumbnail

Integrando Hibernate al proyecto y conectando a la base de datos

09:03 min

Material Thumbnail

Mapeo y Anotaciones con Hibernate JPA

09:48 min

Material Thumbnail

Mapeando nuestro proyecto con Hibernate JPA

08:43 min

Material Thumbnail

Anotaciones básicas en nuestro proyecto

10:50 min

Material Thumbnail

Relaciones o Asociaciones en Hibernate [One To One, One To Many y Many to Many]

15:38 min

Material Thumbnail

Mapeando Relaciones a nuestro proyecto

14:28 min

Material Thumbnail

Queries a la base de datos usando Hibernate

13:51 min

Material Thumbnail

¿Qué es un DAO?

14:20 min

Material Thumbnail

Manejo de Session en Hibernate

12:11 min

Spring Framework

Material Thumbnail

¿Qué es un Framework?

10:40 min

Material Thumbnail

¿Qué es Spring Framework?

14:02 min

Material Thumbnail

Spring Bean Factory

12:33 min

Material Thumbnail

Composición de Spring, Spring MVC y Spring Boot

12:29 min

Material Thumbnail

Integrando Spring al proyecto

08:26 min

Material Thumbnail

Componentes de un proyecto en Spring Boot

07:21 min

Material Thumbnail

Configurando Hibernate con Spring

15:18 min

Material Thumbnail

Configurando DAO's con Spring y Filtros con HQL Hibernate

16:06 min

Material Thumbnail

Resolviendo el reto de CRUD y más de HQL

13:55 min

Material Thumbnail

Hibernate HQL Joins

14:16 min

API Rest en Java EE

Material Thumbnail

¿Qué es y cómo funciona API Rest?

13:30 min

Material Thumbnail

Configurando Service

10:57 min

Material Thumbnail

Creando Controller API Rest por Entidad

23:23 min

Material Thumbnail

Definiendo métodos, Get y Post

14:31 min

Material Thumbnail

Métodos Patch y Delete

20:44 min

Material Thumbnail

Manejando Mensajes de Error Personalizados

08:08 min

Material Thumbnail

Manejando Filtros en REST

09:33 min

Material Thumbnail

Subir imágenes en un API REST

25:57 min

Material Thumbnail

Mostrar imágenes en un API REST

11:35 min

Material Thumbnail

Eliminar imágenes en un API REST

08:02 min

Material Thumbnail

Relaciones entre Recursos part. 1

16:13 min

Material Thumbnail

Relaciones entre Recursos part. 2

20:37 min

Deployando un API REST en Java EE

Material Thumbnail

Deploy de tu proyecto Java en Heroku

10:17 min

Material Thumbnail

Sube tu proyecto a Heroku con Git

17:19 min

Spring Security

Spring Security y JSON Web Tokens

00:05 min

Fin del Curso

nuevosmás votadossin responder
Leydi Camargo
Leydi Camargo
Estudiante

¿Por qué los videos tienen este parpadeo, es cansado para la vista ese movimiento?
parpadeo.png

0
Juan Carlos Garcia Ortega
Juan Carlos Garcia Ortega
Estudiante

Tengo un problema, al crear un proyecto no me genera la carpeta “Java Resources” los estoy trabajando el Windows 10

Porque no se genera? he seguido los mismos pasos del video, esta carpeta es necesaria para crear los Servlet

1
Leandro Damian Cotarelo
Leandro Damian Cotarelo
Estudiante

Para que no arroje error 500, tuve que poner JSON ignore en el primer set de teacher
private Set<Course> courses;

Pero cuando me devuelve el json en el. Postman, no me muestra el profesor que dicta ese curso

0
Jose David Garzon
Jose David Garzon
Estudiante

Buenas noches, tengo un problema en el momento de desplegar me sale un error 500 en el postman

{
    "timestamp": "2021-03-30T01:28:47.585+00:00",
    "status": 500,
    "error": "Internal Server Error",
    "message": "",
    "path": "/v1/socialMedias/"
}

pero solo conla url de socialMedias conla del home  me funciona perfectamente.

 me pueden ayudar a ver que puedo tener mal, adjunto link de mi proyecto en git 
https://github.com/konkerdavid/ProfesoresPlatzi.git

Muchas gracias
1
Jose David Garzon
Jose David Garzon
Estudiante

Buenas noches

Me esta generando dos errores pero no logro ver un error. Alguno sabe por que los marca como error, les agradezco

Me marca error en las líneas comentadas en (“setDataSource”,“dataSource”) me indica agregar un cast

/**
 * 
 */
package com.platzi.profesoresplatzi.configuration;

import java.util.Properties;import javax.activation.DataSource;import org.springframework.beans.factory.annotation.Autowired;import org.springframework.context.annotation.Bean;import org.springframework.context.annotation.Configuration;import org.springframework.jdbc.datasource.DriverManagerDataSource;import org.springframework.orm.hibernate5.HibernateTransactionManager;import org.springframework.orm.hibernate5.LocalSessionFactoryBean;import org.springframework.orm.hibernate5.support.HibernateDaoSupport;import org.springframework.transaction.annotation.EnableTransactionManagement;


@Configuration
@EnableTransactionManagement
public class DataBaseConfiguration {
	
	@Bean
	public LocalSessionFactoryBean sessionFactory() {
		LocalSessionFactoryBean sessionFactoryBean = new LocalSessionFactoryBean();
         	//sessionFactoryBean.setDataSource(dataSource());
		sessionFactoryBean.setPackagesToScan("com.platzi.profesoresplatzi.model");
		sessionFactoryBean.setHibernateProperties(hibernateProperties());
		return sessionFactoryBean; 
	}

	@Bean
	public DataSource dataSource() {
		DriverManagerDataSource dataSource = new DriverManagerDataSource();
		dataSource.setDriverClassName("com.mysql.jdbc.Driver");
		dataSource.setUrl("jdbc:mysql://localhost:3306/platziprofesores");
		dataSource.setUsername("platziprofesores");
		dataSource.setPassword("platziprofesores");
		//return dataSource;
	}
	
	public Properties hibernateProperties() {
		Properties properties = new  Properties();
		properties.put("hibernate.dialect", "org.hibernate.dialect.MySQLDialect");
		properties.put("show_sql", "true");
		return properties;
	}
	
	@Bean
	@Autowired
	public HibernateTransactionManager transactionManager() {
		HibernateTransactionManager hibernateTransactionManager = new HibernateTransactionManager();
		hibernateTransactionManager.setSessionFactory(sessionFactory().getObject());
		return hibernateTransactionManager;
	}
}
1
yamit-leiva
yamit-leiva
Estudiante

buen dia:
me sale el siguiente error:

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘courseDaoImpl’: Unsatisfied dependency expressed through field ‘sessionFactory’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘sessionFactory’ defined in class path resource [com/platzi/profesoresplatzi/configuration/DataBaseConfiguration.class]: Invocation of init method failed; nested exception is org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment].

No he podido solucionarlo.

0
Leandro Damian Cotarelo
Leandro Damian Cotarelo
Estudiante

Me sale este error 😦

Sesion factory creada
ene. 13, 20213:40:46 P. M. org.hibernate.Version logVersion
INFO: HHH000412: Hibernate ORM core version 5.4.27.Final
configuracion creada
config configurada
ene. 13, 20213:40:47 P. M. org.hibernate.annotations.common.reflection.java.JavaReflectionManager <clinit>
INFO: HCANN000001: Hibernate Commons Annotations {5.1.2.Final}
ene. 13, 20213:40:47 P. M. org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure
WARN: HHH10001002: Using Hibernate built-in connection pool (not for production use!)
ene. 13, 20213:40:47 P. M. org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl buildCreator
INFO: HHH10001005: using driver [com.mysql.cj.jdbc.Driver] at URL [jdbc:mysql://localhost:3306/platziprofesores]
ene. 13, 20213:40:47 P. M. org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl buildCreator
INFO: HHH10001001: Connection properties: {password=****, user=root}
ene. 13, 20213:40:47 P. M. org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl buildCreator
INFO: HHH10001003: Autocommit mode: false
ene. 13, 20213:40:47 P. M. org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl$PooledConnections <init>
INFO: HHH000115: Hibernate connection pool size: 20 (min=1)
ene. 13, 20213:40:47 P. M. org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator initiateService
WARN: HHH000342: Could not obtain connection to query metadata
java.lang.IllegalStateException: Cannot get a connection as the driver manager is not properly initialized
	at org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl.getConnection(DriverManagerConnectionProviderImpl.java:172)
	at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess.obtainConnection(JdbcEnvironmentInitiator.java:180)
	at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:68)
	at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:35)
	at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.initiateService(StandardServiceRegistryImpl.java:101)
	at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:263)
	at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:237)
	at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:214)
	at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcServicesImpl.java:51)
	at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:107)
	at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:246)
	at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:214)
	at org.hibernate.engine.jdbc.connections.internal.BasicConnectionCreator.convertSqlException(BasicConnectionCreator.java:116)
	at org.hibernate.engine.jdbc.connections.internal.DriverConnectionCreator.makeConnection(DriverConnectionCreator.java:41)
	at org.hibernate.engine.jdbc.connections.internal.BasicConnectionCreator.createConnection(BasicConnectionCreator.java:58)
	at org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl$PooledConnections.addConnections(DriverManagerConnectionProviderImpl.java:341)
	at org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl$PooledConnections.<init>(DriverManagerConnectionProviderImpl.java:260)
	at org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl$PooledConnections.<init>(DriverManagerConnectionProviderImpl.java:238)
	at org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl$PooledConnections$Builder.build(DriverManagerConnectionProviderImpl.java:379)
	at org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl.buildPool(DriverManagerConnectionProviderImpl.java:98)
	at org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl.configure(DriverManagerConnectionProviderImpl.java:73)
	at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:107)
	at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:246)
	at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:214)
	at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.buildJdbcConnectionAccess(JdbcEnvironmentInitiator.java:145)
	at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:66)
	at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:35)
	at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.initiateService(StandardServiceRegistryImpl.java:101)
	at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:263)
	at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:237)
	at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:214)
	at org.hibernate.id.factory.internal.DefaultIdentifierGeneratorFactory.injectServices(DefaultIdentifierGeneratorFactory.java:152)
	at org.hibernate.service.internal.AbstractServiceRegistryImpl.injectDependencies(AbstractServiceRegistryImpl.java:286)
	at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:243)
	at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:214)
	at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.<init>(InFlightMetadataCollectorImpl.java:176)
	at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(MetadataBuildingProcess.java:127)
	at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.build(MetadataBuildingProcess.java:86)
	at org.hibernate.boot.internal.MetadataBuilderImpl.build(MetadataBuilderImpl.java:473)
	at org.hibernate.boot.internal.MetadataBuilderImpl.build(MetadataBuilderImpl.java:84)
	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:689)
	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:724)
	at com.platzi.hibernate.App.main(App.java:25)

ene. 13, 20213:40:47 P. M. org.hibernate.dialect.Dialect <init>
INFO: HHH000400: Using dialect: org.hibernate.dialect.MySQLDialect
ene. 13, 20213:40:47 P. M. org.hibernate.engine.jdbc.spi.SqlExceptionHelper logExceptions
WARN: SQL Error: 0, SQLState: 08S01
ene. 13, 20213:40:47 P. M. org.hibernate.engine.jdbc.spi.SqlExceptionHelper logExceptions
ERROR: Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
Exception in thread "main" org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
	at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:275)
	at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:237)
	at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:214)
	at org.hibernate.id.factory.internal.DefaultIdentifierGeneratorFactory.injectServices(DefaultIdentifierGeneratorFactory.java:152)
	at org.hibernate.service.internal.AbstractServiceRegistryImpl.injectDependencies(AbstractServiceRegistryImpl.java:286)
	at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:243)
	at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:214)
	at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.<init>(InFlightMetadataCollectorImpl.java:176)
	at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(MetadataBuildingProcess.java:127)
	at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.build(MetadataBuildingProcess.java:86)
	at org.hibernate.boot.internal.MetadataBuilderImpl.build(MetadataBuilderImpl.java:473)
	at org.hibernate.boot.internal.MetadataBuilderImpl.build(MetadataBuilderImpl.java:84)
	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:689)
	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:724)
	at com.platzi.hibernate.App.main(App.java:25)
Caused by: org.hibernate.exception.JDBCConnectionException: Error calling Driver#connect
	at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:112)
	at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:42)
	at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:113)
	at org.hibernate.engine.jdbc.connections.internal.BasicConnectionCreator.convertSqlException(BasicConnectionCreator.java:118)
	at org.hibernate.engine.jdbc.connections.internal.DriverConnectionCreator.makeConnection(DriverConnectionCreator.java:41)
	at org.hibernate.engine.jdbc.connections.internal.BasicConnectionCreator.createConnection(BasicConnectionCreator.java:58)
	at org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl$PooledConnections.addConnections(DriverManagerConnectionProviderImpl.java:341)
	at org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl$PooledConnections.<init>(DriverManagerConnectionProviderImpl.java:260)
	at org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl$PooledConnections.<init>(DriverManagerConnectionProviderImpl.java:238)
	at org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl$PooledConnections$Builder.build(DriverManagerConnectionProviderImpl.java:379)
	at org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl.buildPool(DriverManagerConnectionProviderImpl.java:98)
	at org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl.configure(DriverManagerConnectionProviderImpl.java:73)
	at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:107)
	at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:246)
	at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:214)
	at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.buildJdbcConnectionAccess(JdbcEnvironmentInitiator.java:145)
	at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:66)
	at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:35)
	at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.initiateService(StandardServiceRegistryImpl.java:101)
	at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:263)
	... 14 more
Caused by: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
	at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:174)
	at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:64)
	at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:836)
	at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:456)
	at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:246)
	at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:198)
	at org.hibernate.engine.jdbc.connections.internal.DriverConnectionCreator.makeConnection(DriverConnectionCreator.java:38)
	... 29 more
Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:64)
	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
	at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:61)
	at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:105)
	at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:151)
	at com.mysql.cj.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:167)
	at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:89)
	at com.mysql.cj.NativeSession.connect(NativeSession.java:144)
	at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:956)
	at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:826)
	... 33 more
Caused by: java.net.ConnectException: Connection refused
	at java.base/sun.nio.ch.Net.connect0(Native Method)
	at java.base/sun.nio.ch.Net.connect(Net.java:574)
	at java.base/sun.nio.ch.Net.connect(Net.java:563)
	at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:588)
	at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:333)
	at java.base/java.net.Socket.connect(Socket.java:648)
	at com.mysql.cj.protocol.StandardSocketFactory.connect(StandardSocketFactory.java:155)
	at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:63)
	... 36 more
1
Joan Federico Marin Ruiz
Joan Federico Marin Ruiz
Estudiante

buenas
que buen curso y buena profesora.
una duda, si quisiera ejecutar la aplicacion desde otro pc como seria?.
para un ambiente de produccion.
gracias.

1
andresbermeo
andresbermeo
Estudiante

Hola… Talvez Alguien logro instalarle con el servidor WildFly en vez de la ejecución con Apache Tomcat ?

0
JuanLagos
JuanLagos
Estudiante

¿El motor de almacenamiento? ¿innoDB a que hace referencia?

1