Re: Problem during deploy of Java Webservice with Java 6
Thierry Rietsch wrote:
>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).
>
>
You are running in to
https://jax-ws.dev.java.net/issues/show_bug.cgi?id=24
Jitu
>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
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe_at_jax-ws.dev.java.net
>For additional commands, e-mail: users-help_at_jax-ws.dev.java.net
>
>
>