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
{{ message }}
Repository navigation
Can't develop a module using maven as described in the tutorial #123
These are the errors that show up when trying to compile with java less than 17.
[ERROR] Failed to execute goal �[32morg.modelio:modelio-maven-plugin:6.1.1.00:module-validation�[m �[1m(ModuleValidation)�[m on project �[36mDemoModule�[m: �[1;31mExecution ModuleValidation of goal org.modelio:modelio-maven-plugin:6.1.1.00:module-validation failed: An API incompatibility was encountered while executing org.modelio:modelio-maven-plugin:6.1.1.00:module-validation: java.lang.UnsupportedClassVersionError: org/modelio/gproject/data/module/JaxbModelPersistence has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0�[m
[ERROR] �[1;31m-----------------------------------------------------�[m
[ERROR] �[1;31mrealm = plugin>org.modelio:modelio-maven-plugin:6.1.1.00
Activity
nexasone commentedon Jun 23, 2025
It is working now!
Yet, when compiling using maven, have to set java to 17 due to some dependencies compiled with java 17.
nexasone commentedon Jun 23, 2025
These are the errors that show up when trying to compile with java less than 17.
[ERROR] Failed to execute goal �[32morg.modelio:modelio-maven-plugin:6.1.1.00:module-validation�[m �[1m(ModuleValidation)�[m on project �[36mDemoModule�[m: �[1;31mExecution ModuleValidation of goal org.modelio:modelio-maven-plugin:6.1.1.00:module-validation failed: An API incompatibility was encountered while executing org.modelio:modelio-maven-plugin:6.1.1.00:module-validation: java.lang.UnsupportedClassVersionError: org/modelio/gproject/data/module/JaxbModelPersistence has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0�[m
[ERROR] �[1;31m-----------------------------------------------------�[m
[ERROR] �[1;31mrealm = plugin>org.modelio:modelio-maven-plugin:6.1.1.00
etiennebrosse commentedon Jun 23, 2025
Hi nexasone,
Thanks for the feedback, we will take a look at your issue.