[68cat] [other] How to migrate projects that use JAX-WS?

View: New views
2 Messages — Rating Filter:   Alert me  

[68cat] [other] How to migrate projects that use JAX-WS?

by Scott Palmer-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

As I mentioned in previous emails I get this error when I try to build
my project with 6.8:

W:\MyProject\nbproject\jaxws-build.xml:17: You are running on JDK6 which
comes with JAX-WS 2.1 API, but this tool requires JAX-WS 2.2 API. Use the
endorsed standards override mechanism (
http://java.sun.com/javase/6/docs/technotes/guides/standards/), or set
xendorsed="true" on <wsimport>.

But now that I think about it, shouldn't NB have configured the
classpath properly if it was going to force the use of JAX-WS 2.2?

All I did was open an old project and try to build, and with NB 6.8 it
just doesn't work.  Despite the instructions to use the endorsed
standards mechanism etc, I think NB should be able to build the
project without manual intervention, since it was NB that
automatically added the dependency on JAX-WS 2.2.

Should I file a bug for this?


Scott

Re: [68cat] [other] How to migrate projects that use JAX-WS?

by P.N. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've got problems, too. Filed issue #174557.

Peter


Scott Palmer wrote:

> As I mentioned in previous emails I get this error when I try to build
> my project with 6.8:
>
> W:\MyProject\nbproject\jaxws-build.xml:17: You are running on JDK6 which
> comes with JAX-WS 2.1 API, but this tool requires JAX-WS 2.2 API. Use the
> endorsed standards override mechanism (
> http://java.sun.com/javase/6/docs/technotes/guides/standards/), or set
> xendorsed="true" on<wsimport>.
>
> But now that I think about it, shouldn't NB have configured the
> classpath properly if it was going to force the use of JAX-WS 2.2?
>
> All I did was open an old project and try to build, and with NB 6.8 it
> just doesn't work.  Despite the instructions to use the endorsed
> standards mechanism etc, I think NB should be able to build the
> project without manual intervention, since it was NB that
> automatically added the dependency on JAX-WS 2.2.
>
> Should I file a bug for this?
>
>
> Scott
>