Home > Back-end >  Could you tell me how to solve this error should be
Could you tell me how to solve this error should be

Time:10-07

FATAL ERROR in native method: processing of - javaagent failedjava. Lang. Reflect. InvocationTargetException

At sun. Reflect. NativeMethodAccessorImpl. Invoke0 (Native Method)
At sun. Reflect. NativeMethodAccessorImpl. Invoke (NativeMethodAccessorImpl. Java: 62)
At sun. Reflect. DelegatingMethodAccessorImpl. Invoke (43) DelegatingMethodAccessorImpl. Java:
The at Java. Lang. Reflect. Method. Invoke (497) Method. The Java:
At sun. Instrument. InstrumentationImpl. LoadClassAndStartAgent (InstrumentationImpl. Java: 386)
At sun. Instrument. InstrumentationImpl. LoadClassAndCallPremain (InstrumentationImpl. Java: 401)
Under Caused by: Java. Lang. Reflect. InvocationTargetException
At sun. Reflect. NativeMethodAccessorImpl. Invoke0 (Native Method)
At sun. Reflect. NativeMethodAccessorImpl. Invoke (NativeMethodAccessorImpl. Java: 62)
At sun. Reflect. DelegatingMethodAccessorImpl. Invoke (43) DelegatingMethodAccessorImpl. Java:
The at Java. Lang. Reflect. Method. Invoke (497) Method. The Java:
At com. Intellij. Rt. Coverage. Main. CoveragePremain. Premain (CoveragePremain. Java: 75)
At com. Intellij. Rt. Coverage. Main. CoveragePremain. Premain (CoveragePremain. Java: 35)
. Six more
Under Caused by: Java. Lang. ArrayIndexOutOfBoundsException: 1
At com. Intellij. Rt. Coverage. Instrumentation. Instrumentator. PerformPremain (Instrumentator. Java: 67)
At com. Intellij. Rt. Coverage. Instrumentation. Instrumentator. Premain (Instrumentator. Java: 45)
. 12 more

The Process finished with exit code 1
The Exception in the thread "main"

CodePudding user response:

An array subscript crossing the line, check the array elements to copy it, should be beyond the scope of defined array length

CodePudding user response:

Suddenly into this mistake again, I cry liao
Log4j: WARN No appenders could be found for logger (org. Springframework. Core. The env. StandardEnvironment).
Log4j: WARN both Please initialize the log4j system properly.
. Loading class ` com. Mysql. JDBC Driver '. This is deprecated. The new Driver class is ` com. Mysql. Cj. JDBC. The Driver '. The Driver is automatically registered via The SPI and manual Loading of The Driver class is generally unnecessary.

Org. Springframework. JDBC. CannotGetJdbcConnectionException: Could not get JDBC Connection; Nested exception is Java. SQL. SQLNonTransientConnectionException: CLIENT_PLUGIN_AUTH is required

At org) springframework). The JDBC datasource. DataSourceUtils. GetConnection (DataSourceUtils. Java: 80)
At org. Springframework. JDBC. Core. JdbcTemplate. Execute (394) JdbcTemplate. Java:
At org. Springframework. JDBC. Core. JdbcTemplate. Execute (443) JdbcTemplate. Java:
At com. Ch04. SpringJDBCTest. MainTest (SpringJDBCTest. Java: 17)
At sun. Reflect. NativeMethodAccessorImpl. Invoke0 (Native Method)
At sun. Reflect. NativeMethodAccessorImpl. Invoke (NativeMethodAccessorImpl. Java: 62)
At sun. Reflect. DelegatingMethodAccessorImpl. Invoke (43) DelegatingMethodAccessorImpl. Java:
The at Java. Lang. Reflect. Method. Invoke (497) Method. The Java:
The at org. Junit. Runners. Model. FrameworkMethod $1. RunReflectiveCall (FrameworkMethod. Java: 59)
The at org. Junit. Internal. Runners. Model. ReflectiveCallable. Run (ReflectiveCallable. Java: 12)
The at org. Junit. Runners. Model. FrameworkMethod. InvokeExplosively (FrameworkMethod. Java: 56)
The at org. Junit. Internal. Runners. Statements. InvokeMethod. Evaluate (InvokeMethod. Java: 17)
At org. Junit. Runners. ParentRunner $3. The evaluate (ParentRunner. Java: 306)
At org. Junit. Runners. BlockJUnit4ClassRunner $1. The evaluate (BlockJUnit4ClassRunner. Java: 100)
The at org. Junit. Runners. ParentRunner. RunLeaf (ParentRunner. Java: 366)
The at org. Junit. Runners. BlockJUnit4ClassRunner. RunChild (BlockJUnit4ClassRunner. Java: 103)
The at org. Junit. Runners. BlockJUnit4ClassRunner. RunChild (BlockJUnit4ClassRunner. Java: 63)
At org. Junit. Runners. ParentRunner $4. The run (331) ParentRunner. Java:
The at org. Junit. Runners. ParentRunner $1. The schedule (ParentRunner. Java: 79)
The at org. Junit. Runners. ParentRunner. RunChildren (ParentRunner. Java: 329)
The at org. Junit. Runners. ParentRunner. Access the $100 (66) ParentRunner. Java:
At org. Junit. Runners. ParentRunner $2. The evaluate (ParentRunner. Java: 293)
At org. Junit. Runners. ParentRunner $3. The evaluate (ParentRunner. Java: 306)
The at org. Junit. Runners. ParentRunner. Run (ParentRunner. Java: 413)
The at org. Junit. Runner. JUnitCore. Run (JUnitCore. Java: 137)
At com. Intellij. Takeup. JUnit4IdeaTestRunner. StartRunnerWithArgs (JUnit4IdeaTestRunner. Java: 68)
At com. Intellij. Rt. Execution. Junit. IdeaTestRunner $Repeater. StartRunnerWithArgs (IdeaTestRunner. Java: 47)
At com. Intellij. Rt. Execution. Junit. JUnitStarter. PrepareStreamsAndStart (JUnitStarter. Java: 242)
At com. Intellij. Rt. Execution. Junit. JUnitStarter. Main (70) JUnitStarter. Java:
Under Caused by: Java. SQL. SQLNonTransientConnectionException: CLIENT_PLUGIN_AUTH is required
At com. Mysql. Cj. JDBC. Exceptions. SQLError. CreateSQLException (SQLError. Java: 110)
At com. Mysql. Cj. JDBC. Exceptions. SQLError. CreateSQLException (SQLError. Java: 97)
At com. Mysql. Cj. JDBC. Exceptions. SQLError. CreateSQLException (SQLError. Java: 89)
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related