sofastack / sofa-jarslink

Jarslink is a sofa ark plugin used to manage multi-application deployment
Apache License 2.0
3.04k stars 706 forks source link

子模块有spring mvc内容,如何正确mapping ? #30

Closed luairan closed 6 years ago

luairan commented 6 years ago

父模块为标准的spring mvc 工程 子模块有mvc 的mapping 同时需要被使用。 如何操作呢?

JoeKerouac commented 6 years ago

在子模块中将spring的xml配置文件放入META-INF/spring文件夹中即可

icc99 commented 6 years ago

@JoeKerouac 这样子要另外占用一个端口吗?? 就是父applicationContext已经占用一个端口, 模块内的applicationContext作为子 会占用另外一个端口???