- Springboot多模块项目怎么使用官方dockerfile构建?
我使用了云托管,然后springboot项目是多模块的,dockerfile应该放在根项目还是入口模块,是否需要更改dockerfile或者pom.xml应如何配置。 目前本地构建时会报如下错误 [ERROR] [ERROR] Some problems were encountered while processing the POMs: #14 3.156 [FATAL] Non-resolvable parent POM for com.xj:want-remember-server:1.0.0: Could not find artifact com.xj:wx-want-remember-boot:pom:1.0.0 in central (https://repo.maven.apache.org/maven2) and 'parent.relativePath' points at wrong local POM @ line 5, column 13 #14 3.165 @ #14 3.166 [ERROR] The build could not read 1 project -> [Help 1] #14 3.170 [ERROR] #14 3.171 [ERROR] The project com.xj:want-remember-server:1.0.0 (/app/pom.xml) has 1 error #14 3.175 [ERROR] Non-resolvable parent POM for com.xj:want-remember-server:1.0.0: Could not find artifact com.xj:wx-want-remember-boot:pom:1.0.0 in central (https://repo.maven.apache.org/maven2) and 'parent.relativePath' points at wrong local POM @ line 5, column 13 -> [Help 2]
2023-03-28 - 小程序如何根据版本切换云托管环境?
后端是使用云托管部署的,然后有多个环境。小程序的前端使用js如何根据小程序发布的版本切换到对应的云托管环境,比如体验版用云托管test的环境,线上版就用prod的环境?请求各位大佬帮助。
2022-11-25