JAVA项目执行命令问题
面板、插件版本:宝塔面板 8.0.0系统版本:windows 10
问题描述: 网站-java项目-新建java项目 新建A项目时,在执行命令中指定了数据库 --spring.datasource.url=jdbc:mysql://localhost:3306/xxx
这时候再新增项目B,B的执行命令中没有指定数据库,现象就是宝塔在启动B项目时,会把项目A的数据库配置带到B项目里启动
只要后续新增的项目没有在执行命令中显式指定数据库,都会把A的相关配置带过来执行启动
可以排除代码问题,自己用命令行启服务就没问题,通过宝塔启服务就会出现上述现象。请问这是因为宝塔的缓存还是什么问题导致的吗?
相关截图(日志、错误):data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfgAAABQCAIAAAB6cvAfAAAOEUlEQVR4Ae2bsW7jxhaG8056DT/DqkuZzpWgUnCTbQiws4oFWKRQI7hk6RTBYgUIBNI4gAI1uzBcSIUBlrz3+kf+ezJDSWflEzgWfxXGiDqaM/Nx9M1wSP/Q6SUCIiACInDRBH646N6pcyIgAiIgAp1Er0EgAiIgAhdOQKK/8BOs7omACIiARK8xIAIiIAIXTkCi957gp6en9Xr9RS8REAER+IcJrNfrp6cnr5sccRK9A9JLyHq9fn5+9kYrTgREQATOJfD8/Lxer8/9ds/3JPoeKL2Hvnz50ntcB0VABEQgnECscCR67wmK5e7NqjgREIFBEogVjkTvHUSx3L1ZFScCIjBIArHCkei9gyiWuzer4kRABAZJIFY4Er13EMVy92ZVnAiIwCAJxApHovcOolju3qyKEwERGCSBWOFI9N5BlHPfbrez2Wy73XZdt91uF4tF27ZVVe33e1spPyrL8vrvr9lslgQ3TfP3kP+9q6qq67rej66vr6fTKdqw3+8/fvyIsm3AyXLTNGVZtm2bRyY9atv29vb2jBSoeb/fl2WZdDlPejx4v99XVYXWJs3bbrfT6dQCBLpDKdq2zU8KePZ+hJptnYvFgjTqum6apjdX/dfLtu36+rqu6yQeXbApkgAMtul0eihXHq8j75FALpzX9EKi99Lr5U63VlWV/IbpX4i+67rESk3T4Pdsv4tfbxKJJjLettial42xAc5yXde9cmHjOV2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yKEwERGCSBWOFI9N5BFMvdm1VxIiACgyQQKxyJ3juIYrl7sypOBERgkARihSPRewdRLHdvVsWJgAgMkkCscCR67yCK5e7NqjgREIFBEogVjkTvHUSx3L1ZFScCIjBIArHCkei9gyiWuzer4kRABAZJIFY4Er13EMVy92ZVnAiIwCAJxApHovcOolju3qyKEwERGCSBWOFI9N5BFMvdm1VxIiACgyQQKxyJ3juIYrl7sypOBERgkARihSPRewdRLHdvVsWJgAgMkkCscCR67yCK5e7NqjgREIFBEogVjkTvHUSx3L1ZFScCIjBIArHCkei9gyiWuzer4kRABAZJIFY4Er13EMVy92ZVnAiIwCAJxApHovcOolju3qyKEwERGCSBWOFI9N5BFMvdm1VxIiACgyQQKxyJ3juIYrl7sypOBERgkARihSPRewdRLHdvVsWJgAgMjMCPP/7YdV2scCR67yCK5e7NqjgREIEhEYDlJfo3O+cS/ZuhV2IRGAYBWl6if7MTLtG/GXolFoEBELCWl+jf7IRL9G+GXolF4NIJWMujHCsc7dF7R1Asd29WxYmACFw6gdzyWtG/2TmX6N8MvRKLwOUS6LW8RP9mJ1yifzP0SiwCF0rgkOUl+jc74ev1+vn5+c3SK7EIiMBgCDw/P6/X68Duao/eC/Pp6Wm9Xn/RSwREQAT+YQLr9frp6cnrJkecRO+ApBAREAEReM8EJPr3fPbUdhEQARFwEJDoHZAUIgIiIALvmYBE/57PntouAiIgAg4CEr0DkkJEQARE4D0T+A9sNrBIM0y6CwAAAABJRU5ErkJggg==
您好,目前 win7、win10、11这些家用操作系统已经不再维护了
页:
[1]