spring-guides / gs-relational-data-access

Accessing Relational Data using JDBC with Spring :: Learn how to access relational data with Spring.

Home Page:https://spring.io/guides/gs/relational-data-access/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot find symbol class Customer

opened this issue · comments

I'm new to Java and Spring framework. I tried to build using gradle, but got this error during compilation process.

/home/user/Projects/Java/src/main/java/hello/Application.java:41: error: cannot find symbol
List results = jdbcTemplate.query(
^
symbol: class Customer
location: class Application

I know i'm making some basic mistakes. Please help me fix it.

typo error in class name.