Getting the error
"Access denied for user 'DEll'@'localhost' (using password: YES)"
In the spring xml file I have given the user as 'root' not dell. I have tried everything. I believe there will be simple solution for this.
<bean id="dataSource"
class="org.apache.commons.dbcp2.BasicDataSource">
<property name="driverClassName" value="${driverClassName}"></property>
<property name="url" value="${url}"></property>
<property name="username" value="${username}"></property>
<property name="password" value="${password}"></property>
</bean>
The property file is
driverClassName=com.mysql.cj.jdbc.Driver
url=jdbc:mysql://localhost:3306/test
username=root
password=12345