In this case, it looks like spring's
Org.springframework.beans.factory.config.PropertyPlaceholderConfigurer
Class has a problem reading the information, and the String value is treated as an int type.
In fact, this is not the case, the problem is that the configuration file location configuration error, Spring did not find the configuration file, so it is an error, but the mistake does not make the problem clear.
Check that your profile location is configured correctly, and below is how the configuration file is configured
<!--introducing cached configuration file properties--> <bean class= "Org.springframework.beans.factory.config.PropertyPlaceholde Rconfigurer "> <property name=" ignoreresourcenotfound value= "true"/> <property name= "ignoreUn
Resolvableplaceholders "value=" true "/> <property name=" Locations "> <list>
<!--This location is relative to: after the deployed project Root path--> <!--<value>/WEB-INF/cache.properties</value>--> <!--This location is relative to: file directly under the SRC directory--> <!--<value>classpath*:cache.properties</va Lue>--> <!--This location is relative to: The file is--> <!--<value>classpath*:cache/cache under the directory.
Properties</value>--> <value>classpath*:/cache/cache.properties</value> <!--This location is to look for values in the server environment variable named: XXX (for example: file:d:/test/test.properties)--> <!--<VALUE>${XXX}&L
T;/value>--> <!--This location is relative to: File system--> <!--<value>file:D:/test/test.properties</value>--
> </list> </property> </bean>