AspectJ finds wrong method
Hello,
I have built a Roo 1.1.5 project with vaadin plugin.
I have made some changes and now I have a problem. I am pretty sure I am using JPA2 but I get this error in weaving:
ERROR] /home/mgiammarco/Documents/workspace/RooTickets/src/main/java/it/giammar/tickets/model/Nota_Roo_Entity.aj:96:0::0 The method createQuery(String) in the type EntityManager is not applicable for the arguments (String, Class<Long>)
[ERROR] error at return entityManager().createQuery("SELECT o FROM Nota o", Nota.class).getResultList();
But I am sure that the createQuery with two parameters is present.
What can I do?
Thanks in advance for any reply.
Mario