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

Support SpringBoot nested jar file #572

Open
semistone opened this issue Jul 8, 2024 · 0 comments
Open

Support SpringBoot nested jar file #572

semistone opened this issue Jul 8, 2024 · 0 comments

Comments

@semistone
Copy link

When we use pkl config in Java SprintBoot application
We will get error

Caused by: org.pkl.core.PklException: –– Pkl Error ––
Refusing to load module `jar:nested:/app.jar/!BOOT-INF/classes/!/config/dev.pkl` because it does not match any entry in the module allowlist (`--allowed-modules`).

it's because jar:nested isn't include in allow-modules.

we could fix it by add it into allowModules and change defaultTrustLevel, but how about add jar:nested into java default configuration?

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