我正在将数据从csv文件导入数据库。 但它显示了空指针异常。
例外是这样的:
[2018-07-02 17:56:25.717] - 15420 SEVERE [http-nio-8080-exec-1] --- org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/].[dispatcherServlet]: Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause
java.lang.NullPointerException
请让我知道解决方案。