The number 5,000,000,000
is larger than the largest possible value for a Java int
. Now it looks like you actually want an long
value, but unfortunately the Spring documentation says this:
"The types of literal expressions supported are strings, dates, numeric values (int, real, and hex), boolean and null."
No mention of long
.
Reference: Spring Expression Language - specifically section 6.5.1.
You might "get lucky" by using the Java syntax for a long
literal - 5000000000L
- but I doubt that it will work.