gluonhq / gluonfx-maven-plugin

Plugin that simplifies creating native images for Java/JavaFX maven projects
BSD 3-Clause "New" or "Revised" License
189 stars 39 forks source link

Failed to execute goal com.gluonhq:gluonfx-maven-plugin:1.0.22:compile (default-cli) on project photo-raw: Compiling failed -> [Help 1] #502

Open WowYouCanReallyDance opened 7 months ago

WowYouCanReallyDance commented 7 months ago

OS: macOS 12.6 (intel) Graalvm version: graalvm-community-openjdk-21.0.2+13.1 JavaFX version: 21.0.2 Error logs when running command mvn -e gluonfx:build:

mvn -X gluonfx:build
Apache Maven 3.8.1 (05c21c65bdfed0f71a2f2ada8b84da59348c4c5d)
Maven home: /Users/monica/.sdkman/candidates/maven/current
Java version: 21.0.2, vendor: GraalVM Community, runtime: /Library/Java/JavaVirtualMachines/graalvm-community-openjdk-21.0.2+13.1/Contents/Home
Default locale: zh_CN_#Hans, platform encoding: UTF-8
OS name: "mac os x", version: "12.7.3", arch: "x86_64", family: "mac"
[DEBUG] Created new class realm maven.api
[DEBUG] Importing foreign packages into class realm maven.api
[DEBUG]   Imported: javax.annotation.* < plexus.core
[DEBUG]   Imported: javax.annotation.security.* < plexus.core
[DEBUG]   Imported: javax.enterprise.inject.* < plexus.core
[DEBUG]   Imported: javax.enterprise.util.* < plexus.core
[DEBUG]   Imported: javax.inject.* < plexus.core
[DEBUG]   Imported: org.apache.maven.* < plexus.core
[DEBUG]   Imported: org.apache.maven.artifact < plexus.core
[DEBUG]   Imported: org.apache.maven.classrealm < plexus.core
[DEBUG]   Imported: org.apache.maven.cli < plexus.core
[DEBUG]   Imported: org.apache.maven.configuration < plexus.core
[DEBUG]   Imported: org.apache.maven.exception < plexus.core
[DEBUG]   Imported: org.apache.maven.execution < plexus.core
[DEBUG]   Imported: org.apache.maven.execution.scope < plexus.core
[DEBUG]   Imported: org.apache.maven.lifecycle < plexus.core
[DEBUG]   Imported: org.apache.maven.model < plexus.core
[DEBUG]   Imported: org.apache.maven.monitor < plexus.core
[DEBUG]   Imported: org.apache.maven.plugin < plexus.core
[DEBUG]   Imported: org.apache.maven.profiles < plexus.core
[DEBUG]   Imported: org.apache.maven.project < plexus.core
[DEBUG]   Imported: org.apache.maven.reporting < plexus.core
[DEBUG]   Imported: org.apache.maven.repository < plexus.core
[DEBUG]   Imported: org.apache.maven.rtinfo < plexus.core
[DEBUG]   Imported: org.apache.maven.settings < plexus.core
[DEBUG]   Imported: org.apache.maven.toolchain < plexus.core
[DEBUG]   Imported: org.apache.maven.usability < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.* < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.authentication < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.authorization < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.events < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.observers < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.proxy < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.repository < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.resource < plexus.core
[DEBUG]   Imported: org.codehaus.classworlds < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.* < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.classworlds < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.component < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.configuration < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.container < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.context < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.lifecycle < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.logging < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.personality < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core
[DEBUG]   Imported: org.eclipse.aether.* < plexus.core
[DEBUG]   Imported: org.eclipse.aether.artifact < plexus.core
[DEBUG]   Imported: org.eclipse.aether.collection < plexus.core
[DEBUG]   Imported: org.eclipse.aether.deployment < plexus.core
[DEBUG]   Imported: org.eclipse.aether.graph < plexus.core
[DEBUG]   Imported: org.eclipse.aether.impl < plexus.core
[DEBUG]   Imported: org.eclipse.aether.installation < plexus.core
[DEBUG]   Imported: org.eclipse.aether.internal.impl < plexus.core
[DEBUG]   Imported: org.eclipse.aether.metadata < plexus.core
[DEBUG]   Imported: org.eclipse.aether.repository < plexus.core
[DEBUG]   Imported: org.eclipse.aether.resolution < plexus.core
[DEBUG]   Imported: org.eclipse.aether.spi < plexus.core
[DEBUG]   Imported: org.eclipse.aether.transfer < plexus.core
[DEBUG]   Imported: org.eclipse.aether.version < plexus.core
[DEBUG]   Imported: org.fusesource.jansi.* < plexus.core
[DEBUG]   Imported: org.slf4j.* < plexus.core
[DEBUG]   Imported: org.slf4j.event.* < plexus.core
[DEBUG]   Imported: org.slf4j.helpers.* < plexus.core
[DEBUG]   Imported: org.slf4j.spi.* < plexus.core
[DEBUG] Populating class realm maven.api
[INFO] Error stacktraces are turned on.
[DEBUG] Message scheme: color
[DEBUG] Message styles: debug info warning error success failure strong mojo project
[DEBUG] Reading global settings from /Users/monica/.sdkman/candidates/maven/current/conf/settings.xml
[DEBUG] Reading user settings from /Users/monica/.m2/settings.xml
[DEBUG] Reading global toolchains from /Users/monica/.sdkman/candidates/maven/current/conf/toolchains.xml
[DEBUG] Reading user toolchains from /Users/monica/.m2/toolchains.xml
[DEBUG] Using local repository at /Users/monica/Development/devenv/builder/maven/repository
[DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for /Users/monica/Development/devenv/builder/maven/repository
[INFO] Scanning for projects...
[DEBUG] Using mirror aliyunmaven (https://maven.aliyun.com/repository/public) for jcenter (https://maven.aliyun.com/repository/public).
[DEBUG] Extension realms for project com.demos:photo-raw:jar:1.0.0: (none)
[DEBUG] Looking up lifecycle mappings for packaging jar from ClassRealm[plexus.core, parent: null]
[DEBUG] Resolving plugin prefix gluonfx from [org.apache.maven.plugins, org.codehaus.mojo]
[DEBUG] Using mirror aliyunmaven (https://maven.aliyun.com/repository/public) for plexus.snapshots (https://oss.sonatype.org/content/repositories/plexus-snapshots).
[DEBUG] Using mirror aliyunmaven (https://maven.aliyun.com/repository/public) for apache.snapshots (https://repository.apache.org/snapshots).
[DEBUG] Using mirror aliyunmaven (https://maven.aliyun.com/repository/public) for gluon-snapshots (https://nexus.gluonhq.com/nexus/content/repositories/public-snapshots).
[DEBUG] Using mirror aliyunmaven (https://maven.aliyun.com/repository/public) for snapshot (https://oss.sonatype.org/content/repositories/snapshots/).
[DEBUG] Resolved plugin prefix gluonfx to com.gluonhq:gluonfx-maven-plugin from POM com.demos:photo-raw:jar:1.0.0
[DEBUG] === REACTOR BUILD PLAN ================================================
[DEBUG] Project: com.demos:photo-raw:jar:1.0.0
[DEBUG] Tasks:   [gluonfx:build]
[DEBUG] Style:   Aggregating
[DEBUG] =======================================================================
[INFO]
[INFO] ------------------------< com.demos:photo-raw >-------------------------
[INFO] Building photo-raw 1.0.0
[INFO] --------------------------------[ jar ]---------------------------------
[DEBUG] Resolving plugin prefix gluonfx from [org.apache.maven.plugins, org.codehaus.mojo]
[DEBUG] Resolved plugin prefix gluonfx to com.gluonhq:gluonfx-maven-plugin from POM com.demos:photo-raw:jar:1.0.0
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] === PROJECT BUILD PLAN ================================================
[DEBUG] Project:       com.demos:photo-raw:1.0.0
[DEBUG] Dependencies (collect): []
[DEBUG] Dependencies (resolve): [compile]
[DEBUG] Repositories (dependencies): [aliyunmaven (https://maven.aliyun.com/repository/public, default, releases+snapshots), central (https://maven.aliyun.com/repository/central, default, releases+snapshots), spring (https://maven.aliyun.com/repository/spring, default, releases+snapshots), spring-plugin (https://maven.aliyun.com/repository/spring-plugin, default, releases+snapshots), grails-core (https://maven.aliyun.com/repository/grails-core, default, releases+snapshots), apache-snapshots (https://maven.aliyun.com/repository/apache-snapshots, default, releases+snapshots)]
[DEBUG] Repositories (plugins)     : [central (https://repo.maven.apache.org/maven2, default, releases)]
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          com.gluonhq:gluonfx-maven-plugin:1.0.22:build (default-cli)
[DEBUG] Style:         Aggregating
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <appIdentifier>${gluonfx.appIdentifier}</appIdentifier>
  <attachList>
    <list>display</list>
    <list>lifecycle</list>
    <list>statusbar</list>
    <list>storage</list>${gluonfx.attachList}</attachList>
  <basedir default-value="${basedir}"/>
  <bundlesList>${gluonfx.bundlesList}</bundlesList>
  <enableSWRendering default-value="false">${gluonfx.enableSWRendering}</enableSWRendering>
  <executable default-value="java">${gluonfx.executable}</executable>
  <graalvmHome>/Library/Java/JavaVirtualMachines/graalvm-community-openjdk-21.0.2+13.1/Contents/Home</graalvmHome>
  <javaStaticSdkVersion>${gluonfx.javaStaticSdkVersion}</javaStaticSdkVersion>
  <javafxStaticSdkVersion>21-ea+11.1</javafxStaticSdkVersion>
  <jniList>${gluonfx.jniList}</jniList>
  <linkerArgs>${gluonfx.linkerArgs}</linkerArgs>
  <mainClass>com.demos.photoraw/com.demos.photoraw.AppLaunch</mainClass>
  <nativeImageArgs>${gluonfx.nativeImageArgs}</nativeImageArgs>
  <pom default-value="${basedir}/pom.xml"/>
  <project default-value="${project}"/>
  <reflectionList>${gluonfx.reflectionList}</reflectionList>
  <releaseConfiguration>${gluonfx.releaseConfiguration}</releaseConfiguration>
  <remoteDir>${gluonfx.remoteDir}</remoteDir>
  <remoteHostName>${gluonfx.remoteHostName}</remoteHostName>
  <resourcesList>${gluonfx.resourcesList}</resourcesList>
  <runtimeArgs>${gluonfx.runtimeArgs}</runtimeArgs>
  <session default-value="${session}"/>
  <target default-value="host">host</target>
  <verbose default-value="false">${gluonfx.verbose}</verbose>
</configuration>
[DEBUG] =======================================================================
[DEBUG] Dependency collection stats {ConflictMarker.analyzeTime=1418175, ConflictMarker.markTime=206081, ConflictMarker.nodeCount=12, ConflictIdSorter.graphTime=605610, ConflictIdSorter.topsortTime=568693, ConflictIdSorter.conflictIdCount=6, ConflictIdSorter.conflictIdCycleCount=3, ConflictResolver.totalTime=4170303, ConflictResolver.conflictItemCount=8, DefaultDependencyCollector.collectTime=39399978, DefaultDependencyCollector.transformTime=9982744}
[DEBUG] com.demos:photo-raw:jar:1.0.0
[DEBUG]    org.openjfx:javafx-controls:jar:21.0.2:compile
[DEBUG]       org.openjfx:javafx-controls:jar:mac:21.0.2:compile
[DEBUG]       org.openjfx:javafx-graphics:jar:21.0.2:compile
[DEBUG]          org.openjfx:javafx-graphics:jar:mac:21.0.2:compile
[DEBUG]          org.openjfx:javafx-base:jar:21.0.2:compile
[DEBUG]             org.openjfx:javafx-base:jar:mac:21.0.2:compile
[INFO]
[INFO] --- gluonfx-maven-plugin:1.0.22:build (default-cli) @ photo-raw ---
[DEBUG] Using mirror aliyunmaven (https://maven.aliyun.com/repository/public) for sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots).
[DEBUG] Using mirror aliyunmaven (https://maven.aliyun.com/repository/public) for jvnet-nexus-snapshots (https://maven.java.net/content/repositories/snapshots).
[DEBUG] Using mirror aliyunmaven (https://maven.aliyun.com/repository/public) for ow2-snapshot (http://repository.ow2.org/nexus/content/repositories/snapshots).
[DEBUG] Using mirror aliyunmaven (https://maven.aliyun.com/repository/public) for apache.snapshots (http://repository.apache.org/snapshots).
[DEBUG] Dependency collection stats {ConflictMarker.analyzeTime=270754, ConflictMarker.markTime=182352, ConflictMarker.nodeCount=53, ConflictIdSorter.graphTime=96174, ConflictIdSorter.topsortTime=72205, ConflictIdSorter.conflictIdCount=37, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=4015611, ConflictResolver.conflictItemCount=53, DefaultDependencyCollector.collectTime=340622281, DefaultDependencyCollector.transformTime=4781888}
[DEBUG] com.gluonhq:gluonfx-maven-plugin:jar:1.0.22
[DEBUG]    com.gluonhq:substrate:jar:0.0.61:compile
[DEBUG]       com.googlecode.plist:dd-plist:jar:1.23:runtime
[DEBUG]       org.bouncycastle:bcpkix-jdk15on:jar:1.49:runtime
[DEBUG]          org.bouncycastle:bcprov-jdk15on:jar:1.49:runtime
[DEBUG]       org.graalvm.nativeimage:svm:jar:21.1.0:runtime
[DEBUG]          org.graalvm.nativeimage:svm-hosted-native-linux-amd64:tar.gz:21.1.0:runtime
[DEBUG]          org.graalvm.nativeimage:svm-hosted-native-darwin-amd64:tar.gz:21.1.0:runtime
[DEBUG]          org.graalvm.nativeimage:svm-hosted-native-windows-amd64:tar.gz:21.1.0:runtime
[DEBUG]          org.graalvm.sdk:graal-sdk:jar:21.1.0:runtime
[DEBUG]          org.graalvm.nativeimage:objectfile:jar:21.1.0:runtime
[DEBUG]          org.graalvm.nativeimage:pointsto:jar:21.1.0:runtime
[DEBUG]          org.graalvm.compiler:compiler:jar:21.1.0:runtime
[DEBUG]             org.graalvm.truffle:truffle-api:jar:21.1.0:runtime
[DEBUG]       org.apidesign.bck2brwsr:aot:jar:0.53:runtime
[DEBUG]          org.apidesign.bck2brwsr:vm4brwsr:jar:0.53:runtime
[DEBUG]             org.apidesign.bck2brwsr:core:jar:0.53:runtime
[DEBUG]             com.google.javascript:closure-compiler:jar:v20210601:runtime
[DEBUG]    org.codehaus.plexus:plexus-java:jar:0.9.11:compile
[DEBUG]       org.ow2.asm:asm:jar:7.0-beta:compile
[DEBUG]       com.thoughtworks.qdox:qdox:jar:2.0-M9:compile
[DEBUG]    org.apache.commons:commons-exec:jar:1.3:compile
[DEBUG]    org.apache.maven.shared:maven-invoker:jar:3.2.0:compile
[DEBUG]       org.apache.maven.shared:maven-shared-utils:jar:3.3.4:compile
[DEBUG]          commons-io:commons-io:jar:2.6:compile
[DEBUG]       javax.inject:javax.inject:jar:1:compile
[DEBUG]    org.apache.maven.resolver:maven-resolver-transport-http:jar:1.7.3:compile
[DEBUG]       org.apache.maven.resolver:maven-resolver-api:jar:1.7.3:compile
[DEBUG]       org.apache.maven.resolver:maven-resolver-spi:jar:1.7.3:compile
[DEBUG]       org.apache.maven.resolver:maven-resolver-util:jar:1.7.3:compile
[DEBUG]       org.apache.httpcomponents:httpclient:jar:4.5.13:compile
[DEBUG]          commons-codec:commons-codec:jar:1.11:compile
[DEBUG]       org.apache.httpcomponents:httpcore:jar:4.4.14:compile
[DEBUG]       org.slf4j:jcl-over-slf4j:jar:1.7.32:runtime
[DEBUG]       org.slf4j:slf4j-api:jar:1.7.32:compile
[DEBUG]    org.apache.maven.resolver:maven-resolver-transport-file:jar:1.7.3:compile
[DEBUG]    org.apache.maven.resolver:maven-resolver-connector-basic:jar:1.7.3:compile
[DEBUG]    org.codehaus.plexus:plexus-utils:jar:1.1:runtime
[DEBUG] Created new class realm plugin>com.gluonhq:gluonfx-maven-plugin:1.0.22
[DEBUG] Importing foreign packages into class realm plugin>com.gluonhq:gluonfx-maven-plugin:1.0.22
[DEBUG]   Imported:  < maven.api
[DEBUG] Populating class realm plugin>com.gluonhq:gluonfx-maven-plugin:1.0.22
[DEBUG]   Included: com.gluonhq:gluonfx-maven-plugin:jar:1.0.22
[DEBUG]   Included: com.gluonhq:substrate:jar:0.0.61
[DEBUG]   Included: com.googlecode.plist:dd-plist:jar:1.23
[DEBUG]   Included: org.bouncycastle:bcpkix-jdk15on:jar:1.49
[DEBUG]   Included: org.bouncycastle:bcprov-jdk15on:jar:1.49
[DEBUG]   Included: org.graalvm.nativeimage:svm:jar:21.1.0
[DEBUG]   Included: org.graalvm.nativeimage:svm-hosted-native-linux-amd64:tar.gz:21.1.0
[DEBUG]   Included: org.graalvm.nativeimage:svm-hosted-native-darwin-amd64:tar.gz:21.1.0
[DEBUG]   Included: org.graalvm.nativeimage:svm-hosted-native-windows-amd64:tar.gz:21.1.0
[DEBUG]   Included: org.graalvm.sdk:graal-sdk:jar:21.1.0
[DEBUG]   Included: org.graalvm.nativeimage:objectfile:jar:21.1.0
[DEBUG]   Included: org.graalvm.nativeimage:pointsto:jar:21.1.0
[DEBUG]   Included: org.graalvm.compiler:compiler:jar:21.1.0
[DEBUG]   Included: org.graalvm.truffle:truffle-api:jar:21.1.0
[DEBUG]   Included: org.apidesign.bck2brwsr:aot:jar:0.53
[DEBUG]   Included: org.apidesign.bck2brwsr:vm4brwsr:jar:0.53
[DEBUG]   Included: org.apidesign.bck2brwsr:core:jar:0.53
[DEBUG]   Included: com.google.javascript:closure-compiler:jar:v20210601
[DEBUG]   Included: org.codehaus.plexus:plexus-java:jar:0.9.11
[DEBUG]   Included: org.ow2.asm:asm:jar:7.0-beta
[DEBUG]   Included: com.thoughtworks.qdox:qdox:jar:2.0-M9
[DEBUG]   Included: org.apache.commons:commons-exec:jar:1.3
[DEBUG]   Included: org.apache.maven.shared:maven-invoker:jar:3.2.0
[DEBUG]   Included: org.apache.maven.shared:maven-shared-utils:jar:3.3.4
[DEBUG]   Included: commons-io:commons-io:jar:2.6
[DEBUG]   Included: org.apache.maven.resolver:maven-resolver-transport-http:jar:1.7.3
[DEBUG]   Included: org.apache.maven.resolver:maven-resolver-util:jar:1.7.3
[DEBUG]   Included: org.apache.httpcomponents:httpclient:jar:4.5.13
[DEBUG]   Included: commons-codec:commons-codec:jar:1.11
[DEBUG]   Included: org.apache.httpcomponents:httpcore:jar:4.4.14
[DEBUG]   Included: org.slf4j:jcl-over-slf4j:jar:1.7.32
[DEBUG]   Included: org.apache.maven.resolver:maven-resolver-transport-file:jar:1.7.3
[DEBUG]   Included: org.apache.maven.resolver:maven-resolver-connector-basic:jar:1.7.3
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:1.1
[DEBUG] Configuring mojo com.gluonhq:gluonfx-maven-plugin:1.0.22:build from plugin realm ClassRealm[plugin>com.gluonhq:gluonfx-maven-plugin:1.0.22, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@18b4aac2]
[DEBUG] Configuring mojo 'com.gluonhq:gluonfx-maven-plugin:1.0.22:build' with basic configurator -->
[DEBUG]   (f) attachList = [display, lifecycle, statusbar, storage]
[DEBUG]   (f) basedir = /Users/monica/Development/tempspace/languages/javafx/photo-raw
[DEBUG]   (f) bundlesList = []
[DEBUG]   (f) enableSWRendering = false
[DEBUG]   (f) executable = java
[DEBUG]   (f) graalvmHome = /Library/Java/JavaVirtualMachines/graalvm-community-openjdk-21.0.2+13.1/Contents/Home
[DEBUG]   (f) javafxStaticSdkVersion = 21-ea+11.1
[DEBUG]   (f) jniList = []
[DEBUG]   (f) linkerArgs = []
[DEBUG]   (f) mainClass = com.demos.photoraw/com.demos.photoraw.AppLaunch
[DEBUG]   (f) nativeImageArgs = []
[DEBUG]   (f) pom = /Users/monica/Development/tempspace/languages/javafx/photo-raw/pom.xml
[DEBUG]   (f) project = MavenProject: com.demos:photo-raw:1.0.0 @ /Users/monica/Development/tempspace/languages/javafx/photo-raw/pom.xml
[DEBUG]   (f) reflectionList = []
[DEBUG]   (f) releaseConfiguration = ReleaseConfiguration{packageType=null, description='null', vendor='null', version='null', macAppStore=false, macSigningUserName=null, macAppCategory=null, bundleName='null', bundleVersion='null', bundleShortVersion='null', providedSigningIdentity='null', providedProvisioningProfile='null', skipSigning=false, simulatorDevice='null', appLabel='null', versionCode='null', versionName='null', providedKeyStorePath='null', providedKeyStorePassword='null', providedKeyAlias='null', providedKeyAliasPassword='null'}
[DEBUG]   (f) resourcesList = []
[DEBUG]   (f) runtimeArgs = []
[DEBUG]   (f) session = org.apache.maven.execution.MavenSession@4a55a6e8
[DEBUG]   (f) target = host
[DEBUG]   (f) verbose = false
[DEBUG] -- end configuration --
[DEBUG] Start building
[WARN] Maven will be executed in interactive mode, but no input stream has been configured for this MavenInvoker instance.
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------< com.demos:photo-raw >-------------------------
[INFO] Building photo-raw 1.0.0
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] >>> gluonfx-maven-plugin:1.0.22:compile (default-cli) > process-classes @ photo-raw >>>
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ photo-raw ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] 阿里云Maven中央仓库为阿里云云效提供的公共代理仓库,云效也提供了免费、可靠的Maven私有仓库Packages,欢迎您体验使用。https://www.aliyun.com/product/yunxiao/packages?channel=pd_maven_download
[INFO]
[INFO] --- maven-compiler-plugin:3.12.1:compile (default-compile) @ photo-raw ---
[INFO] Nothing to compile - all classes are up to date.
[INFO]
[INFO] <<< gluonfx-maven-plugin:1.0.22:compile (default-cli) < process-classes @ photo-raw <<<
[INFO]
[INFO]
[INFO] --- gluonfx-maven-plugin:1.0.22:compile (default-cli) @ photo-raw ---
2月 29, 2024 10:32:14 下午 com.gluonhq.substrate.util.Logger logInfo
信息: Substrate is tested with the Gluon's GraalVM build which you can find at https://github.com/gluonhq/graal/releases.
While you can still use other GraalVM builds, there is no guarantee that these will work properly with Substrate
[周四 2月 29 22:32:14 CST 2024][信息] ==================== COMPILE TASK ====================
             _______  ___      __   __  _______  __    _
            |       ||   |    |  | |  ||       ||  |  | |
            |    ___||   |    |  | |  ||   _   ||   |_| |
            |   | __ |   |    |  |_|  ||  | |  ||       |
            |   ||  ||   |___ |       ||  |_|  ||  _    |
            |   |_| ||       ||       ||       || | |   |
            |_______||_______||_______||_______||_|  |__|

    Access to the latest docs, tips and tricks and more info on
    how to get support? Register your usage of Gluon Substrate now at

    https://gluonhq.com/activate

[周四 2月 29 22:32:16 CST 2024][信息] We will now compile your code for x86_64-apple-darwin. This may take some time.
[周四 2月 29 22:32:19 CST 2024][信息] [SUB] Warning: Ignoring server-mode native-image argument --no-server.
[周四 2月 29 22:32:19 CST 2024][信息] [SUB] Warning: The option '-H:ResourceConfigurationFiles=/Users/monica/Development/tempspace/languages/javafx/photo-raw/target/gluonfx/x86_64-darwin/gvm/resourceconfig-x86_64-darwin.json' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions' in the future.
[周四 2月 29 22:32:19 CST 2024][信息] [SUB] Warning: The option '-H:JNIConfigurationFiles=/Users/monica/Development/tempspace/languages/javafx/photo-raw/target/gluonfx/x86_64-darwin/gvm/jniconfig-x86_64-darwin.json' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions' in the future.
[周四 2月 29 22:32:19 CST 2024][信息] [SUB] Warning: The option '-H:IncludeResourceBundles=com/sun/javafx/scene/control/skin/resources/controls,com/sun/javafx/scene/control/skin/resources/controls-nt,com.sun.javafx.tk.quantum.QuantumMessagesBundle' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions' in the future.
[周四 2月 29 22:32:19 CST 2024][信息] [SUB] Warning: The option '-H:ReflectionConfigurationFiles=/Users/monica/Development/tempspace/languages/javafx/photo-raw/target/gluonfx/x86_64-darwin/gvm/reflectionconfig-x86_64-darwin.json' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions' in the future.
[周四 2月 29 22:32:19 CST 2024][信息] [SUB] Warning: The option '-H:-DeadlockWatchdogExitOnTimeout' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions' in the future.
[周四 2月 29 22:32:19 CST 2024][信息] [SUB] Warning: The option '-H:+ExitAfterRelocatableImageWrite' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions' in the future.
[周四 2月 29 22:32:19 CST 2024][信息] [SUB] Warning: The option '-H:TempDirectory=/Users/monica/Development/tempspace/languages/javafx/photo-raw/target/gluonfx/x86_64-darwin/gvm/tmp' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions' in the future.
[周四 2月 29 22:32:19 CST 2024][信息] [SUB] Warning: The option '-H:EnableURLProtocols=http,https' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions' in the future.
[周四 2月 29 22:32:19 CST 2024][信息] [SUB] Warning: The option '-H:+SharedLibrary' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions' in the future.
[周四 2月 29 22:32:19 CST 2024][信息] [SUB] Warning: The option '-H:DeadlockWatchdogInterval=0' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions' in the future.
[周四 2月 29 22:32:19 CST 2024][信息] [SUB] Warning: The option '-H:+RemoveSaturatedTypeFlows' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions' in the future.
[周四 2月 29 22:32:19 CST 2024][信息] [SUB] Warning: Please re-evaluate whether any experimental option is required, and either remove or unlock it. The build output lists all active experimental options, including where they come from and possible alternatives. If you think an experimental option should be considered as stable, please file an issue.
[周四 2月 29 22:32:20 CST 2024][信息] [SUB] Error: Could not instantiate platform class org.graalvm.nativeimage.Platform$DARWIN_AMD64. Ensure the class is not abstract and has a no-argument constructor.
[周四 2月 29 22:32:20 CST 2024][严重] Process compile failed with result: 1
Check the log files under /Users/monica/Development/tempspace/languages/javafx/photo-raw/target/gluonfx/x86_64-darwin/gvm/log
And please check https://docs.gluonhq.com/ for more information.
[周四 2月 29 22:32:20 CST 2024][信息] Logging process [compile] to file: /Users/monica/Development/tempspace/languages/javafx/photo-raw/target/gluonfx/log/process-compile-1709217140476.log
[周四 2月 29 22:32:20 CST 2024][严重] Compiling failed.
Check the log files under /Users/monica/Development/tempspace/languages/javafx/photo-raw/target/gluonfx/x86_64-darwin/gvm/log
And please check https://docs.gluonhq.com/ for more information.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  8.049 s
[INFO] Finished at: 2024-02-29T22:32:20+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.gluonhq:gluonfx-maven-plugin:1.0.22:compile (default-cli) on project photo-raw: Compiling failed -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  11.089 s
[INFO] Finished at: 2024-02-29T22:32:20+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.gluonhq:gluonfx-maven-plugin:1.0.22:build (default-cli) on project photo-raw: Error, gluonfx:build failed -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.gluonhq:gluonfx-maven-plugin:1.0.22:build (default-cli) on project photo-raw: Error, gluonfx:build failed
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    at jdk.internal.reflect.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:103)
    at java.lang.reflect.Method.invoke (Method.java:580)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error, gluonfx:build failed
    at com.gluonhq.NativeBuildMojo.execute (NativeBuildMojo.java:82)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    at jdk.internal.reflect.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:103)
    at java.lang.reflect.Method.invoke (Method.java:580)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

target/gluonfx/x86_64-darwin/gvm/log/client-debug0.log

[周四 2月 29 22:31:28 CST 2024][信息] ==================== COMPILE TASK ====================
[周四 2月 29 22:31:31 CST 2024][信息] We will now compile your code for x86_64-apple-darwin. This may take some time.
[周四 2月 29 22:31:31 CST 2024][详细] Extracting native libs to: /Users/monica/Development/tempspace/languages/javafx/photo-raw/target/gluonfx/x86_64-darwin/gvm/lib
[周四 2月 29 22:31:31 CST 2024][详细] Looking for resource: /native/macosx/AppDelegate.m
[周四 2月 29 22:31:31 CST 2024][详细] Looking for resource: /native/macosx/launcher.c
[周四 2月 29 22:31:31 CST 2024][详细] PB Command for compile-additional-sources: gcc -c -DSUBSTRATE -mmacosx-version-min=10.12 -I/Users/monica/Development/tempspace/languages/javafx/photo-raw/target/gluonfx/x86_64-darwin/gvm/photo-raw AppDelegate.m launcher.c
[周四 2月 29 22:31:31 CST 2024][详细] Start process compile-additional-sources...
[周四 2月 29 22:31:34 CST 2024][详细] Result for compile-additional-sources: 0
[周四 2月 29 22:31:34 CST 2024][详细] Copied resource /Users/monica/Development/tempspace/languages/javafx/photo-raw/target/classes/module-info.class to /var/folders/1f/2pdjh2xj3bqd0c2h6xyz99b80000gn/T/classes12482418828328290836/module-info.class
[周四 2月 29 22:31:34 CST 2024][详细] Copied resource /Users/monica/Development/tempspace/languages/javafx/photo-raw/target/classes/com/demos/photoraw/AppLaunch.class to /var/folders/1f/2pdjh2xj3bqd0c2h6xyz99b80000gn/T/classes12482418828328290836/com/demos/photoraw/AppLaunch.class
[周四 2月 29 22:31:34 CST 2024][详细] PB Command for jar: /Users/monica/.sdkman/candidates/java/current/bin/jar cf /var/folders/1f/2pdjh2xj3bqd0c2h6xyz99b80000gn/T/classes12482418828328290836/classes.jar -C /var/folders/1f/2pdjh2xj3bqd0c2h6xyz99b80000gn/T/classes12482418828328290836 .
[周四 2月 29 22:31:34 CST 2024][详细] Start process jar...
[周四 2月 29 22:31:34 CST 2024][详细] Result for jar: 0
[周四 2月 29 22:31:34 CST 2024][详细] Scanning for init build time files
[周四 2月 29 22:31:34 CST 2024][详细] Scanning /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.base.jar
[周四 2月 29 22:31:34 CST 2024][详细] Scanning /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.controls.jar
[周四 2月 29 22:31:34 CST 2024][详细] Scanning /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.graphics.jar
[周四 2月 29 22:31:34 CST 2024][详细] Scanning /var/folders/1f/2pdjh2xj3bqd0c2h6xyz99b80000gn/T/classes12482418828328290836/classes.jar
[周四 2月 29 22:31:34 CST 2024][详细] Scanning for reflection files
[周四 2月 29 22:31:34 CST 2024][详细] Scanning /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.base.jar
[周四 2月 29 22:31:34 CST 2024][详细] Adding classes from /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.base.jar::META-INF/substrate/config/reflectionconfig.json
[周四 2月 29 22:31:34 CST 2024][详细] Scanning /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.controls.jar
[周四 2月 29 22:31:34 CST 2024][详细] Adding classes from /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.controls.jar::META-INF/substrate/config/reflectionconfig.json
[周四 2月 29 22:31:34 CST 2024][详细] Scanning /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.graphics.jar
[周四 2月 29 22:31:34 CST 2024][详细] Adding classes from /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.graphics.jar::META-INF/substrate/config/reflectionconfig-x86_64-darwin.json
[周四 2月 29 22:31:34 CST 2024][详细] Adding classes from /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.graphics.jar::META-INF/substrate/config/reflectionconfig.json
[周四 2月 29 22:31:34 CST 2024][详细] Scanning /var/folders/1f/2pdjh2xj3bqd0c2h6xyz99b80000gn/T/classes12482418828328290836/classes.jar
[周四 2月 29 22:31:34 CST 2024][详细] Scanning for JNI files
[周四 2月 29 22:31:34 CST 2024][详细] Scanning /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.base.jar
[周四 2月 29 22:31:34 CST 2024][详细] Scanning /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.controls.jar
[周四 2月 29 22:31:34 CST 2024][详细] Scanning /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.graphics.jar
[周四 2月 29 22:31:34 CST 2024][详细] Adding classes from /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.graphics.jar::META-INF/substrate/config/jniconfig-x86_64-darwin.json
[周四 2月 29 22:31:34 CST 2024][详细] Adding classes from /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.graphics.jar::META-INF/substrate/config/jniconfig.json
[周四 2月 29 22:31:34 CST 2024][详细] Scanning /var/folders/1f/2pdjh2xj3bqd0c2h6xyz99b80000gn/T/classes12482418828328290836/classes.jar
[周四 2月 29 22:31:34 CST 2024][详细] Scanning for resource files
[周四 2月 29 22:31:34 CST 2024][详细] Scanning /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.base.jar
[周四 2月 29 22:31:34 CST 2024][详细] Scanning /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.controls.jar
[周四 2月 29 22:31:34 CST 2024][详细] Scanning /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.graphics.jar
[周四 2月 29 22:31:34 CST 2024][详细] Scanning /var/folders/1f/2pdjh2xj3bqd0c2h6xyz99b80000gn/T/classes12482418828328290836/classes.jar
[周四 2月 29 22:31:34 CST 2024][详细] Copied resource /Users/monica/Development/tempspace/languages/javafx/photo-raw/target/classes/module-info.class to /var/folders/1f/2pdjh2xj3bqd0c2h6xyz99b80000gn/T/classes2530685544961889731/module-info.class
[周四 2月 29 22:31:35 CST 2024][详细] Copied resource /Users/monica/Development/tempspace/languages/javafx/photo-raw/target/classes/com/demos/photoraw/AppLaunch.class to /var/folders/1f/2pdjh2xj3bqd0c2h6xyz99b80000gn/T/classes2530685544961889731/com/demos/photoraw/AppLaunch.class
[周四 2月 29 22:31:35 CST 2024][详细] PB Command for jar: /Users/monica/.sdkman/candidates/java/current/bin/jar cf /var/folders/1f/2pdjh2xj3bqd0c2h6xyz99b80000gn/T/classes2530685544961889731/classes.jar -C /var/folders/1f/2pdjh2xj3bqd0c2h6xyz99b80000gn/T/classes2530685544961889731 .
[周四 2月 29 22:31:35 CST 2024][详细] Start process jar...
[周四 2月 29 22:31:35 CST 2024][详细] Result for jar: 0
[周四 2月 29 22:31:35 CST 2024][详细] Scanning for resource bundles
[周四 2月 29 22:31:35 CST 2024][详细] Scanning /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.base.jar
[周四 2月 29 22:31:35 CST 2024][详细] Scanning /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.controls.jar
[周四 2月 29 22:31:35 CST 2024][详细] Adding classes from /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.controls.jar::META-INF/substrate/config/resourcebundles
[周四 2月 29 22:31:35 CST 2024][详细] Scanning /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.graphics.jar
[周四 2月 29 22:31:35 CST 2024][详细] Adding classes from /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.graphics.jar::META-INF/substrate/config/resourcebundles
[周四 2月 29 22:31:35 CST 2024][详细] Scanning /var/folders/1f/2pdjh2xj3bqd0c2h6xyz99b80000gn/T/classes2530685544961889731/classes.jar
[周四 2月 29 22:31:35 CST 2024][详细] Copied resource /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.base.jar to /Users/monica/Development/tempspace/languages/javafx/photo-raw/target/gluonfx/x86_64-darwin/gvm/tmp/deps/javafx.base.jar
[周四 2月 29 22:31:35 CST 2024][详细] Copied resource /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.controls.jar to /Users/monica/Development/tempspace/languages/javafx/photo-raw/target/gluonfx/x86_64-darwin/gvm/tmp/deps/javafx.controls.jar
[周四 2月 29 22:31:35 CST 2024][详细] Copied resource /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.graphics.jar to /Users/monica/Development/tempspace/languages/javafx/photo-raw/target/gluonfx/x86_64-darwin/gvm/tmp/deps/javafx.graphics.jar
[周四 2月 29 22:31:35 CST 2024][详细] Class-Path manifest entry for pathing jar: ../../../../classes deps/javafx.base.jar deps/javafx.controls.jar deps/javafx.graphics.jar
[周四 2月 29 22:31:35 CST 2024][详细] Pathing jar created at /Users/monica/Development/tempspace/languages/javafx/photo-raw/target/gluonfx/x86_64-darwin/gvm/tmp/classpathJar.jar
[周四 2月 29 22:31:35 CST 2024][详细] PB Command for compile: /Library/Java/JavaVirtualMachines/graalvm-community-openjdk-21.0.2+13.1/Contents/Home/bin/native-image -Djdk.internal.lambda.eagerlyInitialize=false --no-server -H:+SharedLibrary -H:+AddAllCharsets -H:+ReportExceptionStackTraces -H:-DeadlockWatchdogExitOnTimeout -H:DeadlockWatchdogInterval=0 -H:+RemoveSaturatedTypeFlows -H:+ExitAfterRelocatableImageWrite -H:TempDirectory=/Users/monica/Development/tempspace/languages/javafx/photo-raw/target/gluonfx/x86_64-darwin/gvm/tmp -H:EnableURLProtocols=http,https -H:ReflectionConfigurationFiles=/Users/monica/Development/tempspace/languages/javafx/photo-raw/target/gluonfx/x86_64-darwin/gvm/reflectionconfig-x86_64-darwin.json -H:JNIConfigurationFiles=/Users/monica/Development/tempspace/languages/javafx/photo-raw/target/gluonfx/x86_64-darwin/gvm/jniconfig-x86_64-darwin.json -H:ResourceConfigurationFiles=/Users/monica/Development/tempspace/languages/javafx/photo-raw/target/gluonfx/x86_64-darwin/gvm/resourceconfig-x86_64-darwin.json -H:IncludeResourceBundles=com/sun/javafx/scene/control/skin/resources/controls,com/sun/javafx/scene/control/skin/resources/controls-nt,com.sun.javafx.tk.quantum.QuantumMessagesBundle -Dsvm.platform=org.graalvm.nativeimage.Platform$DARWIN_AMD64 -cp /Users/monica/Development/devenv/builder/maven/repository/com/gluonhq/substrate/0.0.61/substrate-0.0.61.jar:/Users/monica/Development/tempspace/languages/javafx/photo-raw/target/gluonfx/x86_64-darwin/gvm/tmp/classpathJar.jar com.demos.photoraw.AppLaunch
[周四 2月 29 22:31:35 CST 2024][详细] Start process compile...
[周四 2月 29 22:31:35 CST 2024][信息] [SUB] Warning: Ignoring server-mode native-image argument --no-server.
[周四 2月 29 22:31:35 CST 2024][信息] [SUB] Warning: The option '-H:ResourceConfigurationFiles=/Users/monica/Development/tempspace/languages/javafx/photo-raw/target/gluonfx/x86_64-darwin/gvm/resourceconfig-x86_64-darwin.json' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions' in the future.
[周四 2月 29 22:31:35 CST 2024][信息] [SUB] Warning: The option '-H:JNIConfigurationFiles=/Users/monica/Development/tempspace/languages/javafx/photo-raw/target/gluonfx/x86_64-darwin/gvm/jniconfig-x86_64-darwin.json' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions' in the future.
[周四 2月 29 22:31:35 CST 2024][信息] [SUB] Warning: The option '-H:IncludeResourceBundles=com/sun/javafx/scene/control/skin/resources/controls,com/sun/javafx/scene/control/skin/resources/controls-nt,com.sun.javafx.tk.quantum.QuantumMessagesBundle' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions' in the future.
[周四 2月 29 22:31:35 CST 2024][信息] [SUB] Warning: The option '-H:ReflectionConfigurationFiles=/Users/monica/Development/tempspace/languages/javafx/photo-raw/target/gluonfx/x86_64-darwin/gvm/reflectionconfig-x86_64-darwin.json' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions' in the future.
[周四 2月 29 22:31:35 CST 2024][信息] [SUB] Warning: The option '-H:-DeadlockWatchdogExitOnTimeout' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions' in the future.
[周四 2月 29 22:31:35 CST 2024][信息] [SUB] Warning: The option '-H:+ExitAfterRelocatableImageWrite' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions' in the future.
[周四 2月 29 22:31:35 CST 2024][信息] [SUB] Warning: The option '-H:TempDirectory=/Users/monica/Development/tempspace/languages/javafx/photo-raw/target/gluonfx/x86_64-darwin/gvm/tmp' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions' in the future.
[周四 2月 29 22:31:35 CST 2024][信息] [SUB] Warning: The option '-H:EnableURLProtocols=http,https' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions' in the future.
[周四 2月 29 22:31:35 CST 2024][信息] [SUB] Warning: The option '-H:+SharedLibrary' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions' in the future.
[周四 2月 29 22:31:35 CST 2024][信息] [SUB] Warning: The option '-H:DeadlockWatchdogInterval=0' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions' in the future.
[周四 2月 29 22:31:35 CST 2024][信息] [SUB] Warning: The option '-H:+RemoveSaturatedTypeFlows' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions' in the future.
[周四 2月 29 22:31:35 CST 2024][信息] [SUB] Warning: Please re-evaluate whether any experimental option is required, and either remove or unlock it. The build output lists all active experimental options, including where they come from and possible alternatives. If you think an experimental option should be considered as stable, please file an issue.
[周四 2月 29 22:31:37 CST 2024][信息] [SUB] Error: Could not instantiate platform class org.graalvm.nativeimage.Platform$DARWIN_AMD64. Ensure the class is not abstract and has a no-argument constructor.
[周四 2月 29 22:31:37 CST 2024][详细] Result for compile: 1
[周四 2月 29 22:31:37 CST 2024][严重] Process compile failed with result: 1
Check the log files under /Users/monica/Development/tempspace/languages/javafx/photo-raw/target/gluonfx/x86_64-darwin/gvm/log
And please check https://docs.gluonhq.com/ for more information.
[周四 2月 29 22:31:37 CST 2024][信息] Logging process [compile] to file: /Users/monica/Development/tempspace/languages/javafx/photo-raw/target/gluonfx/log/process-compile-1709217097316.log
[周四 2月 29 22:31:37 CST 2024][严重] Compiling failed.
Check the log files under /Users/monica/Development/tempspace/languages/javafx/photo-raw/target/gluonfx/x86_64-darwin/gvm/log
And please check https://docs.gluonhq.com/ for more information.
[周四 2月 29 22:32:14 CST 2024][信息] ==================== COMPILE TASK ====================
[周四 2月 29 22:32:16 CST 2024][信息] We will now compile your code for x86_64-apple-darwin. This may take some time.
[周四 2月 29 22:32:16 CST 2024][详细] Extracting native libs to: /Users/monica/Development/tempspace/languages/javafx/photo-raw/target/gluonfx/x86_64-darwin/gvm/lib
[周四 2月 29 22:32:16 CST 2024][详细] Looking for resource: /native/macosx/AppDelegate.m
[周四 2月 29 22:32:16 CST 2024][详细] Looking for resource: /native/macosx/launcher.c
[周四 2月 29 22:32:16 CST 2024][详细] PB Command for compile-additional-sources: gcc -c -DSUBSTRATE -mmacosx-version-min=10.12 -I/Users/monica/Development/tempspace/languages/javafx/photo-raw/target/gluonfx/x86_64-darwin/gvm/photo-raw AppDelegate.m launcher.c
[周四 2月 29 22:32:16 CST 2024][详细] Start process compile-additional-sources...
[周四 2月 29 22:32:18 CST 2024][详细] Result for compile-additional-sources: 0
[周四 2月 29 22:32:18 CST 2024][详细] Copied resource /Users/monica/Development/tempspace/languages/javafx/photo-raw/target/classes/module-info.class to /var/folders/1f/2pdjh2xj3bqd0c2h6xyz99b80000gn/T/classes16797921818218166747/module-info.class
[周四 2月 29 22:32:18 CST 2024][详细] Copied resource /Users/monica/Development/tempspace/languages/javafx/photo-raw/target/classes/com/demos/photoraw/AppLaunch.class to /var/folders/1f/2pdjh2xj3bqd0c2h6xyz99b80000gn/T/classes16797921818218166747/com/demos/photoraw/AppLaunch.class
[周四 2月 29 22:32:18 CST 2024][详细] PB Command for jar: /Users/monica/.sdkman/candidates/java/current/bin/jar cf /var/folders/1f/2pdjh2xj3bqd0c2h6xyz99b80000gn/T/classes16797921818218166747/classes.jar -C /var/folders/1f/2pdjh2xj3bqd0c2h6xyz99b80000gn/T/classes16797921818218166747 .
[周四 2月 29 22:32:18 CST 2024][详细] Start process jar...
[周四 2月 29 22:32:18 CST 2024][详细] Result for jar: 0
[周四 2月 29 22:32:18 CST 2024][详细] Scanning for init build time files
[周四 2月 29 22:32:18 CST 2024][详细] Scanning /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.base.jar
[周四 2月 29 22:32:18 CST 2024][详细] Scanning /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.controls.jar
[周四 2月 29 22:32:18 CST 2024][详细] Scanning /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.graphics.jar
[周四 2月 29 22:32:18 CST 2024][详细] Scanning /var/folders/1f/2pdjh2xj3bqd0c2h6xyz99b80000gn/T/classes16797921818218166747/classes.jar
[周四 2月 29 22:32:18 CST 2024][详细] Scanning for reflection files
[周四 2月 29 22:32:18 CST 2024][详细] Scanning /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.base.jar
[周四 2月 29 22:32:18 CST 2024][详细] Adding classes from /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.base.jar::META-INF/substrate/config/reflectionconfig.json
[周四 2月 29 22:32:18 CST 2024][详细] Scanning /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.controls.jar
[周四 2月 29 22:32:18 CST 2024][详细] Adding classes from /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.controls.jar::META-INF/substrate/config/reflectionconfig.json
[周四 2月 29 22:32:18 CST 2024][详细] Scanning /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.graphics.jar
[周四 2月 29 22:32:18 CST 2024][详细] Adding classes from /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.graphics.jar::META-INF/substrate/config/reflectionconfig-x86_64-darwin.json
[周四 2月 29 22:32:18 CST 2024][详细] Adding classes from /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.graphics.jar::META-INF/substrate/config/reflectionconfig.json
[周四 2月 29 22:32:18 CST 2024][详细] Scanning /var/folders/1f/2pdjh2xj3bqd0c2h6xyz99b80000gn/T/classes16797921818218166747/classes.jar
[周四 2月 29 22:32:18 CST 2024][详细] Scanning for JNI files
[周四 2月 29 22:32:18 CST 2024][详细] Scanning /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.base.jar
[周四 2月 29 22:32:18 CST 2024][详细] Scanning /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.controls.jar
[周四 2月 29 22:32:18 CST 2024][详细] Scanning /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.graphics.jar
[周四 2月 29 22:32:18 CST 2024][详细] Adding classes from /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.graphics.jar::META-INF/substrate/config/jniconfig-x86_64-darwin.json
[周四 2月 29 22:32:18 CST 2024][详细] Adding classes from /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.graphics.jar::META-INF/substrate/config/jniconfig.json
[周四 2月 29 22:32:18 CST 2024][详细] Scanning /var/folders/1f/2pdjh2xj3bqd0c2h6xyz99b80000gn/T/classes16797921818218166747/classes.jar
[周四 2月 29 22:32:18 CST 2024][详细] Scanning for resource files
[周四 2月 29 22:32:18 CST 2024][详细] Scanning /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.base.jar
[周四 2月 29 22:32:18 CST 2024][详细] Scanning /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.controls.jar
[周四 2月 29 22:32:18 CST 2024][详细] Scanning /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.graphics.jar
[周四 2月 29 22:32:18 CST 2024][详细] Scanning /var/folders/1f/2pdjh2xj3bqd0c2h6xyz99b80000gn/T/classes16797921818218166747/classes.jar
[周四 2月 29 22:32:18 CST 2024][详细] Copied resource /Users/monica/Development/tempspace/languages/javafx/photo-raw/target/classes/module-info.class to /var/folders/1f/2pdjh2xj3bqd0c2h6xyz99b80000gn/T/classes8996066189581896756/module-info.class
[周四 2月 29 22:32:18 CST 2024][详细] Copied resource /Users/monica/Development/tempspace/languages/javafx/photo-raw/target/classes/com/demos/photoraw/AppLaunch.class to /var/folders/1f/2pdjh2xj3bqd0c2h6xyz99b80000gn/T/classes8996066189581896756/com/demos/photoraw/AppLaunch.class
[周四 2月 29 22:32:18 CST 2024][详细] PB Command for jar: /Users/monica/.sdkman/candidates/java/current/bin/jar cf /var/folders/1f/2pdjh2xj3bqd0c2h6xyz99b80000gn/T/classes8996066189581896756/classes.jar -C /var/folders/1f/2pdjh2xj3bqd0c2h6xyz99b80000gn/T/classes8996066189581896756 .
[周四 2月 29 22:32:18 CST 2024][详细] Start process jar...
[周四 2月 29 22:32:18 CST 2024][详细] Result for jar: 0
[周四 2月 29 22:32:18 CST 2024][详细] Scanning for resource bundles
[周四 2月 29 22:32:18 CST 2024][详细] Scanning /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.base.jar
[周四 2月 29 22:32:18 CST 2024][详细] Scanning /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.controls.jar
[周四 2月 29 22:32:18 CST 2024][详细] Adding classes from /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.controls.jar::META-INF/substrate/config/resourcebundles
[周四 2月 29 22:32:18 CST 2024][详细] Scanning /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.graphics.jar
[周四 2月 29 22:32:18 CST 2024][详细] Adding classes from /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.graphics.jar::META-INF/substrate/config/resourcebundles
[周四 2月 29 22:32:18 CST 2024][详细] Scanning /var/folders/1f/2pdjh2xj3bqd0c2h6xyz99b80000gn/T/classes8996066189581896756/classes.jar
[周四 2月 29 22:32:18 CST 2024][详细] Copied resource /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.base.jar to /Users/monica/Development/tempspace/languages/javafx/photo-raw/target/gluonfx/x86_64-darwin/gvm/tmp/deps/javafx.base.jar
[周四 2月 29 22:32:18 CST 2024][详细] Copied resource /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.controls.jar to /Users/monica/Development/tempspace/languages/javafx/photo-raw/target/gluonfx/x86_64-darwin/gvm/tmp/deps/javafx.controls.jar
[周四 2月 29 22:32:18 CST 2024][详细] Copied resource /Users/monica/.gluon/substrate/javafxStaticSdk/21-ea+11.1/darwin-x86_64/sdk/lib/javafx.graphics.jar to /Users/monica/Development/tempspace/languages/javafx/photo-raw/target/gluonfx/x86_64-darwin/gvm/tmp/deps/javafx.graphics.jar
[周四 2月 29 22:32:18 CST 2024][详细] Class-Path manifest entry for pathing jar: ../../../../classes deps/javafx.base.jar deps/javafx.controls.jar deps/javafx.graphics.jar
[周四 2月 29 22:32:18 CST 2024][详细] Pathing jar created at /Users/monica/Development/tempspace/languages/javafx/photo-raw/target/gluonfx/x86_64-darwin/gvm/tmp/classpathJar.jar
[周四 2月 29 22:32:18 CST 2024][详细] PB Command for compile: /Library/Java/JavaVirtualMachines/graalvm-community-openjdk-21.0.2+13.1/Contents/Home/bin/native-image -Djdk.internal.lambda.eagerlyInitialize=false --no-server -H:+SharedLibrary -H:+AddAllCharsets -H:+ReportExceptionStackTraces -H:-DeadlockWatchdogExitOnTimeout -H:DeadlockWatchdogInterval=0 -H:+RemoveSaturatedTypeFlows -H:+ExitAfterRelocatableImageWrite -H:TempDirectory=/Users/monica/Development/tempspace/languages/javafx/photo-raw/target/gluonfx/x86_64-darwin/gvm/tmp -H:EnableURLProtocols=http,https -H:ReflectionConfigurationFiles=/Users/monica/Development/tempspace/languages/javafx/photo-raw/target/gluonfx/x86_64-darwin/gvm/reflectionconfig-x86_64-darwin.json -H:JNIConfigurationFiles=/Users/monica/Development/tempspace/languages/javafx/photo-raw/target/gluonfx/x86_64-darwin/gvm/jniconfig-x86_64-darwin.json -H:ResourceConfigurationFiles=/Users/monica/Development/tempspace/languages/javafx/photo-raw/target/gluonfx/x86_64-darwin/gvm/resourceconfig-x86_64-darwin.json -H:IncludeResourceBundles=com/sun/javafx/scene/control/skin/resources/controls,com/sun/javafx/scene/control/skin/resources/controls-nt,com.sun.javafx.tk.quantum.QuantumMessagesBundle -Dsvm.platform=org.graalvm.nativeimage.Platform$DARWIN_AMD64 -cp /Users/monica/Development/devenv/builder/maven/repository/com/gluonhq/substrate/0.0.61/substrate-0.0.61.jar:/Users/monica/Development/tempspace/languages/javafx/photo-raw/target/gluonfx/x86_64-darwin/gvm/tmp/classpathJar.jar com.demos.photoraw.AppLaunch
[周四 2月 29 22:32:18 CST 2024][详细] Start process compile...
[周四 2月 29 22:32:19 CST 2024][信息] [SUB] Warning: Ignoring server-mode native-image argument --no-server.
[周四 2月 29 22:32:19 CST 2024][信息] [SUB] Warning: The option '-H:ResourceConfigurationFiles=/Users/monica/Development/tempspace/languages/javafx/photo-raw/target/gluonfx/x86_64-darwin/gvm/resourceconfig-x86_64-darwin.json' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions' in the future.
[周四 2月 29 22:32:19 CST 2024][信息] [SUB] Warning: The option '-H:JNIConfigurationFiles=/Users/monica/Development/tempspace/languages/javafx/photo-raw/target/gluonfx/x86_64-darwin/gvm/jniconfig-x86_64-darwin.json' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions' in the future.
[周四 2月 29 22:32:19 CST 2024][信息] [SUB] Warning: The option '-H:IncludeResourceBundles=com/sun/javafx/scene/control/skin/resources/controls,com/sun/javafx/scene/control/skin/resources/controls-nt,com.sun.javafx.tk.quantum.QuantumMessagesBundle' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions' in the future.
[周四 2月 29 22:32:19 CST 2024][信息] [SUB] Warning: The option '-H:ReflectionConfigurationFiles=/Users/monica/Development/tempspace/languages/javafx/photo-raw/target/gluonfx/x86_64-darwin/gvm/reflectionconfig-x86_64-darwin.json' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions' in the future.
[周四 2月 29 22:32:19 CST 2024][信息] [SUB] Warning: The option '-H:-DeadlockWatchdogExitOnTimeout' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions' in the future.
[周四 2月 29 22:32:19 CST 2024][信息] [SUB] Warning: The option '-H:+ExitAfterRelocatableImageWrite' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions' in the future.
[周四 2月 29 22:32:19 CST 2024][信息] [SUB] Warning: The option '-H:TempDirectory=/Users/monica/Development/tempspace/languages/javafx/photo-raw/target/gluonfx/x86_64-darwin/gvm/tmp' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions' in the future.
[周四 2月 29 22:32:19 CST 2024][信息] [SUB] Warning: The option '-H:EnableURLProtocols=http,https' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions' in the future.
[周四 2月 29 22:32:19 CST 2024][信息] [SUB] Warning: The option '-H:+SharedLibrary' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions' in the future.
[周四 2月 29 22:32:19 CST 2024][信息] [SUB] Warning: The option '-H:DeadlockWatchdogInterval=0' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions' in the future.
[周四 2月 29 22:32:19 CST 2024][信息] [SUB] Warning: The option '-H:+RemoveSaturatedTypeFlows' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions' in the future.
[周四 2月 29 22:32:19 CST 2024][信息] [SUB] Warning: Please re-evaluate whether any experimental option is required, and either remove or unlock it. The build output lists all active experimental options, including where they come from and possible alternatives. If you think an experimental option should be considered as stable, please file an issue.
[周四 2月 29 22:32:20 CST 2024][信息] [SUB] Error: Could not instantiate platform class org.graalvm.nativeimage.Platform$DARWIN_AMD64. Ensure the class is not abstract and has a no-argument constructor.
[周四 2月 29 22:32:20 CST 2024][详细] Result for compile: 1
[周四 2月 29 22:32:20 CST 2024][严重] Process compile failed with result: 1
Check the log files under /Users/monica/Development/tempspace/languages/javafx/photo-raw/target/gluonfx/x86_64-darwin/gvm/log
And please check https://docs.gluonhq.com/ for more information.
[周四 2月 29 22:32:20 CST 2024][信息] Logging process [compile] to file: /Users/monica/Development/tempspace/languages/javafx/photo-raw/target/gluonfx/log/process-compile-1709217140476.log
[周四 2月 29 22:32:20 CST 2024][严重] Compiling failed.
Check the log files under /Users/monica/Development/tempspace/languages/javafx/photo-raw/target/gluonfx/x86_64-darwin/gvm/log
And please check https://docs.gluonhq.com/ for more information.

pom.xml :

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <groupId>com.demos</groupId>
    <artifactId>photo-raw</artifactId>
    <version>1.0.0</version>

    <packaging>jar</packaging>

    <name>photo-raw</name>

    <properties>
        <charset>UTF-8</charset>
        <java.version>21</java.version>
        <javafx.version>21.0.2</javafx.version>
        <project.build.sourceEncoding>${charset}</project.build.sourceEncoding>
        <project.reporting.outputEncoding>${charset}</project.reporting.outputEncoding>
        <maven.compiler.source>${java.version}</maven.compiler.source>
        <maven.compiler.target>${java.version}</maven.compiler.target>
        <junit.version>5.10.1</junit.version>
        <maven-compiler-plugin.version>3.12.1</maven-compiler-plugin.version>
        <javafx-maven-plugin.version>0.0.8</javafx-maven-plugin.version>
        <gluonfx.maven.plugin.version>1.0.22</gluonfx.maven.plugin.version>
        <javafx.staticSdk.version>21-ea+11.1</javafx.staticSdk.version>
        <graalvmHome>/Library/Java/JavaVirtualMachines/graalvm-community-openjdk-21.0.2+13.1/Contents/Home</graalvmHome>
        <mainClass>com.demos.photoraw/com.demos.photoraw.AppLaunch</mainClass>
    </properties>

    <dependencies>
        <dependency>
            <groupId>org.openjfx</groupId>
            <artifactId>javafx-controls</artifactId>
            <version>${javafx.version}</version>
        </dependency>
    </dependencies>

    <build>
        <sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
        <testSourceDirectory>${project.basedir}/src/test/java</testSourceDirectory>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>${maven-compiler-plugin.version}</version>
                <configuration>
                    <source>${java.version}</source>
                    <target>${java.version}</target>
                    <release>${java.version}</release>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.openjfx</groupId>
                <artifactId>javafx-maven-plugin</artifactId>
                <version>${javafx-maven-plugin.version}</version>
                <executions>
                    <execution>
                        <!-- Default configuration for running with: mvn clean javafx:run -->
                        <id>default-cli</id>
                        <configuration>
                            <mainClass>${mainClass}</mainClass>
                            <launcher>app</launcher>
                            <jlinkZipName>app</jlinkZipName>
                            <jlinkImageName>app</jlinkImageName>
                            <noManPages>true</noManPages>
                            <stripDebug>true</stripDebug>
                            <noHeaderFiles>true</noHeaderFiles>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>com.gluonhq</groupId>
                <artifactId>gluonfx-maven-plugin</artifactId>
                <version>${gluonfx.maven.plugin.version}</version>
                <configuration>
                    <target>host</target>
                    <mainClass>${mainClass}</mainClass>
                    <javafxStaticSdkVersion>${javafx.staticSdk.version}</javafxStaticSdkVersion>
                    <graalvmHome>${graalvmHome}</graalvmHome>
                    <attachList>
                        <list>display</list>
                        <list>lifecycle</list>
                        <list>statusbar</list>
                        <list>storage</list>
                    </attachList>
                    <reflectionList>
                    </reflectionList>
                </configuration>
                <executions>
                    <execution>
                        <goals>
                            <goal>build</goal>
                        </goals>
                        <phase>package</phase>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>
WowYouCanReallyDance commented 7 months ago

So, is that something wrong while resolving polymorphic of class org.graalvm.nativeimage.Platform$DARWIN_AMD64?

fin-steenbjerg-jyskebank-dk commented 3 weeks ago

I am experiencing the same problem. Did you get it solved?

ctoabidmaqbool commented 3 weeks ago

Make sure, latest stable version is 1.0.23

<gluonfx.maven.plugin.version>1.0.23</gluonfx.maven.plugin.version>
<attach.version>4.0.21</attach.version>

and for graalvm is GraalVM CE Gluon 22.1.0.1-Final

also good practice before making native compilation:

mvn gluonfx:runagent