Comments (4)
Please try version 1.2.2 with this configuration:
nativeImage {
mainClassName = '...'
disableToolchainChecking = true
...
}
from spring-graalvm-native-plugin.
It seems you are missing a C compiler /usr/bin/cc which GraalVM needs. If you add CheckToolchain flag, it will not run /usr/bin/cc -v but it will fail at a later step because your machine is missing some necessary files.
from spring-graalvm-native-plugin.
Thank you for the tip.
I am running MacOS Catalina 10.15.6, and based on the docs, when I run: xcode-select --install
, I get back xcode-select: error: command line tools are already installed, use "Software Update" to install updates
. There are no other updates.
Also,
/usr/bin/cc -v
Apple clang version 11.0.3 (clang-1103.0.32.62)
Target: x86_64-apple-darwin19.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
Do I need something else installed?
from spring-graalvm-native-plugin.
Thank you.
from spring-graalvm-native-plugin.
Related Issues (20)
- Can you provide an example using spring boot? HOT 2
- The plugin declares repositories, effectively ignoring the repositories declared in the settings.
- How to pass graalVM options? HOT 2
- Unable to produce image from spring boot HOT 2
- Graal 20.3: rework non-Boolean setting "traceClassInitialization" HOT 1
- BuildNativeImage fails on /usr/bin/cc, error=17, File exists HOT 18
- Classes that should be initialized at run time got initialized during image building: HOT 2
- UnsatisfiedLinkError: no awt in java.library.path HOT 1
- Wrong property for removing xml support HOT 2
- buildNativeImage FAILED HOT 6
- Executable Spring Boot archives are not supported (Unexpected record signature: 0X622F2123) HOT 5
- macOS build error (Collecting native-compiler info with '/usr/bin/cc -v ' failed) HOT 3
- Having issue on macOS Catalina 10.15.6 HOT 1
- Caused by: jdk.vm.ci.common.JVMCIError: failed guarantee: DynamicNewInstanceNode.instanceType is constant, should have been canonicalized to NewInstanceNode. HOT 1
- Illegal char <:> at index 5 HOT 4
- set enableHttps use enableHttp variable HOT 1
- Execution failed for task ':stock-api:buildNativeImage': Cannot run program native-image.cmd The system cannot find the file specified HOT 8
- gu.exe NotExist on Windows HOT 1
- version `1.4.9` not published to plugins.gradle.org/m2 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spring-graalvm-native-plugin.