org.mvel2.CompileException: [Error: badly formatted number: For input string: "9"]
时间: 2024-06-05 08:06:21 浏览: 11
This error occurs when MVEL (a Java-based expression language) encounters a badly formatted number in an expression. In this case, the error message suggests that the number "9" is causing the issue.
Possible causes of this error include:
- Using a non-numeric character in a number (e.g. "9x" instead of "9")
- Using a decimal separator that is not recognized by MVEL (e.g. using a comma instead of a period in a number)
- Using a number format that is not supported by MVEL (e.g. using scientific notation or hexadecimal notation)
To fix this error, review the expression that is causing the issue and verify that all numbers are properly formatted. If necessary, consult the MVEL documentation to ensure that the number format being used is supported.
相关推荐
![doc](https://img-home.csdnimg.cn/images/20210720083327.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)