Skip to content

Fix for warnings in package lifecycle#1

Open
SunnysGitAccount wants to merge 2 commits intospringframeworkguru:masterfrom
SunnysGitAccount:master
Open

Fix for warnings in package lifecycle#1
SunnysGitAccount wants to merge 2 commits intospringframeworkguru:masterfrom
SunnysGitAccount:master

Conversation

@SunnysGitAccount
Copy link
Copy Markdown

@SunnysGitAccount SunnysGitAccount commented Dec 2, 2022

Add jaxb-api, jaxb-core, jaxb-impl version
Warning in package phase after version update still exits.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector (file:/Users/sunnyvats/.m2/repository/org/glassfish/jaxb/jaxb-runtime/2.3.0/jaxb-runtime-2.3.0.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int)
WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

Add jaxb-api, jaxb-core, jaxb-impl version
Fix warning in package phase after version update.
@SunnysGitAccount
Copy link
Copy Markdown
Author

I tried resolving it by updating the jaxb versions but the Warnings are still there. Can you please guide some solution or why it is coming while packaging? I have googled it but I did not find any clear answer. Please help.

Add plugin maven-clean-plugin
Add executions configuration
@SunnysGitAccount
Copy link
Copy Markdown
Author

Actually I got the solution, the plugin README says it supports java version 1.7, 8 and 9 not 11. I think that was the issue. But I will wait for your explanation too, if you have some spare time in future.

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

Successfully merging this pull request may close these issues.

1 participant