宝塔用户_qzldaq 发表于 2024-8-1 17:23:41

【待反馈】创建java项目报错

添加java项目点击确定后报错

Traceback (most recent call last):File "/www/server/panel/BTPanel/__init__.py", line 2435, in publicObject    res = run_obj.run(toObject, defs, get)File "/www/server/panel/BTPanel/__init__.py", line 2382, 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 3137, in check_env_for_project    data = spring_parser.get_tip()File "/www/server/panel/mod/project/java/springboot_parser.py", line 805, 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 601, in check_config_env    l_service, s_service = self.check_service_env(list(other_server_conf.values()))File "/www/server/panel/mod/project/java/springboot_parser.py", line 752, in check_service_env    i["listening"] = self.port_is_open(i["host"], i["port"])File "/www/server/panel/mod/project/java/springboot_parser.py", line 767, in port_is_open    result = sock.connect_ex((host, int(port)))ValueError: invalid literal for int() with base 10: '${redis-port}'

运维技术阿闯 发表于 2024-8-2 16:55:04

您好,您这边执行一下bt 16修复一下面板后看是否还存在问题
您这边不是最新版本的面板的话,请更新到最新版本
如果问题还存在的话,执行一下bt 1和bt 4
页: [1]
查看完整版本: 【待反馈】创建java项目报错