Questions tagged [ahead-of-time-compile]
19 questions
0
votes
1 answer
.NET 6 Library referenced in MAUI project fails to compile in Release configuration with AOT error
I have a MAUI project which references a .NET 6 Class Library (itself including an EF Core context with related NuGet packages and all the model objects). This class is referenced as a .NET Assembly within the MAUI project.
As long as I keep on…

Innova
- 334
- 4
- 18
0
votes
0 answers
Spring Boot 3 service locator interface in the ServiceLocatorFactoryBean could not be found in a native application
The interface set within the ServiceLocatorFactoryBean is not found when trying to autowire it in another class. This works fine in a non-native application but when built as a native application the following error gets thrown when trying to start…

edgar calvillo
- 1
- 2
0
votes
0 answers
Calling numba jitted function from another Python File
I have a Python project with the following document structure:
/scripts
main.py
/classes
myclass.py
...
The class defined in myclass.py has a method which I aim to accelerate. I have achieved this by jitting parts of them into functions…

Kağan Aytekin
- 63
- 5
0
votes
1 answer
Clojure Ahead-of-Time compilation fails for Java classes "No matching method ofInstant found taking 2 args for class java.time.LocalDate"
Attempting to AOT compile a Clojure namespace with clj -e "(compile 'my-ns.core)" throws an exception when attempting to construct a LocalDate:
Syntax error (IllegalArgumentException) compiling . at (my-project/my-ns-core.clj:5:1).
No matching…

Petrus Theron
- 27,855
- 36
- 153
- 287