micronaut-creating-first-graal-app's Introduction
micronaut-creating-first-graal-app's People
Forkers
musketyr hashimati dcalap mageddo sneakythr0ws gaybro8777 haberth wtfjoke patouche salvadorcortes debuglevel maheshwarligade rod2j dfrt82 jeevanjoseph darthsideriusmicronaut-creating-first-graal-app's Issues
Update to GraalVM 1.0-rc7
gradle build of 'initial' project fails at 'Could not find io.micronaut:bom:1.0.0-SNAPSHOT.'
> ./gradlew build
Starting a Gradle Daemon (subsequent builds will be faster)
Download https://plugins.gradle.org/m2/net/ltgt/gradle/gradle-apt-plugin/0.15/gradle-apt-plugin-0.15.pom
Download https://plugins.gradle.org/m2/com/github/jengelman/gradle/plugins/shadow/2.0.4/shadow-2.0.4.pom
Download https://repo.maven.apache.org/maven2/org/codehaus/groovy/groovy-backports-compat23/2.4.4/groovy-backports-compat23-2.4.4.pom
Download https://repo.maven.apache.org/maven2/org/codehaus/groovy/groovy-backports-compat23/2.4.4/groovy-backports-compat23-2.4.4.jar
Download https://plugins.gradle.org/m2/com/github/jengelman/gradle/plugins/shadow/2.0.4/shadow-2.0.4.jar
Download https://plugins.gradle.org/m2/net/ltgt/gradle/gradle-apt-plugin/0.15/gradle-apt-plugin-0.15.jar
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':shadowJar'.
> Could not resolve all dependencies for configuration ':detachedConfiguration1'.
> Could not find io.micronaut:bom:1.0.0-SNAPSHOT.
Searched in the following locations:
file:/Users/guest/.m2/repository/io/micronaut/bom/1.0.0-SNAPSHOT/maven-metadata.xml
file:/Users/guest/.m2/repository/io/micronaut/bom/1.0.0-SNAPSHOT/bom-1.0.0-SNAPSHOT.pom
file:/Users/guest/.m2/repository/io/micronaut/bom/1.0.0-SNAPSHOT/bom-1.0.0-SNAPSHOT.pom
https://repo.maven.apache.org/maven2/io/micronaut/bom/1.0.0-SNAPSHOT/maven-metadata.xml
https://repo.maven.apache.org/maven2/io/micronaut/bom/1.0.0-SNAPSHOT/bom-1.0.0-SNAPSHOT.pom
https://repo.maven.apache.org/maven2/io/micronaut/bom/1.0.0-SNAPSHOT/bom-1.0.0-SNAPSHOT.pom
Required by:
project :
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
See https://docs.gradle.org/4.6/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 11s
OutOfMemory Error when building the project with Docker
./gradlew assemble
./docker-build.sh
[micronaut-graal-app:27] classlist: 9,286.57 ms, 1.11 GB
[micronaut-graal-app:27] (cap): 911.42 ms, 1.13 GB
[micronaut-graal-app:27] setup: 2,621.70 ms, 1.13 GB
[micronaut-graal-app:27] (clinit): 864.16 ms, 1.49 GB
[micronaut-graal-app:27] (typeflow): 16,112.87 ms, 1.49 GB
[micronaut-graal-app:27] (objects): 18,721.41 ms, 1.49 GB
[micronaut-graal-app:27] (features): 2,877.68 ms, 1.49 GB
[micronaut-graal-app:27] analysis: 40,802.49 ms, 1.49 GB
[micronaut-graal-app:27] universe: 1,849.98 ms, 1.46 GB
[micronaut-graal-app:27] (parse): 21,785.17 ms, 1.36 GB
Exception in thread "native-image pid watcher" java.lang.OutOfMemoryError: Java heap space
[micronaut-graal-app:27] (inline): 1,326,066.84 ms, 1.36 GB
[micronaut-graal-app:27] compile: 1,607,428.12 ms, 1.36 GB
Exception in thread "Libgraal MBean Registration" java.lang.OutOfMemoryError: Java heap space
4 fatal errors detected:
Fatal error:org.graalvm.compiler.debug.GraalError: java.lang.OutOfMemoryError: Java heap space
at method: void org.graalvm.collections.EconomicMapImpl.createHash()
at com.oracle.svm.hosted.code.CompileQueue.doInlineTrivial(CompileQueue.java:599)
at com.oracle.svm.hosted.code.CompileQueue.access$000(CompileQueue.java:156)
at com.oracle.svm.hosted.code.CompileQueue$TrivialInlineTask.run(CompileQueue.java:284)
at com.oracle.graal.pointsto.util.CompletionExecutor.lambda$execute$0(CompletionExecutor.java:173)
at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1402)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:163)
Caused by: java.lang.OutOfMemoryError: Java heap space
at sun.misc.Unsafe.allocateInstance(Native Method)
at org.graalvm.compiler.graph.Node.clone(Node.java:1119)
at org.graalvm.compiler.graph.NodeClass.createNodeDuplicates(NodeClass.java:921)
at org.graalvm.compiler.graph.NodeClass.addGraphDuplicate(NodeClass.java:870)
at org.graalvm.compiler.graph.Graph.addDuplicates(Graph.java:1240)
at org.graalvm.compiler.phases.common.inlining.InliningUtil.inline(InliningUtil.java:430)
at org.graalvm.compiler.phases.common.inlining.InliningUtil.inline(InliningUtil.java:344)
at com.oracle.svm.hosted.code.CompileQueue.tryInlineTrivial(CompileQueue.java:616)
at com.oracle.svm.hosted.code.CompileQueue.doInlineTrivial(CompileQueue.java:581)
at com.oracle.svm.hosted.code.CompileQueue.access$000(CompileQueue.java:156)
at com.oracle.svm.hosted.code.CompileQueue$TrivialInlineTask.run(CompileQueue.java:284)
at com.oracle.graal.pointsto.util.CompletionExecutor.lambda$execute$0(CompletionExecutor.java:173)
at com.oracle.graal.pointsto.util.CompletionExecutor$$Lambda$241/1598657329.run(Unknown Source)
... 5 more
Fatal error:org.graalvm.compiler.debug.GraalError: java.lang.OutOfMemoryError: Java heap space
at method: void javax.security.auth.login.LoginContext.invoke(String)
at com.oracle.svm.hosted.code.CompileQueue.doInlineTrivial(CompileQueue.java:599)
at com.oracle.svm.hosted.code.CompileQueue.access$000(CompileQueue.java:156)
at com.oracle.svm.hosted.code.CompileQueue$TrivialInlineTask.run(CompileQueue.java:284)
at com.oracle.graal.pointsto.util.CompletionExecutor.lambda$execute$0(CompletionExecutor.java:173)
at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1402)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:163)
Caused by: java.lang.OutOfMemoryError: Java heap space
Fatal error:org.graalvm.compiler.debug.GraalError: java.lang.OutOfMemoryError: Java heap space
at method: int org.graalvm.collections.EconomicMapImpl.findAndRemoveWithCollision(Object, EconomicMapImpl$CollisionLink, int)
The `complete` app does not build
Not sure If I'm missing something here, but I cloned the repo, moved to the complete dire, and ran ./gradlew build
and git hit by basic dependency resolution issues :
./gradlew build
Downloading https://services.gradle.org/distributions/gradle-6.5-bin.zip
.................................................................................................
Welcome to Gradle 6.5!
Here are the highlights of this release:
- Experimental file-system watching
- Improved version ordering
- New samples
For more details see https://docs.gradle.org/6.5/release-notes.html
Starting a Gradle Daemon, 1 stopped Daemon could not be reused, use --status for details
> Task :complete:compileJava FAILED
/Users/jgjoseph/dev/micronaut-creating-first-graal-app/complete/src/main/java/example/micronaut/Application.java:3: error: package io.micronaut.runtime does not exist
import io.micronaut.runtime.Micronaut;
^
/Users/jgjoseph/dev/micronaut-creating-first-graal-app/complete/src/main/java/example/micronaut/ConferenceService.java:3: error: package javax.inject does not exist
import javax.inject.Singleton;
^
/Users/jgjoseph/dev/micronaut-creating-first-graal-app/complete/src/main/java/example/micronaut/ConferenceService.java:8: error: cannot find symbol
@Singleton // <1>
^
symbol: class Singleton
/Users/jgjoseph/dev/micronaut-creating-first-graal-app/complete/src/main/java/example/micronaut/Conference.java:3: error: package io.micronaut.core.annotation does not exist
import io.micronaut.core.annotation.Introspected;
Adding the native Image task to the basic application creates a native image for that though.
oracle/graalvm-ce docker image does not exist anymore
The oracle/graalvm-ce
image does not seem to exist anymore.
Gradle assemble fails on Windows 10 WSL
Steps to reproduce
git clone https://github.com/micronaut-guides/micronaut-creating-first-graal-app.git
./gradlew assemble
Build failed both on Windows 10 (1809, JDK11) and Windows Subsystem for Linux. I am posting the WSL output, because in Windows native, I don't even get that far.
Environment
โ micronaut-creating-first-graal-app git:(master) java --version openjdk 10.0.2 2018-07-17 OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4) OpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4, mixed mode)
Output
10:06:40.300 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClientConnection] thread 1: dispatching class org.gradle.launcher.daemon.protocol.Finished
10:06:40.308 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClientConnection] thread 1: connection stop
โ micronaut-creating-first-graal-app git:(master) ./gradlew assemble --stacktrace
Task :complete:compileJava FAILED
FAILURE: Build failed with an exception.
- What went wrong:
Could not resolve all files for configuration ':complete:compileClasspath'.
Could not find com.oracle.substratevm:svm:GraalVM-1.0.0-rc7.
Required by:
project :complete
-
Try:
Run with --info or --debug option to get more log output. Run with --scan to get full insights. -
Exception is:
org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':complete:compileClasspath'.
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.rethrowFailure(DefaultConfiguration.java:995)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.access$1700(DefaultConfiguration.java:121)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration$ConfigurationFileCollection.getFiles(DefaultConfiguration.java:969)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.getFiles(DefaultConfiguration.java:428)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration_Decorated.getFiles(Unknown Source)
at org.gradle.api.internal.file.AbstractFileCollection.iterator(AbstractFileCollection.java:70)
at org.gradle.api.internal.changedetection.state.AbstractFileCollectionSnapshotter$FileCollectionVisitorImpl.visitCollection(AbstractFileCollectionSnapshotter.java:72)
at org.gradle.api.internal.file.AbstractFileCollection.visitRootElements(AbstractFileCollection.java:238)
at org.gradle.api.internal.file.CompositeFileCollection.visitRootElements(CompositeFileCollection.java:185)
at org.gradle.api.internal.changedetection.state.AbstractFileCollectionSnapshotter.snapshot(AbstractFileCollectionSnapshotter.java:55)
at org.gradle.api.internal.changedetection.state.DefaultCompileClasspathSnapshotter.snapshot(DefaultCompileClasspathSnapshotter.java:38)
at org.gradle.api.internal.changedetection.state.CacheBackedTaskHistoryRepository.snapshotTaskFiles(CacheBackedTaskHistoryRepository.java:334)
at org.gradle.api.internal.changedetection.state.CacheBackedTaskHistoryRepository.createExecution(CacheBackedTaskHistoryRepository.java:156)
at org.gradle.api.internal.changedetection.state.CacheBackedTaskHistoryRepository.access$100(CacheBackedTaskHistoryRepository.java:66)
at org.gradle.api.internal.changedetection.state.CacheBackedTaskHistoryRepository$1.getCurrentExecution(CacheBackedTaskHistoryRepository.java:116)
at org.gradle.api.internal.changedetection.changes.DefaultTaskArtifactStateRepository$TaskArtifactStateImpl.getStates(DefaultTaskArtifactStateRepository.java:208)
at org.gradle.api.internal.changedetection.changes.DefaultTaskArtifactStateRepository$TaskArtifactStateImpl.isUpToDate(DefaultTaskArtifactStateRepository.java:93)
at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:50)
at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:59)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:101)
at org.gradle.api.internal.tasks.execution.FinalizeInputFilePropertiesTaskExecuter.execute(FinalizeInputFilePropertiesTaskExecuter.java:44)
at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:91)
at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:62)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:59)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.run(DefaultTaskGraphExecuter.java:256)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:317)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:309)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:185)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:97)
at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:249)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:238)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:104)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:98)
at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.execute(DefaultTaskExecutionPlan.java:663)
at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.executeWithTask(DefaultTaskExecutionPlan.java:596)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.run(DefaultTaskPlanExecutor.java:98)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
Caused by: org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find com.oracle.substratevm:svm:GraalVM-1.0.0-rc7.
Required by:
project :complete
at org.gradle.internal.resolve.result.DefaultBuildableComponentResolveResult.notFound(DefaultBuildableComponentResolveResult.java:39)
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.RepositoryChainComponentMetaDataResolver.resolveModule(RepositoryChainComponentMetaDataResolver.java:108)
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.RepositoryChainComponentMetaDataResolver.resolve(RepositoryChainComponentMetaDataResolver.java:63)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.ComponentResolversChain$ComponentMetaDataResolverChain.resolve(ComponentResolversChain.java:94)
at org.gradle.api.internal.artifacts.ivyservice.clientmodule.ClientModuleResolver.resolve(ClientModuleResolver.java:60)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.builder.ComponentState.resolve(ComponentState.java:171)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.builder.ComponentState.getMetadata(ComponentState.java:125)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.builder.EdgeState.calculateTargetConfigurations(EdgeState.java:129)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.builder.EdgeState.attachToTargetConfigurations(EdgeState.java:96)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.builder.DependencyGraphBuilder.attachToTargetRevisionsSerially(DependencyGraphBuilder.java:386)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.builder.DependencyGraphBuilder.resolveEdges(DependencyGraphBuilder.java:196)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.builder.DependencyGraphBuilder.traverseGraph(DependencyGraphBuilder.java:149)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.builder.DependencyGraphBuilder.resolve(DependencyGraphBuilder.java:118)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.DefaultArtifactDependencyResolver.resolve(DefaultArtifactDependencyResolver.java:92)
at org.gradle.api.internal.artifacts.ivyservice.DefaultConfigurationResolver.resolveGraph(DefaultConfigurationResolver.java:150)
at org.gradle.api.internal.artifacts.ivyservice.ShortCircuitEmptyConfigurationResolver.resolveGraph(ShortCircuitEmptyConfigurationResolver.java:76)
at org.gradle.api.internal.artifacts.ivyservice.ErrorHandlingConfigurationResolver.resolveGraph(ErrorHandlingConfigurationResolver.java:66)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration$4.run(DefaultConfiguration.java:507)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:317)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:309)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:185)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:97)
at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.resolveGraphIfRequired(DefaultConfiguration.java:498)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.resolveToStateOrLater(DefaultConfiguration.java:483)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.access$1800(DefaultConfiguration.java:121)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration$ConfigurationFileCollection.getSelectedArtifacts(DefaultConfiguration.java:978)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration$ConfigurationFileCollection.getFiles(DefaultConfiguration.java:966)
... 41 more
* Get more help at https://help.gradle.org
BUILD FAILED in 2s
1 actionable task: 1 executed
@Introspection for kotlin data classes
Consider following example:
@Controller
class DataBodyController {
@Post("/")
fun render(@Body body: DataBody)
= HttpResponse.ok(body.templatel))
}
@Introspected
data class DataBody(
val template: String = "",
val model: MutableMap<String, Any> = mutableMapOf()
)
Without graal native compilation, this work correctly. However the native application returns:
09:15:10.791 [nioEventLoopGroup-2-2] DEBUG i.m.h.s.netty.RoutingInBoundHandler - Encoding emitted response object [ /body - Failed to convert argument [body] for value [null] due to: Cannot construct instance of `example.DataBody` (no Creators, like default construct, exist): cannot deserialize from Object value (no delegate- or property-based Creator)
at [Source: UNKNOWN; line: -1, column: -1]] using codec: io.micronaut.jackson.codec.JsonMediaTypeCodec@1199c8d20
I tried to do different setups, but none of it works correctly.
Native image generation fails on Mac OSX
I've cloned the repo, and tried the native image generation build script:
./docker-build.sh
Sending build context to Docker daemon 84.28MB
Step 1/8 : FROM oracle/graalvm-ce:1.0.0-rc13 as graalvm
1.0.0-rc13: Pulling from oracle/graalvm-ce
fed07aa15842: Pull complete
b93b95799f0a: Pull complete
1cbe863786bf: Pull complete
55a446b42fe7: Pull complete
28ac621c57f6: Pull complete
Digest: sha256:04a88e7aafd169d6f0d2a5053b57ed88aae71424bf7dbd9125969691d577133b
Status: Downloaded newer image for oracle/graalvm-ce:1.0.0-rc13
---> 0fa43a716f0f
Step 2/8 : COPY . /home/app/complete
---> 99dc03de361e
Step 3/8 : WORKDIR /home/app/complete
---> Running in 8059ba477ca4
Removing intermediate container 8059ba477ca4
---> 4a5e206fe11d
Step 4/8 : RUN ./build-native-image.sh
---> Running in 75e1c3ac2bff
Downloading https://services.gradle.org/distributions/gradle-5.1.1-bin.zip
.................................................................................
Welcome to Gradle 5.1.1!
Here are the highlights of this release:
- Control which dependencies can be retrieved from which repositories
- Production-ready configuration avoidance APIs
For more details see https://docs.gradle.org/5.1.1/release-notes.html
Starting a Gradle Daemon (subsequent builds will be faster)
> Task :compileJava
Note: Creating bean classes for 2 type elements
> Task :processResources
> Task :classes
> Task :jar
> Task :startScripts
> Task :distTar
> Task :distZip
> Task :shadowJar
> Task :startShadowScripts
> Task :shadowDistTar
> Task :shadowDistZip
> Task :assemble
BUILD SUCCESSFUL in 6m 48s
10 actionable tasks: 10 executed
Error: Could not find or load main class build.libs.complete-0.1.jar
Error: Invalid Path entry build/reflect.json
Caused by: java.nio.file.NoSuchFileException: /home/app/complete/build/reflect.json
The command '/bin/sh -c ./build-native-image.sh' returned a non-zero code: 1
To run the docker container execute:
$ docker run --network host complete
Though Gradle assumes the build has been successful, it's not, and the Docker image is not found locally.
Update to Micronaut 2.0
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.