https://bz.apache.org/bugzilla/show_bug.cgi?id=69577
Bug ID: 69577
Summary: The new patch is avoid to start Tomcat
Product: Tomcat 10
Version: 10.1.35
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ------
The new patch is avoid to start Tomcat and force it to change java start line
to start mi program
The error is :
```java
Caused by: java.lang.ExceptionInInitializerError
at org.apache.catalina.startup.Tomcat.<clinit>(Tomcat.java:1193)
at
org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getWebServer(TomcatServletWebServerFactory.java:203)
at
org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:188)
at
org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:162)
... 31 more
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make field
static final boolean java.io.FileSystem.useCanonCaches accessible: module
java.base does not "opens java.io" to unnamed module @1be2019a
at
java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
at
java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
at
java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:178)
at java.base/java.lang.reflect.Field.setAccessible(Field.java:172)
at org.apache.tomcat.util.compat.JreCompat.<clinit>(JreCompat.java:101)
... 35 more
```
I'am reproducing it using linux and java 17
many thanks and regards
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]