Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SpringBoot3 / Springframework6 version #3132

Open
jusabatier opened this issue Dec 8, 2023 · 1 comment
Open

SpringBoot3 / Springframework6 version #3132

jusabatier opened this issue Dec 8, 2023 · 1 comment

Comments

@jusabatier
Copy link

Hi,

I'm trying to make this lib compatible with SpringBoot3/Springframework6 as I try to upgrade some of our local apps that uses it.

Here is what I already done : https://github.com/jusabatier/mapfish-print/tree/spring6

I still have some problems because I'm familiar with maven, not with gradle :

Because I have an error that I fail to solve :

Exception in thread "main" java.lang.IllegalArgumentException: Unable to find javadoc for method 'setParser' in '!geojsonLayerParser'

  • When compiling with make dist, I try to include the generated jar file in another project, but it doesn't embed jasper, metrics and geotools libs so I have to reimport them in the project. Is it normal ? With previous versions it was embed in the generated jar.

Can you help me with this (especially the second) ?

And feel free to feedback about what I did.

@jusabatier
Copy link
Author

It looks like resources files are also missing from jar :

Could not resolve placeholder 'httpRequest.fetchRetry.maxNumber' in value "${httpRequest.fetchRetry.maxNumber}"

jusabatier@ThinkPad-E15-Gen-2-Julien:~/Workspace/Eclipse/Projets/mapfish-print$ grep -Rnw '.' -e 'httpRequest.fetchRetry.maxNumber'
./core/src/main/resources/mapfish-spring.properties:51:httpRequest.fetchRetry.maxNumber=3
./core/src/main/java/org/mapfish/print/processor/map/CreateMapProcessor.java:109:  @Value("${httpRequest.fetchRetry.maxNumber}")
./core/bin/main/mapfish-spring.properties:51:httpRequest.fetchRetry.maxNumber=3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant