如何解决 Exception in thread "main" java.lang.IllegalArgumentException: bound must be positive 的问题? 错误的原因 即是传入了错误的参数,导致参数异常(非法参数异常,约束必须为正) 正确的应该如下: