MartinLei opened a new pull request, #722:
URL: https://github.com/apache/tomcat/pull/722

   Using the Tomcat-JDBC library inside a Spring Native project causes the 
compilation step of a GraalVM native image to crash with the given error.
   
   >   Exception in thread "main" 
org.springframework.boot.context.properties.bind.MissingParametersCompilerArgumentException:
 Constructor binding in a native image requires compilation with -parameters 
but the following classes were compiled without it:
   >   org.apache.tomcat.jdbc.pool.PoolProperties$InterceptorProperty
   
   See this little [demo project 
](https://github.com/MartinLei/bugNativeTomcatJdBC) to reproduce the problem.
   
   It seems this error could be easily fixed by adding the **-params** flag at 
the compile step, as suggested by the error.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to