spring-native
spring-native copied to clipboard
Add support for Spring Web Services (SOAP)
jaxax.xml.transform.TransformerException: com.sun.org.apache.xpath.internal.functions.FuncNormalizeSpace.
Could you please provide a project that would allow us to reproduce this error ?
I use "spring-boot-starter-web-services" module
I can´t send the original project, but if you need , I can create a simple project with same error....
I created a simple demo project using "Spring Initializ", version 2.4.6 (SNAPSHOT) adding dependencies "Native , Web Services".
...and then run on docker cmd: mvn spring-boot:build-image -DskipTests
Result: [INFO] [creator] *** Images (87b36c7fedfb): [INFO] [creator] docker.io/library/demo:0.0.1-SNAPSHOT [INFO] [creator] Adding cache layer 'paketo-buildpacks/graalvm:jdk' [INFO] [creator] Adding cache layer 'paketo-buildpacks/native-image:native-image' [INFO] [INFO] Successfully built image 'docker.io/library/demo:0.0.1-SNAPSHOT' [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 15:47 min [INFO] Finished at: 2021-04-19T14:25:34-03:00 [INFO] ------------------------------------------------------------------------
.... But when try start docker : docker run --rm -p 8080:8080 demo:0.0.1-SNAPSHOT
Result:
Caused by: javax.xml.xpath.XPathExpressionException: javax.xml.transform.TransformerException: com.sun.org.apache.xpath.internal.functions.FuncNormalizeSpace.
Can you verify for me
spring-boot-starter-web-services
is not yet supported so that expected.
I would like to be part of this team, how can I sign up?
You can provide pull-requests.
Spring Native is now superseded by Spring Boot 3 official native support, see the related reference documentation for more details.
As a consequence, I am closing this issue, and recommend trying your use case with latest Spring Boot 3 version. If you still experience the issue reported here, please open an issue directly on the related Spring project (Spring Framework, Data, Security, Boot, Cloud, etc.) with a reproducer.
Thanks for your contribution on the experimental Spring Native project, we hope you will enjoy the official native support introduced by Spring Boot 3.