-
Notifications
You must be signed in to change notification settings - Fork 15.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
启动报错:java.lang.ArrayIndexOutOfBoundsException: -1 #3653
Comments
jdk版本是不是有问题 |
我是这样创建我的 所以,不知道是不是版本问题。 |
补充,发现上述自己的解决经过都无效,暂时还是不知道问题所在。 |
补充,经过测试发现,v3.1 分支 |
换个常规的jdk 看看,或者升级到jdk11 |
我的也报这个错误,之前是使用jdk8报另一个越界的错误,升级到jdk11,也报上面的错误 |
把 ymal 文件里的 username: jeecgos@163.com 这个 @ 去掉 |
zhangdaiscott
added a commit
that referenced
this issue
Dec 5, 2022
zhangdaiscott
added a commit
that referenced
this issue
Mar 7, 2023
XKC1025
pushed a commit
to XKC1025/jeecg-boot
that referenced
this issue
Mar 13, 2023
XKC1025
pushed a commit
to XKC1025/jeecg-boot
that referenced
this issue
Mar 13, 2023
EightMonth
pushed a commit
to EightMonth/jeecg-boot
that referenced
this issue
Dec 28, 2023
EightMonth
pushed a commit
to EightMonth/jeecg-boot
that referenced
this issue
Dec 28, 2023
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
版本号:
Jeecg Boot Version: 3.2.0
Spring Boot Version: 2.6.6 (v2.6.6)
JDK:~/Library/Java/JavaVirtualMachines/azul-1.8.0_322
SDK:默认值 (8 - lambda, 类型注解等)
问题描述:
截图&代码:
自己尝试处理的经过:
经过
debug
发现是Maven
环境文件有问题,当环境为dev
并且context-path: /jeecg-boot
改为context-path: /api
就会出现上述问题,尝试方案1:
/api
时,max-request-size: 10MB
改为其他值(目前还没发现 != 10 的值是不是有问题),比方说:1MB
框架可以正常启动:尝试方案2:
/api
时,将环境改为pord
或者说,直接将dev
环境配置文件改为prod
文件,都没问题。尝试方案3:当环境为
dev
将context-path: /api/
也可以启动。The text was updated successfully, but these errors were encountered: