Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Grallvm Failed #6128

Closed
yuluo-yx opened this issue Mar 6, 2023 · 5 comments
Closed

Upgrade Grallvm Failed #6128

yuluo-yx opened this issue Mar 6, 2023 · 5 comments
Assignees
Labels

Comments

@yuluo-yx
Copy link

yuluo-yx commented Mar 6, 2023

Reason

[ERROR] Failed to execute goal org.graalvm.buildtools:native-maven-plugin:0.9.19:compile (default-cli) on project nacos-config-example
: Execution default-cli of goal org.graalvm.buildtools:native-maven-plugin:0.9.19:compile failed: GraalVM version 22.3 is required but
 22.1 has been detected, please upgrade. -> [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/PluginExecutionException

reference

image
I executed the gu upgrade command using Cmd.

out

image

@yuluo-yx yuluo-yx added the bug label Mar 6, 2023
@marwan-hallaoui
Copy link
Contributor

Hello @yuluo-yx,
Thank you for reporting this issue.
Could you please try and share with us the output of the following command :
gu available --show-updates --edition ce
Then try to upgrade it with :
gu upgrade +22.3.0

Regards,

@marwan-hallaoui marwan-hallaoui self-assigned this Mar 6, 2023
@yuluo-yx
Copy link
Author

yuluo-yx commented Mar 7, 2023

你好@yuluo-yx, 感谢您报告此问题。 您能否尝试与我们分享以下命令的输出: gu available --show-updates --edition ce 然后尝试使用以下命令升级它: gu upgrade +22.3.0

问候,

I get the following feedback when executing in cmd.
image

@Jonh-Nash
Copy link

Jonh-Nash commented Mar 7, 2023

Hello.
I also faced the same issue.
In my case, I used sdkman to install graalvm.
So below is an example I ran to upgrade graalvm.

  • Find the latest graalvm
    • sdk list java
  • Install it
    • sdk install java 22.3.1.r17-grl

I hope this will help.

@yuluo-yx
Copy link
Author

yuluo-yx commented Mar 7, 2023

Hello. I also faced the same issue. In my case, I used sdkman to install graalvm. So below is an example I ran to upgrade graalvm.

  • Find the latest graalvm

    • sdk list java
  • Install it

    • sdk install java 22.3.1.r17-grl

I hope this will help.

thanks! I use the windows operating system, it is a little tedious to install sdk on it, the support for windows is not very good at present, I did not install it.

@marwan-hallaoui marwan-hallaoui removed their assignment Mar 28, 2023
@fernando-valdez fernando-valdez self-assigned this Jan 13, 2024
@fernando-valdez
Copy link
Member

closing this ticket as the GraalVM updater is no longer supported. You can see more details about it here #6855

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants