Hi Som,
every note is important, I'm doing some collection from your informations to fix all at once.
Thanks for reporting
Regards,
Maxim
Od: jersey-dev <jersey-dev-bounces@xxxxxxxxxxx> za uživatele Som Lima <somplasticllc@xxxxxxxxx>
Odesláno: úterý 6. dubna 2021 13:56
Komu: jersey developer discussions <jersey-dev@xxxxxxxxxxx>
Předmět: Re: [jersey-dev] [External] : Fixed needed for http://localhost:8080/myapp/application.wadl
Thanks
I thought nobody was taking any notice of my contribution.
Hi Som,
The WADL support is dependent on JAX-B. While JAX-B is available with JDK 8 out of the box, it is needed to be added with the JDK 11+.
Jersey prints the information that the WADL feature is disabled when no JAX-B is present. Currently, the demand seems to be for Jersey to be independent on JAX-B, and Jakarta RESTful WebServices 3.1 is going to drop the dependency on JAX-B.
That led us to add JAX-B dependency for JDK11 only for examples that do specifically mention WADL, or use JAX-B.
Thanks,
-- Jan
Hi,
1.3. Running the Project
is
* Trying 127.0.0.1:8080...
* TCP_NODELAY set
* Connected to localhost (127.0.0.1) port 8080 (#0)
> GET /myapp/application.wadl HTTP/1.1
> Host: localhost:8080
> User-Agent: curl/7.65.3
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 404 Not Found
< Content-Length: 0
<
* Connection #0 to host localhost left intact
I do have a working version and I have done a diff between the two pom.xml files so you can see the fixes needed.
4d3
<
6c5
< <artifactId>simple-service-grizzly</artifactId>
---
> <artifactId>simple-service</artifactId>
9c8
< <name>simple-service-grizzly</name>
---
> <name>simple-service</name>
16d14
<
44,50d41
<
< <dependency>
< <groupId>org.glassfish.jaxb</groupId>
< <artifactId>jaxb-runtime</artifactId>
< <version>3.0.0</version>
< </dependency>
<
74c65
< <version>1.2.1</version>
---
> <version>3.0.0</version>
The result of the fixed app is
_______________________________________________
jersey-dev mailing list
jersey-dev@xxxxxxxxxxx
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/jersey-dev
|