@Autowired
private Class<T> clazz;
This line in your code will never work because spring does not know what to Autowire. You can only autowire by type or working class, type preferably.
You will need to wrap this Class in a wrapper object so you can do the Autowire by type then inject that type into the DAO.
Example
@Autowired
private Entity<T> entity;