묻고 답해요
158만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결스프링 핵심 원리 - 기본편
contextLoads()
[질문 내용]설정에서 Gradle로 변경 시 실행했을 때 나오는 도큐먼트============================CONDITIONS EVALUATION REPORT============================Positive matches:----------------- AopAutoConfiguration matched: - @ConditionalOnProperty (spring.aop.auto=true) matched (OnPropertyCondition) AopAutoConfiguration.ClassProxyingConfiguration matched: - @ConditionalOnMissingClass did not find unwanted class 'org.aspectj.weaver.Advice' (OnClassCondition) - @ConditionalOnProperty (spring.aop.proxy-target-class=true) matched (OnPropertyCondition) ApplicationAvailabilityAutoConfiguration#applicationAvailability matched: - @ConditionalOnMissingBean (types: org.springframework.boot.availability.ApplicationAvailability; SearchStrategy: all) did not find any beans (OnBeanCondition) GenericCacheConfiguration matched: - Cache org.springframework.boot.autoconfigure.cache.GenericCacheConfiguration automatic cache type (CacheCondition) LifecycleAutoConfiguration#defaultLifecycleProcessor matched: - @ConditionalOnMissingBean (names: lifecycleProcessor; SearchStrategy: current) did not find any beans (OnBeanCondition) NoOpCacheConfiguration matched: - Cache org.springframework.boot.autoconfigure.cache.NoOpCacheConfiguration automatic cache type (CacheCondition) PropertyPlaceholderAutoConfiguration#propertySourcesPlaceholderConfigurer matched: - @ConditionalOnMissingBean (types: org.springframework.context.support.PropertySourcesPlaceholderConfigurer; SearchStrategy: current) did not find any beans (OnBeanCondition) SimpleCacheConfiguration matched: - Cache org.springframework.boot.autoconfigure.cache.SimpleCacheConfiguration automatic cache type (CacheCondition) SqlInitializationAutoConfiguration matched: - @ConditionalOnProperty (spring.sql.init.enabled) matched (OnPropertyCondition) - NoneNestedConditions 0 matched 1 did not; NestedCondition on SqlInitializationAutoConfiguration.SqlInitializationModeCondition.ModeIsNever @ConditionalOnProperty (spring.sql.init.mode=never) did not find property 'mode' (SqlInitializationAutoConfiguration.SqlInitializationModeCondition) SslAutoConfiguration#sslBundleRegistry matched: - @ConditionalOnMissingBean (types: org.springframework.boot.ssl.SslBundleRegistry,org.springframework.boot.ssl.SslBundles; SearchStrategy: all) did not find any beans (OnBeanCondition) TaskExecutionAutoConfiguration matched: - @ConditionalOnClass found required class 'org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor' (OnClassCondition) TaskExecutorConfigurations.SimpleAsyncTaskExecutorBuilderConfiguration#simpleAsyncTaskExecutorBuilder matched: - @ConditionalOnMissingBean (types: org.springframework.boot.task.SimpleAsyncTaskExecutorBuilder; SearchStrategy: all) did not find any beans (OnBeanCondition) - @ConditionalOnThreading found PLATFORM (OnThreadingCondition) TaskExecutorConfigurations.TaskExecutorConfiguration matched: - @ConditionalOnMissingBean (types: java.util.concurrent.Executor; SearchStrategy: all) did not find any beans (OnBeanCondition) TaskExecutorConfigurations.TaskExecutorConfiguration#applicationTaskExecutor matched: - @ConditionalOnThreading found PLATFORM (OnThreadingCondition) TaskExecutorConfigurations.ThreadPoolTaskExecutorBuilderConfiguration#threadPoolTaskExecutorBuilder matched: - @ConditionalOnMissingBean (types: org.springframework.boot.task.ThreadPoolTaskExecutorBuilder; SearchStrategy: all) did not find any beans (OnBeanCondition) TaskSchedulingAutoConfiguration matched: - @ConditionalOnClass found required class 'org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler' (OnClassCondition) TaskSchedulingConfigurations.SimpleAsyncTaskSchedulerBuilderConfiguration#simpleAsyncTaskSchedulerBuilder matched: - @ConditionalOnMissingBean (types: org.springframework.boot.task.SimpleAsyncTaskSchedulerBuilder; SearchStrategy: all) did not find any beans (OnBeanCondition) - @ConditionalOnThreading found PLATFORM (OnThreadingCondition) TaskSchedulingConfigurations.ThreadPoolTaskSchedulerBuilderConfiguration#threadPoolTaskSchedulerBuilder matched: - @ConditionalOnMissingBean (types: org.springframework.boot.task.ThreadPoolTaskSchedulerBuilder; SearchStrategy: all) did not find any beans (OnBeanCondition)Negative matches:----------------- ActiveMQAutoConfiguration: Did not match: - @ConditionalOnClass did not find required class 'jakarta.jms.ConnectionFactory' (OnClassCondition) AopAutoConfiguration.AspectJAutoProxyingConfiguration: Did not match: - @ConditionalOnClass did not find required class 'org.aspectj.weaver.Advice' (OnClassCondition) ArtemisAutoConfiguration: ....Exclusions:----------- NoneUnconditional classes:---------------------- org.springframework.boot.autoconfigure.context.ConfigurationPropertiesAutoConfiguration org.springframework.boot.autoconfigure.ssl.SslAutoConfiguration org.springframework.boot.autoconfigure.context.LifecycleAutoConfiguration org.springframework.boot.autoconfigure.context.PropertyPlaceholderAutoConfiguration org.springframework.boot.autoconfigure.availability.ApplicationAvailabilityAutoConfiguration org.springframework.boot.autoconfigure.info.ProjectInfoAutoConfiguration설정에서 Intellij IDEA로 변경 시 나오는 도큐먼트java.lang.IllegalStateException: Failed to load ApplicationContext for [MergedContextConfiguration@68ab0936 testClass = hello.core.CoreApplicationTests, locations = [], classes = [hello.core.CoreApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [org.springframework.boot.test.autoconfigure.OnFailureConditionReportContextCustomizerFactory$OnFailureConditionReportContextCustomizer@602c4656, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@a8a8b75, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@155d1021, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@deb3b60, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@54acff7d, org.springframework.test.context.support.DynamicPropertiesContextCustomizer@0, org.springframework.boot.test.context.SpringBootTestAnnotation@b2fce02d], contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]우선 초반부터 설정부분에서 Intellij IDEA로 지정하면서 강의를 진행하였습니다. 그러나 중간쯤 테스트 하위클래스에 CoreApplicationTest contextLoads()가 계속 오류가 나길래 인프런에 질문 목록들을 참고하면서 알아본 결과 스프링 부트 3.X 이상부터는 호환성 문제로 설정에서 Gradle에 들어가서 Intellij IDEA에서 Gradle로 바꾸면 테스트를 모두 실행했을 때 오류가 뜨진 않게 되는데요. 그래도 콘솔에서는 아주아주 긴 설명문이 나옵니다. 물론 실행 속도도 현저히 느리게 되었구요. 결론은 꼭 Gradle로 바꾸는 방법 말고 Intellij IDEA로 계속 하면서 다른 해결방법이 없나 궁금합니다.
-
미해결스프링 DB 2편 - 데이터 접근 활용 기술
JpaRepository에 대한 질문
[질문 내용]JpaRepository 코드를 타고 들어가보니, 코드는 다음과 같았습니다.@NoRepositoryBean public interface JpaRepository<T, ID> extends PagingAndSortingRepository<T, ID>, QueryByExampleExecutor<T> {분명 JpaRepository는 interface로 선언이 되어있는데, JpaRepository를 상속받은 제가 커스텀한 Repository는 구현을 따로 하지 않고 JpaRepository 인터페이스에 정의된 메서드들을 사용할 수 있는 건가요? 추상 클래스면 이해를 하겠지만 인터페이스에서 어떻게 사용이 가능한지 이해가 잘 되지 않습니다.
-
미해결스프링 핵심 원리 - 기본편
Singleton Test 실패
안녕하세요,싱글톤 테스트를 진행했는데, @Configuration을 정상적으로 AppConifg에 등록을하였음에도 불구하고@Configuration이 없을 때처럼 호출이됩니다.bean =class hello.core.AppConfig$$SpringCGLIB$$0 configurationDeep으로 호출 했을시에도 정상적으로 CGLIB로 되어있는것으로 보이는데 이유가 있을까요?bean =class hello.core.AppConfig$$SpringCGLIB$$0
-
미해결
memurai 설치가 안됩니다
https://www.inflearn.com/community/questions/1361081/memurai-%EC%84%A4%EC%B9%98%EA%B0%80-%EC%95%88%EB%90%A9%EB%8B%88%EB%8B%A4?srsltid=AfmBOoqwbODBvTklCp4VWDNwuZ6fbKFJLHPEB0tObwUJCQmyFjIBIVVV 이분이랑 똑같은 애러가 발생합니다. installer가 있는 디렉토리에서 cmd 프롬프트로 msiexec /i Memurai-Developer-v4.1.2.msi /l*v "install.log"입력하니 이렇게 나옵니다. install.log 를 확인하니 === Verbose logging started: 2024-12-10 11:32:28 Build type: SHIP UNICODE 5.00.10011.00 Calling process: C:\WINDOWS\system32\msiexec.exe ===MSI (c) (20:A0) [11:32:28:149]: Font created. Charset: Req=129, Ret=129, Font: Req=굴림, Ret=굴림MSI (c) (20:A0) [11:32:28:149]: Font created. Charset: Req=129, Ret=129, Font: Req=굴림, Ret=굴림MSI (c) (20:8C) [11:32:28:185]: Resetting cached policy valuesMSI (c) (20:8C) [11:32:28:185]: Machine policy value 'Debug' is 0MSI (c) (20:8C) [11:32:28:185]: ******* RunEngine: ******* Product: Memurai-Developer-v4.1.2.msi ******* Action: ******* CommandLine: **********MSI (c) (20:8C) [11:32:28:185]: Note: 1: 2203 2: Memurai-Developer-v4.1.2.msi 3: -2147287038 MSI (c) (20:8C) [11:32:28:185]: MainEngineThread is returning 2=== Verbose logging stopped: 2024-12-10 11:32:28 ===이렇게 나옵니다. 해결방법 좀 부탁드립니다 ㅠㅠ
-
해결됨한 입 크기로 잘라먹는 타입스크립트(TypeScript)
esModuleInterop: true 옵션 질문드립니다.
강의 7:47esModuleInterop 옵션을 true로 설정하게 되면 default export가 없는 client.d.ts에서 아래와 같은 형태로 값을 불러올 수 있다고 하셨는데 그렇다면 ReactDOM은 client.d.ts에서 어떤 값이 되는건가요?import ReactDOM from "react-dom/client";
-
해결됨초보자를 위한 BigQuery(SQL) 입문
5-3 문제 trainer_pokemon을 LEFT에 두면
선생님, 안녕하세요. 강의 잘 듣고 있습니다!다름이 아니라 3번 문제에서 trainer를 LEFT에 두시고 계산하셨는데, 저는 trainer_pokemon을 LEFT에 두고 계산했더니 오류가 뜹니다.SELECT COUNT(DISTINCT tp.trainer_id) AS trainer_cnt FROM basic.trainer_pokemon AS tp LEFT JOIN basic.trainer AS t ON tp.location = t.hometown WHERE tp.location = t.hometown그렇다고, COUNT에 DISTINCT를 없애니결과값이 3003개로 나옵니다.
-
해결됨서버개발자 과제전형 완벽가이드 - 1편
Async Config 테스트컨트롤러의 코드의 동작이 안되는거 같습니다.
안녕하세요. 과제전형을 준비중인데 강의듣고 많은걸 깨우쳤습니다. 잘 배우고 있는 중입니다.그런데 올려주신 코드(TestController.java)를 실행했을 때 로컬 주소로 NotFound가 나더라구요. 코틀린코드로 변경하면서 공부중인데 제 코드가 문제라 생각하다가 원본 코드를 한번 돌려봤는데 같은 현상이 일어나서 혹시 더 설정해 줘야 할게 있을지 여쭤봅니다.restClient를 의심했다가 public api 가 동작하는 것을 보고 역시 라이브러리 문제는 아닌거 같더라구여.
-
해결됨이해하면 인생이 바뀌는 네트워크 프로그래밍
Windows 11 가상머신 다운로드 이슈 3
https://www.inflearn.com/community/questions/1431457/windows-11-%EA%B0%80%EC%83%81%EB%A8%B8%EC%8B%A0-%EB%8B%A4%EC%9A%B4%EB%A1%9C%EB%93%9C-%EC%9D%B4%EC%8A%88-2위 링크를 참고해서 VMware 가상머신을 다운받고 zip 폴더를 여는데 손상된 파일이라고 뜹니다.확인을 누르니까 압축해제는 동작하길래 압축해제를 눌러봤는데 압축해제를 하는 도중에 아래와 같이 뜹니다.강사님과 동일한 환경에서 학습하고 싶은데 어떻게 해야하나요 ??
-
미해결
Windows 11 가상머신 다운로드 이슈 3
https://www.inflearn.com/community/questions/1431457/windows-11-%EA%B0%80%EC%83%81%EB%A8%B8%EC%8B%A0-%EB%8B%A4%EC%9A%B4%EB%A1%9C%EB%93%9C-%EC%9D%B4%EC%8A%88-2위 링크를 참고해서 VMware 가상머신을 다운받고 zip 폴더를 여는데 손상된 파일이라고 뜹니다.확인을 누르니까 압축해제는 동작하길래 압축해제를 눌러봤는데 압축해제를 하는 도중에 아래와 같이 뜹니다.강사님과 동일한 환경에서 학습하고 싶은데 어떻게 해야하나요 ??
-
해결됨외워서 끝내는 네트워크 핵심이론 - 응용
TLS가 적용되는데 SPI는 어떻게 할 수 있나요?
좋은 강의 잘 듣고 있습니다 ㅎSPI(shallow packet inspection)에 대한 설명으로 HTTP header를 확인해서 특정 사이트 접속을 차단한다고 하셨는데TLS가 적용되면 http packet이 암호화 될텐데 header를 어떻게 읽을 수 있는지 궁금합니다.감사합니다
-
해결됨한 입 크기로 잘라먹는 타입스크립트(TypeScript)
npx create-react-app 실행했을 때 오류 해결 방법
Need to install the following packages: create-react-app@5.0.1 Ok to proceed? (y) npm error code EACCES npm error syscall mkdir npm error path /Users/hello/.npm/_cacache/index-v5/e6/e7 npm error errno EACCES npm error npm error Your cache folder contains root-owned files, due to a bug in npm error previous versions of npm which has since been addressed. npm error npm error To permanently fix this problem, please run: npm error sudo chown -R 501:20 "/Users/hello/.npm" npm error A complete log of this run can be found in: /Users/hello/.npm/_logs/2024-12-10T01_00_27_100Z-debug-0.log위와 같은 오류가 발생하시는 분들은 아래 방법으로 해결할 수 있습니다. npm 캐시 권한 문제 해결 방법npm 캐시 폴더의 소유권 수정 후 실행하기sudo chown -R $(whoami) ~/.npm npm install -g create-react-app npx create-react-app .or캐시를 완전히 정리 후 실행하기npm cache clean --force npm install -g create-react-app npx create-react-app .
-
해결됨실무자를 위한 구글애널리틱스(GA4+GTM) 활용법(25년 Update)
회원가입 모든 단계의 page url이 동일한 경우는 어떻게 할까요?
안녕하세요. ga에서 직접 이벤트를 설치할 때 궁금한 점이 있습니다.사내 웹서비스의 경우 회원가입의 모든 단계의 page URL이 동일합니다. 이런 경우 일치조건을 어떻게 두면 좋을까요?
-
해결됨웹 애니메이션을 위한 GSAP 가이드 Part.03
파트 4 오픈 일정 문의
안녕하세요! 1~3 파트 까지 완강했고..다른 강의자보다 범쌤 강의가 저에게 너무 잘 맞아서..범쌤 다음 강의만 기다리고 있습니다 ㅠ ㅅ ㅠ 다음 강의 오픈 일정 예정이 언제쯤 일까요?! ㅠ
-
미해결스프링 MVC 1편 - 백엔드 웹 개발 핵심 기술
질문...
[질문 템플릿]1. 강의 내용과 관련된 질문인가요? (예/아니오)2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오)3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오)[질문 내용]안녕하세요 좋은 강의 열심히 강의 수강중에 질문있어 남깁니다.HTTP 요청데이터는 세가지 방식으로 데이터를 전달 할 수 있다고 배웠습니다.해당 강의에서는 HTML Form방식으로 상품 게시판을 진행한것 같은데, HTTP messagebody방식으로 게시판을 만들어 볼 수 있을까요? 있다면 관련 강의가 있는지 궁금합니다. 없다면 HTTP messagebody방식은 어떻게 공부해야하는지 간단하게라도 알려주시면 감사하겠습니다. 어리석은 질문일 수도 있겠지만 답변 부탁드리겠습니다!
-
해결됨AWS 배포 완벽가이드 (feat. Lightsail, Docker, ECS)
강의 영상 시청문의
현직 개발자입니다. 기존 EC2만 있는 인프라에서 에서 ECS on EC2 서비스로 인프라를 다시 셋팅하려고합니다 어느부분부터 강의를 봐도 될까요
-
미해결RAG를 활용한 LLM Application 개발 (feat. LangChain)
streamlit 프로젝트에서 tax.docx 파일이 없어도 되나요
streamlit 프로젝트에는 tax.docx 파일이 필요없는 이유가.. 파인콘을 사용하기 때문인가요. 궁금합니다..
-
미해결
airflow dag 디렉토리 설정
안녕하세요개인 프로젝트를 구성해보고 싶어서 새로운 디렉토리에 같은 방식으로 airflow를 설치했습니다.그런데 저의 개인 프로젝트의 dags를 인식하는게 아니고 강의에 나온 커리큘럼을 따르면서 생성했던 airflow 디렉토리의 dags를 인식하네요..컨테이너에 진입해서 dag를 확인해보면 저의 개인프로젝트 dags를 인식하는데 웹서버에서 확인해보면 그렇지 않습니다.. 어떤게 문제일까요 ??bokjunsoo@BRIAN:~/rankingflow$ ls README.md config dags docker-compose.yaml logs plugins bokjunsoo@BRIAN:~/rankingflow$ ls -l dags total 8 drwxrwxr-x 2 bokjunsoo root 4096 Dec 10 01:21 pycache -rw-r--r-- 1 bokjunsoo root 525 Dec 10 00:54 dags_bash_operator_test.py bokjunsoo@BRIAN:~/rankingflow$ docker exec -it rankingflow-airflow-worker-1 bash default@9b5ec302ae5e:/opt/airflow$ ls -l dags total 8 drwxrwxr-x 2 default root 4096 Dec 9 16:21 pycache -rw-r--r-- 1 default root 525 Dec 9 15:54 dags_bash_operator_test.py default@9b5ec302ae5e:/opt/airflow$
-
미해결[C++과 언리얼로 만드는 MMORPG 게임 개발 시리즈] Part4: 게임 서버
ClientService의 Start와 Send
안녕하세요. 세션관련해서 궁금한 점이 있습니다.ClientServiceRef service를 생성해서 connect를 하는데요,이 service로 Start하는 과정이 궁금합니다. Start 함수 내부에서 sessionCount만큼 Connect를 하는데 클라이언트는 서버에 한 번만 Connect를 하면 될 텐데 maxSessionCount만큼 연결 시도하는 것은 무슨 이유인가요? 그리고 service를 생성한 후 Broadcast를 하는데 연결된 서버는 하나인데, 맥스 세션 수만큼 Broadcast를 하는 것도 이해가 안 가네요. 만약 Broadcast가 아니고 그냥 Send 함수를 구현한다면 맥스세션 수 내의 세션 중에서 어떤 세션에 Send를 호출해야 할까요?답변 부탁드립니다.
-
해결됨10주완성 C++ 코딩테스트 | 알고리즘 코딩테스트
1-F 질문 있습니다.
#include <iostream> #include <string> using namespace std; int main() { string S; getline(cin, S); string result = ""; for (char c : S) { if (c >= 'A' && c < 'Z') { result += (((c - 'A') + 13 ) % 26) + 'A'; } else if (c >= 'a' && c <= 'z') { result += (((c - 'a') + 13 ) % 26) + 'a'; } else { result += c; } } cout << result; return 0; }이렇게 작성을 하고 실제 출력 값도 맞게 잘 나오는데 1%에서 틀렸습니다가 뜨는데 이유를 모르겠습니다...
-
미해결스프링 DB 2편 - 데이터 접근 활용 기술
커넥션을 사용한다는 것
안녕하세요.강의 자료중에, " MemberRepository는 JPA를 통해 회원을 저장하는데, 이때 JPA는 트랜잭션이 시작된 con1을 사용해서 회원을 저장한다 " 라고 되어있는데요.이 부분에 대해 영한님께서 "em.persist()를 호출할때 내부적으로 JPA는 트랜잭션이 시작된 con1을 사용한다" 고 하셨는데,em.persist()를 호출할때, 실제 데이터베이스에 커밋은 아직 하지 않지만 con1을 사용해서 회원을 데이터베이스에 저장하는것인가요?"LogRepository도 트랜잭션C와 관련된 con2를 사용한다" 라고 강의자료에 나와있는 부분도, 위 내용과 동일한걸까요?con1과, con2를 사용한다는 개념이 어떤것을 의미하는지 궁금해서 질문드립니다.감사합니다.