After some changes, when i add any field to a data type i get an error. i.e if i add a field of type string with name Prueba i get:
Datatype 'org.openl.generated.beans.TestDataType' validation is failed on missed field 'Prueba'. Please, regenerate your datatype classes.
Methods that use the the data type entity says: java.lang.NoSuchMethodException: org.openl.generated.beans.Exposicion.getPrueba()
I cannot regenerate de datatype clases beacause i get the same error, i don't have the method beacause the method is not yet there beacause that's the new field.
I'm using as external lib, in web studio, my own jar which has some of my classes and generated classes of openl, maybe is something related to that. It's like generated classes are collisioning against data types.
Any idea on how to fix this? Any help would be appreciate
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
This error usually appears on compilation, in case if this fileds are missing in imported JAR file.Did you try to regenerate (recompile) your datatypes in java classes (e.g. using openl-maven-plugin)?
Best Regards,
Alena.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
After some changes, when i add any field to a data type i get an error. i.e if i add a field of type string with name Prueba i get:
Datatype 'org.openl.generated.beans.TestDataType' validation is failed on missed field 'Prueba'. Please, regenerate your datatype classes.
Methods that use the the data type entity says:
java.lang.NoSuchMethodException: org.openl.generated.beans.Exposicion.getPrueba()
I cannot regenerate de datatype clases beacause i get the same error, i don't have the method beacause the method is not yet there beacause that's the new field.
I'm using as external lib, in web studio, my own jar which has some of my classes and generated classes of openl, maybe is something related to that. It's like generated classes are collisioning against data types.
Any idea on how to fix this? Any help would be appreciate
Thanks
Hello,
This error usually appears on compilation, in case if this fileds are missing in imported JAR file.Did you try to regenerate (recompile) your datatypes in java classes (e.g. using openl-maven-plugin)?
Best Regards,
Alena.