Home > Back-end >  Run code others no problem, why I am here to null pointer exception
Run code others no problem, why I am here to null pointer exception

Time:10-22

CodePudding user response:

Can show out before and after JDBCUtils code, an error on line 31, bad side can't see the specific code

CodePudding user response:

You two different database, connect account password, changing the name of the table

CodePudding user response:

The first figure is the exception again up capture a specific reason to come out is the environment differences or abnormal uncaught, fault of the null pointer is to deal with

CodePudding user response:

Should be project startup initialization bean, bean into the container, found that you want to inject some beans, but these beans are likely you don't success, such as the annotation is not write what

CodePudding user response:

Feeling is not to take to a data source, see if access to data sources is empty

CodePudding user response:

The
refer to the original poster ^ so sheng "v. ` response:


Maven clean once, try to run
  • Related