No classes have been predefined during the image build to load from bytecodes at runtime

2024-02-23 Thread Jun Suzuki
By reference to the AOT support guide, https://tomcat.apache.org/tomcat-9.0-doc/graal.html, I built a spring framework 6.x based web application into a native image. I'm using GraalVM for JDK17. When finally ran the native image, it gave following error message: INFO: Initializing Spring root

How to deal with beans.xml during process of GraalVM native image build?

2024-02-05 Thread Jun Suzuki
Within a spring framework application, it uses beanx.xml to define a bean names "GreetingService": And this bean is being called as below: === ApplicationContext context = new

Re: Run Tomcat as native image

2023-12-20 Thread Jun Suzuki
2023年12月20日(水) 19:55 Rémy Maucherat : > > On Wed, Dec 20, 2023 at 5:33 AM Jun Suzuki wrote: > > > > 2023年12月19日(火) 16:11 Jun Suzuki : > > > > > > 2023年12月19日(火) 1:18 Rémy Maucherat : > > > > > > > > On Mon, Dec 18, 2023 at 1:28 

Re: Run Tomcat as native image

2023-12-19 Thread Jun Suzuki
2023年12月19日(火) 16:11 Jun Suzuki : > > 2023年12月19日(火) 1:18 Rémy Maucherat : > > > > On Mon, Dec 18, 2023 at 1:28 PM Jun Suzuki wrote: > > > > > > Hello all, > > > > > > I'm now following the guide of > > > https://tomcat.apache.org/tom

Re: Run Tomcat as native image

2023-12-18 Thread Jun Suzuki
2023年12月19日(火) 1:18 Rémy Maucherat : > > On Mon, Dec 18, 2023 at 1:28 PM Jun Suzuki wrote: > > > > Hello all, > > > > I'm now following the guide of > > https://tomcat.apache.org/tomcat-11.0-doc/graal.html to build Tomcat > > into native image. > >

Run Tomcat as native image

2023-12-18 Thread Jun Suzuki
Hello all, I'm now following the guide of https://tomcat.apache.org/tomcat-11.0-doc/graal.html to build Tomcat into native image. The original thread I posted before has become too long to be easily understood, so please let me raise a new thread to clarify. I break down the contents from the

Re: Issues of Ahead of Time compilation support

2023-12-15 Thread Jun Suzuki
Christopher, 2023年12月16日(土) 3:41 Christopher Schultz : > > Jun, > > On 12/15/23 08:56, Jun Suzuki wrote: > > 2023年12月15日(金) 20:37 Rémy Maucherat : > >> > >> On Fri, Dec 15, 2023 at 11:54 AM Jun Suzuki > >> wrote: > >>> > >>&g

Re: Issues of Ahead of Time compilation support

2023-12-15 Thread Jun Suzuki
2023年12月15日(金) 20:37 Rémy Maucherat : > > On Fri, Dec 15, 2023 at 11:54 AM Jun Suzuki wrote: > > > > Rémy > > Thank you so much for your support. > > May I confirm a little bit further regarding your reply. > > > > 2023年12月15日(金) 17:08 Rémy Maucherat : &

Re: Issues of Ahead of Time compilation support

2023-12-15 Thread Jun Suzuki
Rémy Thank you so much for your support. May I confirm a little bit further regarding your reply. 2023年12月15日(金) 17:08 Rémy Maucherat : > > On Fri, Dec 15, 2023 at 4:18 AM Jun Suzuki wrote: > > (1) Guidance is not so clear about following points: > > Should I copy the de

Issues of Ahead of Time compilation support

2023-12-14 Thread Jun Suzuki
Hello all, Does anyone have experience of implementation of AOT/GraalVM by following official documentation as below? https://tomcat.apache.org/tomcat-9.0-doc/graal.html I created a simple spring framework application(deployed as a war file) which is working well under Tomcat10.x, GraalVM21 with