spring-projects / spring-boot

Spring Boot
https://spring.io/projects/spring-boot
Apache License 2.0
73.63k stars 40.32k forks source link

Can't fetch/build javadoc after upgrading to 3.3.x #41207

Closed nixel2007 closed 16 hours ago

nixel2007 commented 2 weeks ago

Hello. I have an application based on spring boot that also produces the javadoc (both html and jar) with external links (to dependencies javadoc site) during the build.

After upgrading dependency to spring boot 3.3.0/3.3.1 this build started to fail with error:

error: Error fetching URL: https://docs.spring.io/spring-boot/docs/3.3.1/api/ (java.io.FileNotFoundException: https://docs.spring.io/spring-boot/docs/3.3.1/api/package-list) 

Broken build logs: https://github.com/1c-syntax/bsl-language-server/actions/runs/9611169437/job/26509211579?pr=3315

Normal build logs: https://github.com/1c-syntax/bsl-language-server/actions/runs/9534713350/job/26279577391#step:4:37

Was it an intended change? Any tips on what should he configured to make it work again?

bclozel commented 2 weeks ago

I think you can change your javadoc configuration (most likely in your maven or gradle build) to use the following URL now: https://docs.spring.io/spring-boot/3.3.0/api/java/

Please let us know if this works for you.

nixel2007 commented 2 weeks ago

I tried to add javadoc links to 3.3.0 and latest, but error is the same:

https://github.com/1c-syntax/bsl-language-server/pull/3315/files

bclozel commented 2 weeks ago

This is still using the wrong URL. Any idea where this can come from?

error: Error fetching URL: https://docs.spring.io/spring-boot/docs/3.3.1/api/ (java.io.FileNotFoundException: https://docs.spring.io/spring-boot/docs/3.3.1/api/package-list)

spring-projects-issues commented 1 week ago

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

spring-projects-issues commented 16 hours ago

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.