本帖最后由 堡塔运维香菜卷 于 2023-3-25 16:46 编辑
springboot项目里配置了监听端口,比如是18610,我添加项目时候,在项目端口如果写18610,启动项目,java日志会提示端口被占用,如果我项目端口空,则不能保存,会报错。
Traceback (most recent call last): File "/www/server/panel/BTPanel/__init__.py", line 1845, in publicObject return run_exec().run(toObject, defs, get) File "/www/server/panel/BTPanel/__init__.py", line 1797, in run result = getattr(toObject,get.action)(get) File "class/panelController.py", line 81, in model result = PluginLoader.module_run(module_name,def_name,pdata) File "/www/server/panel/class/projectModel/javaModel.py", line 2921, in modify_project return self.modify_project_springboot(get,project_find=project_find) File "/www/server/panel/class/projectModel/javaModel.py", line 2948, in modify_project_springboot if int(project_find['project_config']['port']) != int(get.port):ValueError: invalid literal for int() with base 10: ''
|
|