I have this error right on the line of @JoinTable and I would not be finding the solution. I can't run the code in maven because the error affects my whole project. I do not understand where specifically the error that jumps me is located. If someone would be so kind as to explain to me what to do. Thank you very much already.
public class Usuario {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private int id;
@NotNull
private String nombre;
@NotNull
@Column (unique = true)
private String nombreUsuario;
@NotNull
private String email;
@NotNull
private String password;
@ManyToMany(fetch = FetchType.EAGER)
@JoinTable(name = "usuario_rol", joinColumns = @JoinColumn(name = "usuario_id"),
inverseJoinColumns = @JoinColumn(name = "rol_id"));
private Set<Rol> roles = new HashSet<>();
.
.
.
//Continua código
}