为了能快速了解并处理您的问题,请提供以下基础信息:
系统版本:Alibaba Cloud 3 (OpenAnolis Edition) x86_64(Py3.7.16) 2核(vCPU) 2 GiB
问题描述:添加SpringBoot项目报 IndexError: list assignment index out of range 错误
相关截图(日志、错误): REQUEST_DATE: 2024-11-22 14:31:40 VERSION: Alibaba Cloud 3 (OpenAnolis Edition) x86_64(Py3.7.16) - 9.0.0 REMOTE_ADDR: 119.163.61.122 REQUEST_URI: POST /mod/java/project/check_env_for_project?REQUEST_FORM: {'project_jar': '/www/wwwroot/apacedf/ruoyi-admin.jar', 'project_cmd': '/www/server/java/jdk1.8.0_371/bin/java -jar -Xmx1024M -Xms256M /www/wwwroot/apacedf/ruoyi-admin.jar', 'by_process': '0', 'env_file': '', 'env_list': '[]'} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36Traceback (most recent call last): File "/www/server/panel/BTPanel/__init__.py", line 2439, in publicObject res = run_obj.run(toObject, defs, get) File "/www/server/panel/BTPanel/__init__.py", line 2386, in run result = getattr(toObject, get.action)(get) File "/www/server/panel/mod/modController.py", line 84, in model result = PluginLoader.module_run("{}/{}".format(module_name, sub_mod_name), def_name, pdata) File "/www/server/panel/mod/project/java/projectMod.py", line 3180, in check_env_for_project data = spring_parser.get_tip() File "/www/server/panel/mod/project/java/springboot_parser.py", line 804, in get_tip use, other = self.app_config() File "/www/server/panel/mod/project/java/springboot_parser.py", line 283, in app_config del other_confIndexError: list assignment index out of range
|
|