信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
2017-11-24 16:06:52,413 [http-apr-8080-exec-9] DEBUG [org.springframework.web.servlet.DispatcherServlet] - Successfully completed request
Exception in thread "pool-1-thread-9"
java.lang.NullPointerException
at cn.cucsi.bsd.agri.mgt.common.interceptor.SpringContextHolder.getBean(SpringContextHolder.java:39)
at cn.cucsi.bsd.agri.mgt.common.interceptor.RecordLog$SaveLogThread.run(RecordLog.java:73)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
代码出现了问题 但是不知该如何处理
不是显示了空指针异常么
/DqBusinessAcceptance 这个地址找不到吧,你检查你的项目DqBusinessAcceptance这个地址有没有映射成功
空指针一样是比较头疼的问题,如果连接了数据库,首先你检查一下查询的数据是否是空值,而你没有在后端进行非空验证。另一种寻找思路的办法就是你的报错文件:从这几个文件入手检查。报错文件 总会牵连出你真正空指针的地方
at cn.cucsi.bsd.agri.mgt.common.interceptor.SpringContextHolder.getBean(SpringContextHolder.java:39)
at cn.cucsi.bsd.agri.mgt.common.interceptor.RecordLog$SaveLogThread.run(RecordLog.java:73)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
spring 配置文件有问题
提供的信息太少,你把具体的代码,贴出来 不然都不好分析
最讨厌java.lang.NullPointerException,因为菜,不明所以然
报的是空指针,楼主代码还是贴出来比较好。。不然怎么解决