It turns out that I have to work with this IDE due to force majeure and I have been trying to solve this error for a while, I'm sure it's silly but in net beans I never had any problems, thanks in advance
The problem is that the class Empleados
does not have any attribute, that's why the getters and setters methods can not be generated. It seems to me that what you want is to reveal the attributes Name, Age, Salary, etc., but what you did was declare variables within the constructor of the class. The correct way to declare attributes in a class is this:
public class Empleados {
private String nombre;
private int edad;
private int salario;
...
public Empleados() {
...
}
...
}
The three points (...) indicate that you can have additional code where these are.