Posts
Q&A
์ ๋ต์ ๋ง๊ฒ ๋์ค๋๋ฐ ์ฑ์ ์ ์ค๋ต์ด๋ผ ํด์ ์๋ชป๋ ๊ณณ์ ๋ชจ๋ฅด๊ฒ ์ต๋๋ค.
๋ฒ๊ทธ์๋๋ณด๋ค์ ์๋ก๊ณ ์นจํ๋๊น ์ ๋ต์ด๋ผ๊ณ ํ์๋์๋ค์
- 0
- 1
- 293
Q&A
actuator status: 404
ํด๊ฒฐํ์ต๋๋ค. SwaggerConfig.java ์์ ์๋ bean ์ ์ค์ ํด ์ฃผ๋ฉด ๋ฉ๋๋ค. ๊ธฐํ ๊ถ๊ธํ ์ฌํญ์ https://github.com/springfox/springfox/issues/3462 ์ฌ๊ธฐ ๋ค์ด๊ฐ๋ฉด ์์ต๋๋ค. @Bean public WebMvcEndpointHandlerMapping webEndpointServletHandlerMapping(WebEndpointsSupplier webEndpointsSupplier, ServletEndpointsSupplier servletEndpointsSupplier, ControllerEndpointsSupplier controllerEndpointsSupplier, EndpointMediaTypes endpointMediaTypes, CorsEndpointProperties corsProperties, WebEndpointProperties webEndpointProperties, Environment environment) { List> allEndpoints = new ArrayList(); Collection webEndpoints = webEndpointsSupplier.getEndpoints(); allEndpoints.addAll(webEndpoints); allEndpoints.addAll(servletEndpointsSupplier.getEndpoints()); allEndpoints.addAll(controllerEndpointsSupplier.getEndpoints()); String basePath = webEndpointProperties.getBasePath(); EndpointMapping endpointMapping = new EndpointMapping(basePath); boolean shouldRegisterLinksMapping = this.shouldRegisterLinksMapping(webEndpointProperties, environment, basePath); return new WebMvcEndpointHandlerMapping(endpointMapping, webEndpoints, endpointMediaTypes, corsProperties.toCorsConfiguration(), new EndpointLinksResolver(allEndpoints, basePath), shouldRegisterLinksMapping, null); } private boolean shouldRegisterLinksMapping(WebEndpointProperties webEndpointProperties, Environment environment, String basePath) { return webEndpointProperties.getDiscovery().isEnabled() && (StringUtils.hasText(basePath) || ManagementPortType.get(environment).equals(ManagementPortType.DIFFERENT)); }
- 0
- 2
- 2.1K
Q&A
aws ๋ช ๋ น์ด 2๋ฒ์งธ
1. ๋ค ์ฒจ๋ถํ์ผ์ ๋ฐ์์ ์์ถ์ ํ๊ณ ๋๋ ธ์ต๋๋ค. 2. window.putty ์์ ์ด๋ป๊ฒ ๋๋ ค์ผ ํ๋์ง ๋ชจ๋ฅด๊ฒ ์ต๋๋ค.
- 0
- 4
- 409
Q&A
ec2 ์ค์ต
ํด๊ฒฐ
- 0
- 6
- 608
Q&A
ec2 ์ค์ต
(์ฌ์ง) ๊ทธ๋ฆฌ๊ณ ์ธ์คํด์ค์ ์ธ๋ฐ์ด๋ ์์๋ฐ์ด๋ ๊ท์น์ ๋๋ค. ์ํ์น ON ํ๊ณ index.html ์ ๋ง๋ค์ง ์๊ณ ํ๋ฒ ์ธ์คํด์ค์์ public ์ฃผ์๋ฅผ ํตํด ์๋๋ฅผ ํ์ง๋ง TIMED_OUT ์ด ๋ฐ์ํ์ต๋๋ค.
- 0
- 6
- 608
Q&A
ec2 ์ค์ต
(์ฌ์ง) ์ด ๋ถ๋ถ์ด ์ ๊ฐ ๋งํ update ๋ฅผ ํ๋๋ฐ 1์ค๋ง ๋์ค๋ ๊ฒ์ ๋๋ค. ์ด ์ธ์๋ ๊ฐ์ฌ๋์ด ํ์ ๋ด์ฉ์ ๋ค ๋ฐ๋ผํ๊ณ ๋๊ฐ์ ๊ฒฐ๊ณผ๊ฐ ๋์ต๋๋ค. ์ง๊ธ ์ ๋ wifi ํ๊ฒฝ์์ ์ฌ์ฉํ๊ณ ์์ต๋๋ค. ์ด ๋ฌธ์ ๊ฐ ํด๊ฒฐ์๋๋ฉด RDS ๋ถ๋ถ๋ ํด๊ฒฐ์ด ์๋ ๊ฑฐ ๊ฐ์ต๋๋ค.
- 0
- 6
- 608
Q&A
ec2 ์ค์ต
๋ฑ ํ๊ฐ์ง ๋ค๋ฅธ์ ์ด ์์ด์ putty ์์ yum update -y ๋ฅผ ํ๋ฉด ๋ฑ 1์ค๋ง ์์ฑ๋๊ณ ๋๋ฉ๋๋ค.
- 0
- 6
- 608