1>Run>Edit Configurations...
2>Server>Open browser>URL>http://localhost:8888/demo2/
3>Deployment>右边“+”>Artifact...
4>Deployment>Application context>"/demo2"