Is this now a problem of Netbeans or of jax-ws? If I deploy the web
application without debug, it still brings that error.
thierry
Jitendra Kotamraju wrote:
> 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
>>
>>
>>
>
> ---------------------------------------------------------------------
> 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
>