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
Jdk17 and eclipse 2021-12 (4.22.0) Click to create a class diagram, and the "finish" button does not respond #22
Comments
The probability is the version. Don't let me reduce the version |
The same for me. |
I've rollbacked eclipse to 2020-06 (4.16.0), but it still doesn't work. |
It should be a problem with the JDK version. Look at the update history. If jdk11 is supported, there will be a problem after it is exceeded. |
I installed jdk8 and restarted my computer, and it finally works. Thanks for your help. |
It looks an issue of Xstream with JDK 11. Xstream is used for serializing and deserializing the model data as XML in Amateras Modeler. I don't know if we can fix the issue without breaking compatibility but will take a look. |
Well, thank you very much. |
The value of vm in the eclipse.ini file is changed to below jdk11 and it can be used normally. |
这是来自QQ邮箱的假期自动回复邮件。你好,我最近正在休假中,无法亲自回复你的邮件。我将在假期结束后,尽快给你回复。
|
I have tried with these parameters but it does not work. Can you put an example? |
这是来自QQ邮箱的假期自动回复邮件。你好,我最近正在休假中,无法亲自回复你的邮件。我将在假期结束后,尽快给你回复。
|
Even if 2020-12 and 2021-12 are incompatible, I want to use Amaterasu after 2021-12. |
JDK 11 can be used, but the JDK path and version used when eclipse starts needs to be modified. Eclipse uses its own JDK version by default. The minimum version used by the latest eclipse is JDK 17. -vm -vm Modifying to the local JDK 11 path and version can solve this problem. Eclipse IDE ============================================================ JDK 11 可以使用,但是需要修改eclipse 启动时使用的 JDK 路径和版本. Eclipse默认使用的自带的JDK版本,最新的eclipse使用的最低版本为JDK 17,修改 -vm -vm 修改为本地的JDK 11路径 和 版本 可以解决这个问题。 Eclipse IDE |
|
|
Cause: converter : com.thoughtworks.xstream.converters.reflection.SerializableConverter
message[1] :
Unable to make private void java.beans.PropertyChangeSupport.readObject(java.io.ObjectInputStream)
throws java.lang.ClassNotFoundException,java.io.IOException accessible:
module java.desktop does not "opens java.beans" to unnamed module You can work around this issue by adding the following to eclipse.ini. --add-opens=java.desktop/java.beans=ALL-UNNAMED The module mechanism was introduced in Java 9 and later, and became strict and error in Java 16 and later, but specifying the library in --add-opens disables access restrictions. I have published an Eclipse Distribution called Pleiades All in One, which includes my favorite Amateras Modeler, and have been experiencing this problem, which is why I came here. I will add this option to eclipse.ini in the next release of Pleiades All in One. |
Thank you Shinji, your contribution is very useful!!
El jue, 19 ene 2023, 7:13, Shinji Kashihara ***@***.***>
escribió:
… Cause:
converter : com.thoughtworks.xstream.converters.reflection.SerializableConverter
message[1] :
Unable to make private void java.beans.PropertyChangeSupport.readObject(java.io.ObjectInputStream)
throws java.lang.ClassNotFoundException,java.io.IOException accessible:
module java.desktop does not "opens java.beans" to unnamed module
You can work around this issue by adding the following to eclipse.ini.
--add-opens=java.desktop/java.beans=ALL-UNNAMED
The module mechanism was introduced in Java 9 and later, and became strict
and error in Java 16 and later, but specifying the library in --add-opens
disables access restrictions.
I have published an Eclipse Distribution called Pleiades All in One, which
includes my favorite Amateras Modeler, and have been experiencing this
problem, which is why I came here. I will add this option to eclipse.ini in
the next release of Pleiades All in One.
—
Reply to this email directly, view it on GitHub
<#22 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD4BN6DSV2R5XBAFWD3FLBDWTDLR5ANCNFSM5QSFYNHQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
@cypher256 Thank you very much! For now, I will mention that option in README, but will look for a replacement of Xstream in long-term anyway. Of course, backward-compatibility will be the biggest problem to replace XStream but I think the plugin can use the new solution for new files while using Xstream for reading old files. |
@takezoe |
Wonderful. Thank you very much. |
I have updated my video explaining how to use Amateras in Eclipse in Spanish. https://youtu.be/6ha62S8E_5I (in the comments) |
Jdk17 and eclipse 2021-12 (4.22.0) Click to create a class diagram, and the "finish" button does not respond
Amateras UML is updated to the latest version and still cannot be solved
The text was updated successfully, but these errors were encountered: