Abnormal java.lang.NumberFormatException Maven development environment set up due to: null

  In the development project, you can set up Maven isolation environment to configure dev / beta / prod three different development environments:

   But today when writing RedisPool of the test error: that is thrown exceptions java.lang.NumberFormatException: null

  This may not be a matter of conversion errors, but can not get the parameters resulting from abnormal, double-check under their current development environment set up, who had found himself moved in resources configuration files in other development environments do not delete, because I modified the global configuration file is in the dev development environment, and resources are not modified, so I will profile information under the appropriate resources have also been synchronized, unusual disappeared, Redis operating normally. So in my sidebar Maven Project selection on the basis dev, refresh the settings, and the original resources inside repeat the same configuration files are deleted, then re-run, but also eliminated the anomalies.

 

 

   

Guess you like

Origin www.cnblogs.com/dashenaichicha/p/12150308.html