You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by e-...@gmx.fr on 2025/06/24 12:22:00 UTC

ERROR in bootstrap log


Hello,



I don't know if it is mysql driver issue or the nifi nar issue.



Could you please help me to understand theses errors ?



2025-06-24 13:33:35,729 ERROR [NiFi logging handler] org.apache.nifi.StdErr
WARNING: An illegal reflective access operation has occurred  
2025-06-24 13:33:35,730 ERROR [NiFi logging handler] org.apache.nifi.StdErr
WARNING: Illegal reflective access by
org.springframework.cglib.core.ReflectUtils (file:/appl/nifi/nifi-
current/work/nar/framework/nifi-framework-nar-1.23.2.nar-unpacked/NAR-
INF/bundled-dependencies/spring-core-5.3.29.jar) to method
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)  
2025-06-24 13:33:35,730 ERROR [NiFi logging handler] org.apache.nifi.StdErr
WARNING: Please consider reporting this to the maintainers of
org.springframework.cglib.core.ReflectUtils  
2025-06-24 13:33:35,730 ERROR [NiFi logging handler] org.apache.nifi.StdErr
WARNING: Use --illegal-access=warn to enable warnings of further illegal
reflective access operations  
2025-06-24 13:33:35,730 ERROR [NiFi logging handler] org.apache.nifi.StdErr
WARNING: All illegal access operations will be denied in a future release  
2025-06-24 13:49:34,404 ERROR [NiFi logging handler] org.apache.nifi.StdErr
Log configuration loaded from default internal file.  
2025-06-24 13:49:52,239 ERROR [NiFi logging handler] org.apache.nifi.StdErr
Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver
class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered
via the SPI and manual loading of the driver class is generally unnecessary.  
2025-06-24 13:49:52,666 ERROR [NiFi logging handler] org.apache.nifi.StdErr
Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver
class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered
via the SPI and manual loading of the driver class is generally unnecessary.  
2025-06-24 13:49:53,333 ERROR [NiFi logging handler] org.apache.nifi.StdErr
Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver
class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered
via the SPI and manual loading of the driver class is generally unnecessary.  
2025-06-24 13:49:53,929 ERROR [NiFi logging handler] org.apache.nifi.StdErr
Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver
class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered
via the SPI and manual loading of the driver class is generally unnecessary.  
2025-06-24 13:58:36,457 ERROR [NiFi logging handler] org.apache.nifi.StdErr
WARNING: An illegal reflective access operation has occurred  
2025-06-24 13:58:36,458 ERROR [NiFi logging handler] org.apache.nifi.StdErr
WARNING: Illegal reflective access by
org.springframework.cglib.core.ReflectUtils (file:/nifi-
current/work/nar/framework/nifi-framework-nar-1.23.2.nar-unpacked/NAR-
INF/bundled-dependencies/spring-core-5.3.29.jar) to method
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)  
2025-06-24 13:58:36,458 ERROR [NiFi logging handler] org.apache.nifi.StdErr
WARNING: Please consider reporting this to the maintainers of
org.springframework.cglib.core.ReflectUtils  
2025-06-24 13:58:36,458 ERROR [NiFi logging handler] org.apache.nifi.StdErr
WARNING: Use --illegal-access=warn to enable warnings of further illegal
reflective access operations  
2025-06-24 13:58:36,458 ERROR [NiFi logging handler] org.apache.nifi.StdErr
WARNING: All illegal access operations will be denied in a future release



Thanks



Minh


Re: ERROR in bootstrap log

Posted by Matt Burgess <ma...@apache.org>.
What version of Java are you using? IIRC NiFi 1.23 requires a Java version
between 8 and 17.

Regards,
Matt

On Tue, Jun 24, 2025 at 8:22 AM <e-...@gmx.fr> wrote:

>
> Hello,
>
> I don't know if it is mysql driver issue or the nifi nar issue.
>
> Could you please help me to understand theses errors ?
>
> 2025-06-24 13:33:35,729 ERROR [NiFi logging handler]
> org.apache.nifi.StdErr WARNING: An illegal reflective access operation has
> occurred
> 2025-06-24 13:33:35,730 ERROR [NiFi logging handler]
> org.apache.nifi.StdErr WARNING: Illegal reflective access by
> org.springframework.cglib.core.ReflectUtils
> (file:/appl/nifi/nifi-current/work/nar/framework/nifi-framework-nar-1.23.2.nar-unpacked/NAR-INF/bundled-dependencies/spring-core-5.3.29.jar)
> to method
> java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
> 2025-06-24 13:33:35,730 ERROR [NiFi logging handler]
> org.apache.nifi.StdErr WARNING: Please consider reporting this to the
> maintainers of org.springframework.cglib.core.ReflectUtils
> 2025-06-24 13:33:35,730 ERROR [NiFi logging handler]
> org.apache.nifi.StdErr WARNING: Use --illegal-access=warn to enable
> warnings of further illegal reflective access operations
> 2025-06-24 13:33:35,730 ERROR [NiFi logging handler]
> org.apache.nifi.StdErr WARNING: All illegal access operations will be
> denied in a future release
> 2025-06-24 13:49:34,404 ERROR [NiFi logging handler]
> org.apache.nifi.StdErr Log configuration loaded from default internal file.
> 2025-06-24 13:49:52,239 ERROR [NiFi logging handler]
> org.apache.nifi.StdErr Loading class `com.mysql.jdbc.Driver'. This is
> deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver
> is automatically registered via the SPI and manual loading of the driver
> class is generally unnecessary.
> 2025-06-24 13:49:52,666 ERROR [NiFi logging handler]
> org.apache.nifi.StdErr Loading class `com.mysql.jdbc.Driver'. This is
> deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver
> is automatically registered via the SPI and manual loading of the driver
> class is generally unnecessary.
> 2025-06-24 13:49:53,333 ERROR [NiFi logging handler]
> org.apache.nifi.StdErr Loading class `com.mysql.jdbc.Driver'. This is
> deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver
> is automatically registered via the SPI and manual loading of the driver
> class is generally unnecessary.
> 2025-06-24 13:49:53,929 ERROR [NiFi logging handler]
> org.apache.nifi.StdErr Loading class `com.mysql.jdbc.Driver'. This is
> deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver
> is automatically registered via the SPI and manual loading of the driver
> class is generally unnecessary.
> 2025-06-24 13:58:36,457 ERROR [NiFi logging handler]
> org.apache.nifi.StdErr WARNING: An illegal reflective access operation has
> occurred
> 2025-06-24 13:58:36,458 ERROR [NiFi logging handler]
> org.apache.nifi.StdErr WARNING: Illegal reflective access by
> org.springframework.cglib.core.ReflectUtils
> (file:/nifi-current/work/nar/framework/nifi-framework-nar-1.23.2.nar-unpacked/NAR-INF/bundled-dependencies/spring-core-5.3.29.jar)
> to method
> java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
> 2025-06-24 13:58:36,458 ERROR [NiFi logging handler]
> org.apache.nifi.StdErr WARNING: Please consider reporting this to the
> maintainers of org.springframework.cglib.core.ReflectUtils
> 2025-06-24 13:58:36,458 ERROR [NiFi logging handler]
> org.apache.nifi.StdErr WARNING: Use --illegal-access=warn to enable
> warnings of further illegal reflective access operations
> 2025-06-24 13:58:36,458 ERROR [NiFi logging handler]
> org.apache.nifi.StdErr WARNING: All illegal access operations will be
> denied in a future release
>
> Thanks
>
> Minh
>