当前位置:论坛首页 > BUG提交 > Linux面板

【待反馈】9.5.0版本添加Java项目报错

发表在 BUG提交2025-3-25 17:03 [复制链接] 4 72

9.5.0版本添加Java项目报错,导致现在无法添加Java项目
Snipaste_2025-03-25_17-02-51.png
举报 只看该作者 回复
发表于 昨天 15:04 | 显示全部楼层
拉到底部的报错信息截图看下
举报 回复 支持 反对
发表于 昨天 18:01 | 显示全部楼层
Traceback (most recent call last):
  File "/www/server/panel/BTPanel/__init__.py", line 2533, in publicObject
    res = run_obj.run(toObject, defs, get)
  File "/www/server/panel/BTPanel/__init__.py", line 2480, 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 3546, in check_env_for_project
    data = spring_parser.get_tip()
  File "/www/server/panel/mod/project/java/springboot_parser.py", line 824, in get_tip
    l_db, s_db, l_service, s_service = self.check_config_env(use)
  File "/www/server/panel/mod/project/java/springboot_parser.py", line 606, in check_config_env
    self.check_one_config_env(spring_conf, i, db_conf, other_server_conf)
  File "/www/server/panel/mod/project/java/springboot_parser.py", line 704, in check_one_config_env
    traversal_all_node(conf, "")
  File "/www/server/panel/mod/project/java/springboot_parser.py", line 702, in traversal_all_node
    traversal_all_node(v, last_key + "." + k)
  File "/www/server/panel/mod/project/java/springboot_parser.py", line 702, in traversal_all_node
    traversal_all_node(v, last_key + "." + k)
  File "/www/server/panel/mod/project/java/springboot_parser.py", line 702, in traversal_all_node
    traversal_all_node(v, last_key + "." + k)
TypeError: can only concatenate str (not "int") to str
举报 回复 支持 反对
发表于 8 小时前 | 显示全部楼层
阿珂 发表于 2025-4-2 15:04
拉到底部的报错信息截图看下

Traceback (most recent call last):
  File "/www/server/panel/BTPanel/__init__.py", line 2533, in publicObject
    res = run_obj.run(toObject, defs, get)
  File "/www/server/panel/BTPanel/__init__.py", line 2480, 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 3546, in check_env_for_project
    data = spring_parser.get_tip()
  File "/www/server/panel/mod/project/java/springboot_parser.py", line 824, in get_tip
    l_db, s_db, l_service, s_service = self.check_config_env(use)
  File "/www/server/panel/mod/project/java/springboot_parser.py", line 606, in check_config_env
    self.check_one_config_env(spring_conf, i, db_conf, other_server_conf)
  File "/www/server/panel/mod/project/java/springboot_parser.py", line 704, in check_one_config_env
    traversal_all_node(conf, "")
  File "/www/server/panel/mod/project/java/springboot_parser.py", line 702, in traversal_all_node
    traversal_all_node(v, last_key + "." + k)
  File "/www/server/panel/mod/project/java/springboot_parser.py", line 702, in traversal_all_node
    traversal_all_node(v, last_key + "." + k)
  File "/www/server/panel/mod/project/java/springboot_parser.py", line 702, in traversal_all_node
    traversal_all_node(v, last_key + "." + k)
TypeError: can only concatenate str (not "int") to str
举报 回复 支持 反对
发表于 6 小时前 | 显示全部楼层
私信发一下面板信息(面板地址+账号密码)
举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

立即付费处理

工作时间:09:00至24:00

快速回复 返回顶部 返回列表