Hi all
I have a problem during the deploy of a web application (with a
webservice) to a Sun Java Application Server 9 since I upgraded from
Java 5 to Java 6 (1.5.x to 1.6.x).
This error occures during the deploy process:
error: The type of the getter is java.util.Set<pkgname.model.Release>
but that of the setter is java.util.Set. They have to be the same.
this problem is related to the following location: ....
(pkgname replaces the package name)
The java code for the setter/getter/list is:
@OneToMany
@JoinTable(name = "PackageToRelease",
joinColumns = @JoinColumn(name = "packageFk"),
inverseJoinColumns = @JoinColumn(name = "releaseFk"))
private Set<Release> releases;
public Set<Release> getReleases() { return releases; }
public void setReleases(Set<Release> releases) { this.releases =
releases; }
Has anyone an idea about this problem?
Thanks for your help,
thierry