S
S
skver912017-02-26 22:38:53
Java
skver91, 2017-02-26 22:38:53

What is the error with database operation in java spring core?

I'm learning jdbc using the spring core example, and I can't figure out what the error is.
Intellij idea writes that there is an error in connecting to the database on the line where conn = dataSource.getConnection();
The example itself is taken from www.mkyong.com/spring/maven-spring-jdbc-example

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
skver91, 2017-02-26
@skver91

Example solved. Wrong database

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question