Erro mappedBy reference an unknown target entity property:

Galera,

Minhas classes com anotação.

@Entity
public class Modulos {
	@Id
	@GeneratedValue
	private long id;
	private String nome;
	private String ativo;
	private String url;
	private String imagem;
	
	//Relacionamento com Sistemas
	@ManyToOne
	@JoinColumn(name="sistemas_id")
	private Sistemas sistemas;
	
	//Relacionamento com Rotinas
	@OneToMany(mappedBy = "modulos",targetEntity = Modulos.class,
	fetch = FetchType.LAZY, cascade = CascadeType.ALL)
	private List<Rotinas>rotinas;
	
	
	//Métodos get e set
@Entity
public class Rotinas {
	@Id
	@GeneratedValue
	private long id;
	private String nome;
	private String ativo;
	private String url;
	private String imagem;
	
	//Relacionamento com Modulos
		@ManyToOne
		@JoinColumn(name="modulos_id")
		private Modulos modulos;
	
	//Métodos get e set
@Entity
public class Sistemas {
	@Id
	@GeneratedValue
	private long id;
	private String nome;
	private String ativo;
	private String url;
	private String imagem;
	@OneToMany(mappedBy = "sistemas",targetEntity= Modulos.class,
	fetch = FetchType.LAZY, cascade = CascadeType.ALL)
	private List<Modulos>modulos;

	//Métodos get e set

Erro:

Caused by: org.hibernate.AnnotationException: mappedBy reference an unknown target entity property: br.com.caelum.goodbuy.modelo.Modulos.modulos in br.com.caelum.goodbuy.modelo.Modulos.rotinas

Como resolvo isso?

Oi,

Bom, acho que até mesmo é o caso de trancar esse tópico.

O link para o mais respondido está aqui:
http://guj.com.br/java/281400-erro-mappedby-reference-an-unknown-target-entity-property-

Por favor, evite duplicar ou triplicar seus tópicos.

Tchauzin!