I am getting the following error
even after changing the struts version in pom.xml also.
The method findAnnotation(Method, Class<A>) in the type AnnotationUtils is
not applicable for the arguments (Class<User>, Class<Table>)
timeEntry/src/main/java/com/oci/jnb/dao/hibernate
UserDaoHibernate.java line 85 1213687359519 308
public String getUserPassword(String username) {
SimpleJdbcTemplate jdbcTemplate =
new
SimpleJdbcTemplate(SessionFactoryUtils.getDataSource(getSessionFactory()));
Table table = *AnnotationUtils.findAnnotation(User.class,
Table.class);*
return jdbcTemplate.queryForObject(
"select password from " + table.name() + " where
username=?", String.class, username);
}
please help me to sort out this problem
Regards
Suresh
9985585658