Issue
I'm trying to add java.util.List as a Bean in a Java Application on Netbeans, but when I select "Choose Bean" and input java.util.List, the error below is shown on the screen:
Cannot instantiate java.util.List as a JavaBeans component A usual cause of this error is that the class is abstract or does not have a public constructor with no parameters
My class CadastroFuncionario already has a public constructor with no params.
Solution
In the end of the day, java.util.List cannot be instantiated because it is an interface. I used java.util.ArrayList instead and it worked.
Answered By - Pedro Coelho