宝塔用户_seegrg 发表于 2024-9-30 14:53:59

【待反馈】这是不识别${project.redis.port} 吗??

启动Springboot这是不识别${project.redis.port} 吗??java 11 环境出错了,面板运行时发生错误!ValueError: invalid literal for int() with base 10: '${project.redis.port}'
REQUEST_DATE: 2024-09-30 14:51:39VERSION: CentOS7.9.2009 x86_64(Py3.7.9) - 9.0.0 REMOTE_ADDR: 192.168.1.146 REQUEST_URI: POST /mod/java/project/check_env_for_project?REQUEST_FORM: {'project_jar': '/www/wwwroot/java/smart-system.jar', 'project_cmd': '/www/server/java/jdk-11.0.19/bin/java -jar-Xmx1024M -Xms256M /www/wwwroot/java/smart-system.jar --server.port=9001', '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/129.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 3172, 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: '${project.redis.port}'

堡塔运维南一 发表于 2024-10-11 10:06:29

您好,您的面板是什么版本,操作系统是什么
尝试修复面板之后可以恢复正常吗
页: [1]
查看完整版本: 【待反馈】这是不识别${project.redis.port} 吗??