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

Issue: Error CODE_FORBIDDEN_IMPORT in Extension SLS_Batch_1288_MMS480PF_WriteHistory #7

Open
HorsaSamueleTaddeo opened this issue Sep 13, 2024 · 2 comments

Comments

@HorsaSamueleTaddeo
Copy link

Error Details:

Error Category: EXTENSION_CODE
Error Code: CODE_FORBIDDEN_IMPORT
Short Description: Forbidden import Import [java.time.LocalDate] in extension SLS_Batch_1288_MMS480PF_WriteHistory.
Long Description: Only certain packages and classes are allowed to use in extensions.
Resolution: Remove the forbidden import from the extension code.

Description:

The error occurs due to the import of the class java.time.LocalDate and the others, which is flagged as not allowed in extensions. but I know for sure that in the documentation, it mentions the possibility of using these classes and installed on M3, the extension works and compiles and runs without any problem

I would like to understand what I'm doing wrong and possibly which imports are enabled for Xtendm3

Thank you.

Copy link

Hello @HorsaSamueleTaddeo, thank you for submitting an issue! Please include the steps to reproduce if you have not already.

@HorsaSamueleTaddeo
Copy link
Author

I followed the steps to configure the environment locally, step by step following the documentation and I started modifying from the example project. I am using java 1.8, groovy 2.5.6, latest version of Maven and latest version of XtendM3 SDK.

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

No branches or pull requests

1 participant