Pessoal, se alguém entender o que acontece, segue a lista de problema do erro 500.
Alguém sabe o que acontece ?
nov 21, 2019 5:42:20 PM org.apache.catalina.core.ApplicationContext log
SEVERE: Servlet.init() for servlet [spring mvc] threw exception
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'contaController' defined in file [C:\Users\Marcio\eclipse-workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\contas\WEB-INF\classes\br\com\caelum\contas\controller\ContaController.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [br.com.caelum.contas.dao.ContaDAO]: : Error creating bean with name 'contaDAO' defined in file [C:\Users\Marcio\eclipse-workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\contas\WEB-INF\classes\br\com\caelum\contas\dao\ContaDAO.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.caelum.contas.dao.ContaDAO]: Constructor threw exception; nested exception is java.lang.RuntimeException: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (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.); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contaDAO' defined in file [C:\Users\Marcio\eclipse-workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\contas\WEB-INF\classes\br\com\caelum\contas\dao\ContaDAO.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [br.com.caelum.contas.dao.ContaDAO]: Constructor threw exception; nested exception is java.lang.RuntimeException: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Communications link failure
Valeu ;)