You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
root@a5cf12e88a3d:~/data-weave-cli# GRAALVM_HOME=${PWD}/.graalvm/graalvm-ce-java11-22.2.0/ JAVA_HOME=${PWD}/.graalvm/graalvm-ce-java11-22.2.0/ ./gradlew native-cli:nativeCompile
> Configure project :native-cli
Generating Versions File.
> Task :native-cli:compileScala
[Error] /root/data-weave-cli/native-cli/src/main/scala/org/mule/weave/dwnative/cli/commands/RunWeaveCommand.scala:98:18: overloaded method value apply with alternatives:
(value: org.mule.weave.v2.model.structure.ObjectSeq)org.mule.weave.v2.model.values.ObjectValue <and>
(value: Array[org.mule.weave.v2.model.structure.KeyValuePair])org.mule.weave.v2.model.values.ObjectValue
cannot be applied to (scala.collection.immutable.IndexedSeq[org.mule.weave.v2.model.structure.KeyValuePair])
one error found
> Task :native-cli:compileScala FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':native-cli:compileScala'.
> Compilation failed
* 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
BUILD FAILED in 6s
2 actionable tasks: 1 executed, 1 up-to-date
Expected behavior
Builded project
Desktop
host
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.1 LTS
Release: 22.04
Codename: jammy
===
docker --version
Docker version 20.10.12, build 20.10.12-0ubuntu4
docker containers
docker pull ubuntu:22.04
22.04: Pulling from library/ubuntu
Digest: sha256:4b1d0c4a2d2aaf63b37111f34eb9fa89fa1bf53dd6e4ca954d47caebca4005c2
Status: Image is up to date for ubuntu:22.04
docker.io/library/ubuntu:22.04
===
docker pull ubuntu:22.10
22.10: Pulling from library/ubuntu
Digest: sha256:edc5125bd9443ab5d5c92096cf0e481f5e8cb12db9f5461ab1ab7a936c7f7d30
Status: Image is up to date for ubuntu:22.10
docker.io/library/ubuntu:22.10
The text was updated successfully, but these errors were encountered:
Describe the bug
Can't compile project due to an error
RunWeaveCommand.scala:98:18: overloaded method value apply with alternatives
To Reproduce
You can choose one of images:
ubuntu:22.04
orubuntu:22.10
or
And run commands in container:
Compile logs
Expected behavior
Builded project
Desktop
host
===
docker containers
===
The text was updated successfully, but these errors were encountered: