Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
743 views
in Technique[技术] by (71.8m points)

在同一服务器上以不同端口启动两次同一maven项目会出错

A依赖于B,mvn compile B

    mvn install B
    mvn compile A
    nohup mvn -Dspring.profiles.active=p -Dexec.args="AA" spring-boot:run &
    nohup mvn -Dspring.profiles.active=t -Dexec.args="AA_test" spring-boot:run &

启动两个web服务,AA_test会影响到AA,请问怎么解决。
AA设置第三方回调地址是axxxxx.com,AA_test设置第三方回调地址是a_txxxxx.com.但是第三方回调却始终回调axxxxx.com。

在同一服务器上以不同端口启动两次同一maven项目会出错,为什么会有影响,怎么解决?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

nginx配置文件修改后重启了么。。


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...