Skip to content

Disable some of Tomcat's reference clearing to avoid warnings on Java 11 #15101

Closed
@casper5822

Description

@casper5822

Spring boot 2.1.0 GA
Oracle JDK 11
STS 4.0.1

Hello,
when i run the project in STS and i stop the execution there are this warnings:

This in STS 4.0.1 :

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.catalina.loader.WebappClassLoaderBase (file:/<home_path>/.m2/repository/org/apache/tomcat/embed/tomcat-embed-core/9.0.12/tomcat-embed-core-9.0.12.jar) to field java.io.ObjectStreamClass$Caches.localDescs
WARNING: Please consider reporting this to the maintainers of org.apache.catalina.loader.WebappClassLoaderBase
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

Thank for your help.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions