JPAContainer error


I have the following code:

JPAContainer container = new JPAContainer(Crawlable.class) {

        private static final long serialVersionUID = -5267262250808620791L;

        public boolean areChildrenAllowed(Object itemId) {
            return getItem(itemId).getItemProperty(parent.getName()).getValue() == null;


[/code]When I compile it with maven everything is ok, but on Netbeans the permanent compilation gives me the following error:

getAppliedFilters() in JPAContainer cannot implement getAppliedFilters() in AdvancedFilterable
  return type List<> is not compatible with List<>

I am using java 8 on linux ubuntu 14.10. Why does Netbeans gives me this error?

Thank you
Bruno Santos