java调用接口报空指针_【获取接口后调用出现空指针异常 _JDBC 】 | IT修真院·坑乎...

2018-11-23 09:57:12.836 INFO 1436 --- [ main] c.j.s.ProjectStarter : Starting ProjectStarter on MS01 with PID 1436 (H:\Java\Code\ideaCode\FristSpringBoot\target\classes started by user in H:\Java\Code\ideaCode\FristSpringBoot)

2018-11-23 09:57:12.854 INFO 1436 --- [ main] c.j.s.ProjectStarter : No active profile set, falling back to default profiles: default

2018-11-23 09:57:13.819 INFO 1436 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode!

2018-11-23 09:57:13.822 INFO 1436 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data repositories in DEFAULT mode.

2018-11-23 09:57:13.847 INFO 1436 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 15ms. Found 0 repository interfaces.

2018-11-23 09:57:14.357 INFO 1436 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$54631726] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

2018-11-23 09:57:14.815 INFO 1436 --- [ main] o.s.b.w.e.t.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)

2018-11-23 09:57:14.837 INFO 1436 --- [ main] o.a.c.c.StandardService : Starting service [Tomcat]

2018-11-23 09:57:14.837 INFO 1436 --- [ main] o.a.c.c.StandardEngine : Starting Servlet Engine: Apache Tomcat/9.0.13

2018-11-23 09:57:14.843 INFO 1436 --- [ main] o.a.c.c.AprLifecycleListener : The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [C:\Program Files\Java\jdk-10.0.2\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;F:\oracle\product\10.2.0\db_1\bin;C:\ProgramData\Oracle\Java\javapath;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Java\jdk1.8.0_151\\bin;% ANDROID_SDK_HOME%\platform-tools;% ANDROID_SDK_HOME%\tools;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;H:\Java\tool\apache-maven-3.5.4\bin;C:\Program Files (x86)\MySQL\MySQL Server 5.7\bin;C:\Tools\putty\;C:\Tools\WinSCP\;C:\Tools\SVN\bin;C:\Tools\jetty-distribution-9.4.11.v20180605\bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Tools\Git\cmd;H:\Java\tool\spring-2.1.0.RELEASE\bin;C:\Users\user\AppData\Local\Microsoft\WindowsApps;C:\Users\user\AppData\Local\GitHubDesktop\bin;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;;.]

2018-11-23 09:57:14.958 INFO 1436 --- [ main] o.a.c.c.C.[.[.[/h] : Initializing Spring embedded WebApplicationContext

2018-11-23 09:57:14.958 INFO 1436 --- [ main] o.s.w.c.ContextLoader : Root WebApplicationContext: initialization completed in 1982 ms

2018-11-23 09:57:14.958 INFO 1436 --- [ main] w.s.c.ServletWebServerApplicationContext : Restoring user defined scope request

2018-11-23 09:57:14.959 INFO 1436 --- [ main] w.s.c.ServletWebServerApplicationContext : Restoring user defined scope session

2018-11-23 09:57:15.020 INFO 1436 --- [ main] f.a.AutowiredAnnotationBeanPostProcessor : Autowired annotation is not supported on static fields: static com.jnshu.springbootsecurity.service.AccountService com.jnshu.springbootsecurity.ProjectStarter.accountService

2018-11-23 09:57:15.020 INFO 1436 --- [ main] f.a.AutowiredAnnotationBeanPostProcessor : Autowired annotation is not supported on static fields: static com.jnshu.springbootsecurity.service.StudentInfoService com.jnshu.springbootsecurity.ProjectStarter.studentInfoService

2018-11-23 09:57:15.020 INFO 1436 --- [ main] f.a.AutowiredAnnotationBeanPostProcessor : Autowired annotation is not supported on static fields: static com.jnshu.springbootsecurity.service.StudentService com.jnshu.springbootsecurity.ProjectStarter.studentService

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.

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by org.apache.ibatis.reflection.Reflector (file:/H:/Java/maven_repos/org/mybatis/mybatis/3.4.4/mybatis-3.4.4.jar) to method java.lang.Object.finalize()

WARNING: Please consider reporting this to the maintainers of org.apache.ibatis.reflection.Reflector

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations

WARNING: All illegal access operations will be denied in a future release

2018-11-23 09:57:15.506 INFO 1436 --- [ main] o.s.s.c.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor'

2018-11-23 09:57:15.991 INFO 1436 --- [ main] o.s.s.w.DefaultSecurityFilterChain : Creating filter chain: any request, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@31006a75, org.springframework.security.web.context.SecurityContextPersistenceFilter@491893f8, org.springframework.security.web.header.HeaderWriterFilter@20c3b34b, org.springframework.security.web.csrf.CsrfFilter@708769b7, org.springframework.security.web.authentication.logout.LogoutFilter@77c692b4, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@531a716c, org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@4cc7e3ad, org.springframework.security.web.authentication.ui.DefaultLogoutPageGeneratingFilter@49122853, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@7019d619, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@46e388ec, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@3d235635, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@e97f115, org.springframework.security.web.session.SessionManagementFilter@58e02359, org.springframework.security.web.access.ExceptionTranslationFilter@6ed51944, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@55638165]

2018-11-23 09:57:16.079 INFO 1436 --- [ main] o.s.b.w.e.t.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '/h'

2018-11-23 09:57:16.082 INFO 1436 --- [ main] c.j.s.ProjectStarter : Started ProjectStarter in 4.159 seconds (JVM running for 5.71)

111111111111

java.lang.NullPointerException

at com.jnshu.springbootsecurity.ProjectStarter.main(ProjectStarter.java:51)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值