在项目中修改端口,但是启动后还是默认8080!
配置文件中如下:
#type default undertow (support:undertow)
jboot.server.type=undertow
jboot.server.host=
jboot.server.port=9111
jboot.server.contextPath=
怎么看都对呀!
找到JbootServiceConfig类发现
@PropertyConfig(
prefix = "AAA.server"
)
public class JbootServerConfig {
public static final String TYPE_UNDERTOW = "undertow";