aws 의존성 로그 처리하기

김성인·2023년 7월 20일
0

💭AWS

목록 보기
8/9
 Unable to retrieve the requested metadata (/latest/user-data/). The requested metadata is not found at http://169.254.169.254/latest/user-data/

com.amazonaws.SdkClientException: The requested metadata is not found at http://169.254.169.254/latest/user-data/
        at com.amazonaws.internal.EC2ResourceFetcher.doReadResource(EC2ResourceFetcher.java:89) ~[aws-java-sdk-core-1.11.792.jar!/:na]
        at com.amazonaws.internal.EC2ResourceFetcher.doReadResource(EC2ResourceFetcher.java:70) ~[aws-java-sdk-core-1.11.792.jar!/:na]
        at com.amazonaws.internal.InstanceMetadataServiceResourceFetcher.readResource(InstanceMetadataServiceResourceFetcher.java:75) ~[aws-java-sdk-core-1.11.792.jar!/:na]
        at com.amazonaws.internal.EC2ResourceFetcher.readResource(EC2ResourceFetcher.java:66) ~[aws-java-sdk-core-1.11.792.jar!/:na]
        at com.amazonaws.util.EC2MetadataUtils.getItems(EC2MetadataUtils.java:402) ~[aws-java-sdk-core-1.11.792.jar!/:na]
        at com.amazonaws.util.EC2MetadataUtils.getData(EC2MetadataUtils.java:371) ~[aws-java-sdk-core-1.11.792.jar!/:na]
        at com.amazonaws.util.EC2MetadataUtils.getData(EC2MetadataUtils.java:367) ~[aws-java-sdk-core-1.11.792.jar!/:na]
        at com.amazonaws.util.EC2MetadataUtils.getUserData(EC2MetadataUtils.java:363) ~[aws-java-sdk-core-1.11.792.jar!/:na]
        at org.springframework.cloud.aws.core.env.ec2.AmazonEc2InstanceDataPropertySource.getUserData(AmazonEc2InstanceDataPropertySource.java:123) ~[spring-cloud-aws-core-2.2.6.RELEASE.jar!/:2.2.6.RELEASE]
        at org.springframework.cloud.aws.core.env.ec2.AmazonEc2InstanceDataPropertySource.getProperty(AmazonEc2InstanceDataPropertySource.java:95) ~[spring-cloud-aws-core-2.2.6.RELEASE.jar!/:2.2.6.RELEASE]
        at org.springframework.boot.context.properties.source.SpringConfigurationPropertySource.getConfigurationProperty(SpringConfigurationPropertySource.java:84) ~[spring-boot-2.7.13.jar!/:2.7.13]
        at org.springframework.boot.context.properties.source.SpringIterableConfigurationPropertySource.getConfigurationProperty(SpringIterableConfigurationPropertySource.java:100) ~[spring-boot-2.7.13.jar!/:2.7.13]
        at org.springframework.boot.context.properties.source.ConfigurationPropertySourcesPropertySource.findConfigurationProperty(ConfigurationPropertySourcesPropertySource.java:70) ~[spring-boot-2.7.13.jar!/:2.7.13]
        at org.springframework.boot.context.properties.source.ConfigurationPropertySourcesPropertyResolver.findPropertyValue(ConfigurationPropertySourcesPropertyResolver.java:90) ~[spring-boot-2.7.13.jar!/:2.7.13]
        at org.springframework.boot.context.properties.source.ConfigurationPropertySourcesPropertyResolver.getProperty(ConfigurationPropertySourcesPropertyResolver.java:74) ~[spring-boot-2.7.13.jar!/:2.7.13]
        at org.springframework.boot.context.properties.source.ConfigurationPropertySourcesPropertyResolver.getProperty(ConfigurationPropertySourcesPropertyResolver.java:65) ~[spring-boot-2.7.13.jar!/:2.7.13]
        at org.springframework.core.env.AbstractPropertyResolver.getProperty(AbstractPropertyResolver.java:175) ~[spring-core-5.3.28.jar!/:5.3.28]
        at org.springframework.core.env.AbstractEnvironment.getProperty(AbstractEnvironment.java:610) ~[spring-core-5.3.28.jar!/:5.3.28]
        at org.springframework.boot.orm.jpa.JpaDatabaseInitializerDetector.getDatabaseInitializerBeanTypes(JpaDatabaseInitializerDetector.java:48) ~[spring-boot-2.7.13.jar!/:2.7.13]
        at org.springframework.boot.sql.init.dependency.AbstractBeansOfTypeDatabaseInitializerDetector.detect(AbstractBeansOfTypeDatabaseInitializerDetector.java:36) ~[spring-boot-2.7.13.jar!/:2.7.13]
        at org.springframework.boot.sql.init.dependency.DatabaseInitializationDependencyConfigurer$DependsOnDatabaseInitializationPostProcessor.detectInitializerBeanNames(DatabaseInitializationDependencyConfigurer.java:130) ~[spring-boot-2.7.13.jar!/:2.7.13]
        at org.springframework.boot.sql.init.dependency.DatabaseInitializationDependencyConfigurer$DependsOnDatabaseInitializationPostProcessor.postProcessBeanFactory(DatabaseInitializationDependencyConfigurer.java:98) ~[spring-boot-2.7.13.jar!/:2.7.13]
        at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:325) ~[spring-context-5.3.28.jar!/:5.3.28]
        at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:191) ~[spring-context-5.3.28.jar!/:5.3.28]
        at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:748) ~[spring-context-5.3.28.jar!/:5.3.28]
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) ~[spring-context-5.3.28.jar!/:5.3.28]
        at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:147) ~[spring-boot-2.7.13.jar!/:2.7.13]
        at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:731) ~[spring-boot-2.7.13.jar!/:2.7.13]
        at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408) ~[spring-boot-2.7.13.jar!/:2.7.13]
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:307) ~[spring-boot-2.7.13.jar!/:2.7.13]
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:1303) ~[spring-boot-2.7.13.jar!/:2.7.13]
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:1292) ~[spring-boot-2.7.13.jar!/:2.7.13]
        at com.example.jatdauree.JatdaureeApplication.main(JatdaureeApplication.java:16) ~[classes!/:na]
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:na]
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na]
        at java.base/java.lang.reflect.Method.invoke(Method.java:566) ~[na:na]
        at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) ~[jatdauree-0.0.1-SNAPSHOT.jar:na]
        at org.springframework.boot.loader.Launcher.launch(Launcher.java:108) ~[jatdauree-0.0.1-SNAPSHOT.jar:na]
        at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) ~[jatdauree-0.0.1-SNAPSHOT.jar:na]
        at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:65) ~[jatdauree-0.0.1-SNAPSHOT.jar:na]

https://thalals.tistory.com/289

https://kim-jong-hyun.tistory.com/79

profile
개발자가 꿈인 25살 대학생입니다.

1개의 댓글

comment-user-thumbnail
2023년 7월 20일

글이 잘 정리되어 있네요. 감사합니다.

답글 달기