inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

묻고 답해요

176만명의 커뮤니티!! 함께 토론해봐요.

초기화 시점이 아닌 경우(특정 이벤트 발생시점)에 Pojo 를 Bean 으로 등록이 가능할까요?

해결됨

스프링 핵심 원리 - 기본편

안녕하세요 김영한 강사님^^ 그러니까... 저의 질문이 정확히는, Bean 이 아닌 상태의( @ComponentScan 에 검색이 안되는) 일반 클래스(POJO) 를 AnnotationConfig.....Context( Pojo.class ) 형태로 등록해 봤더니 로깅은 은 잘 되는거 같더라구요, 그리하여 생각한것이 Pojo 를 Spring 초기화 이후, 특정 이벤트에서 등록이 가능한지 여부 와 등록방법이 궁금합니다. 질문입니다 특정 Spring-boot 이밴트 발생시점에 @Bean 어노테이션이 없는 상태의 일반 클래스를 AnnotationConfigApplicationContext 를 통해 등록하는것이 맞는 방법인가요? 적절하지 않다면, 좋은 방법이 있을까요? 읽어주셔서 감사드립니다

  • oop
  • spring
Truestar 댓글 3 좋아요 0 조회수 210

http 프로토콜을 변경할 수 있는 방법이 있을까요?

미해결

스프링 MVC 1편 - 백엔드 웹 개발 핵심 기술

http/1.1 이 아닌 h3 와 같이 다른 프로토콜로 변경할 수 있는 방법이 있을까요?

  • http/1.1
  • protocol
  • MVC
  • spring
Rep 댓글 1 좋아요 0 조회수 462

리사이클러뷰 관련 질문입니다,

미해결

[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)

강의 내용을 쭉 복습하던 중에 의문이 하나 생겨서 질문 남깁니다. 코드를 처음부터 쭉 다시 리뷰하며 만들어보던 중에, 아래 첫번째 사진처럼 리사이클러뷰에 아이템이 하나만 나오는 현상이 발생해 다시 영상을 보니, 아이템 레이아웃 부분을 만들때 리니어레이아웃부분의 layout_height 부분에서 차이가 있었습니다. 저는 match parent로 설정되어있었고, 강의에는 80dp로 적용이 되어 있길래, 강의대로 바꾸고 실행해보았더니 그제서야 모든 아이템이 제대로 나왔습니다. 중요한 부분이라고 생각되기에 왜 이런 현상이 일어나는 건지 설명해주시면 감사하겠습니다.

  • android
  • kotlin
  • firebase
elepant908 댓글 2 좋아요 0 조회수 377

선생님 param 계산되는 과정에서 질문이 있습니다.

미해결

딥러닝 CNN 완벽 가이드 - TFKeras 버전

안녕하세요 선생님, param 계산되는 과정에서 질문이 있습니다. 첫번째 param인 2432는 왜 2432가 나오는지 알겠는데 두번째 param인 9248은 어떻게 9248이 나오는지 잘 모르겠습니다 ㅠㅠㅠ 2432 + (?) = 9248이 되는거 같은데.... (?)는 3*3(kernel_size) * 3(channel)*32(filters) * ? 인거같은데... 제가 직접 계산해보면 9248이 안나옵니다 ㅠㅠㅠ 2432 + (?) = 9248 여기서 ?가 뭔지 알 수 있을까요? 감사합니다!!

  • 딥러닝
  • tensorflow
  • 머신러닝 배워볼래요?
  • keras
  • kaggle
  • cnn
박인혁 댓글 1 좋아요 0 조회수 372

일반 position과 Anchorded position

미해결

유니티(Unity)로 시작하는 게임개발: Part 3. 슈팅게임 개발

안녕하세요 강의에서 content의 위치를 변경할때는 더욱 안정적인 anchorded Position을 쓰는게 좋다고 하셨는데 왜 이게 더 안정적인건가요? 제가 아는 차이는 일반 position은 월드 좌표계를 쓰고 Anchored Position은 스크린 좌표계를 쓴다라고 알고 있습니다 좀 더 설명을 부탁드립니다

  • unity
  • C#
Hyobin Kim 댓글 1 좋아요 0 조회수 189

에러가 나는데 원인을 모르겠습니다.

미해결

[파이토치] 실전 인공지능으로 이어지는 딥러닝 - 기초부터 논문 구현까지

11-5 학습하기에서 아래와 같은 에러가 나는데 원인을 모르겠네요, 코드는 첨부해주신 코드로 돌려도 동일한 에러가 발생합니다. RuntimeError : Trying to backward through the graph a second time (or directly access saved variables after they have already been freed). Saved intermediate values of the graph are freed when you call .backward() or autograd.grad(). Specify retain_graph=True if you need to backward through the graph a second time or if you need to access saved variables after calling backward.

  • python
  • 머신러닝 배워볼래요?
  • pytorch
  • 딥러닝
  • 인공신경망
김중국 댓글 1 좋아요 0 조회수 264

MemberApiController에 static으로 만들어져 있는 Result<T> 메소드를 OrderApiController에서 써도 상관없나요?

미해결

실전! 스프링 부트와 JPA 활용2 - API 개발과 성능 최적화

@GetMapping ( "/api/v2/orders" ) public MemberApiController.Result orderV2 () { List<Order> orders = orderRepository .findAllByString( new OrderSearch()) ; List<OrderDto> collect = orders.stream() .map(o -> new OrderDto(o)).collect(Collectors. toList ()) ; return new MemberApiController.Result(collect) ; } 이렇게 만들어지는데, 아무런 상관이없는지 궁금합니다.

  • JPA
  • spring-boot
  • spring
  • java
foobar 댓글 1 좋아요 0 조회수 197

TCP 3 way handshake 질문

미해결

모든 개발자를 위한 HTTP 웹 기본 지식

안녕하십니까 강사님 복습을 하던 중에 헷갈리는 부분이 있어 질문드립니다. pdf에서 3 way handshake 설명이 클라이언트와 서버 사이에서 이뤄지는 그림이 있습니다. 그런데 위의 사진인 프로토콜 계층에서 Hello라는 HTTP 메시지가 TCP/IP 으로 둘러쌓이지 않습니까?? 출발지, 도착지 IP, PORT 등으로 말입니다. 그렇다면 저 사이에서는 3 way handshake가 일어나는건지 너무 궁금합니다,, 아닌 것 같은데 ,, 확실하게 알고 싶어 질문드립니다!! 읽어주셔서 감사합니다

  • network
gusdn85554 댓글 1 좋아요 0 조회수 217

이미지파일 누락

미해결

파이널 코딩테스트 : 프론트엔드

안녕하세요! 노션에서 강의자료를 다운로드 받아 강의를 듣고 있었는데 파이널 코딩테스트_1번_강의자료.zip 에는 star.png 파일이 없습니다. 깃헙에서 다운로드 받을 수 있었습니다 😃 확인 부탁드립니다!

  • 코테 준비 같이 해요!
Kenna 댓글 1 좋아요 1 조회수 220

이건 무슨 오류인가요 ㅠㅠㅠ

미해결

Slack 클론 코딩[실시간 채팅 with React]

(사진)

  • Socket.io
  • react
  • 웹팩
  • typescript
  • babel
  • 클론코딩
hm_stom 댓글 1 좋아요 0 조회수 277

2번째 이렇게 하면 이상한 값들이 들어가 있던데 어디서 잘못됐을까요?

미해결

[C++과 언리얼로 만드는 MMORPG 게임 개발 시리즈] Part1: C++ 프로그래밍 입문

- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 2번 문제를 맨처음 이렇게 해서 풀었는데 값이 이렇게 해서 나왔습니다 혹시 제가 잘못한 부분이 있을까요?

  • C++
kmj7626443 댓글 1 좋아요 0 조회수 304

include mine.types; 관련 질문입니다.

미해결

작정하고 장고! Django로 Pinterest 따라만들기 : 바닥부터 배포까지

안녕하세요. 강의 잘 듣고 있습니다. 질문이 있어서요. 강의 영상처럼 해당 include 로 실행하니 nginx 컨테이너 생성 시 에러가 나더라구요 에러는 : open() "/etc/nginx/mine.types" failed (2: No such file or directory) in /etc/nginx/nginx.conf:10 이렇게 났었고 해결은 include /etc/nginx/mime.types ; 이렇게 고쳐주고나서 에러를 해결했는데.. 혹시 제가 강의 중에 놓친 부분이 있는걸까요 ?

  • docker
  • python
  • django
kwangho.kim 댓글 1 좋아요 0 조회수 403

예전부터 궁금했던 보안관련 질문있습니다.

미해결

Slack 클론 코딩[백엔드 with NestJS + TypeORM]

안녕하세요. 예전부터 궁금사항이 있었는데, 실제로 결제 관련된 한 서비스를 운영하시는 걸로 알고 있습니다. 실제 은행과 같은 정말 보안적으로 최고로 중요한 서비스는 아니더라고, 실제 돈이 오가는 결제 서비스이기에 보안관련 예민하게 작용을 할텐데, 일반적인 passport 나 쿠키 관리, 또는 APP과 통신을 하면서 JWT 토큰을 오가는 정도로는 보안을 강화하기는 힘들 것 같은데, 실제 결제 서비스가 운영되는 정도의 프로젝트에서는 어느정도까지, 어떻게 보안을 강화하여 사용하고 있는지가 정말 너무 궁금했습니다. 예전부터.. 디테일하게 과정까지 말씀해주시면 좋겠지만, 이정도까지 처리하고있다 정도라도 말씀해주시면 너무 감사할것 같습니다 ㅠㅠ

  • express
  • nodejs
  • TypeORM
  • NestJS
coldbrew 댓글 1 좋아요 1 조회수 209

github 권한 승인 요청드립니다

미해결

Vue.js 중급 강좌 - 웹앱 제작으로 배워보는 Vue.js, ES6, Vuex

인프런 아이디 : bluewhited@naver.com 인프런 이메일 : bluewhited@naver.com 깃헙 아이디 : bluewhited@naver.com 깃헙 Username : bluewhited

  • es6
  • javascript
  • vuejs
  • vuex
JinSu 댓글 1 좋아요 1 조회수 154

안녕하세요 선생님, 레퍼런스와 함께 질문 드립니다.

미해결

애니메이트로 배우는 나만의 움직이는 이모티콘 만들기(feat. 2천만 뷰 크리에이터)

안녕하세요 선생님, 수강생 입니다. 날씨가 아직 많이 더운데 건강히 잘 지내시는지요? 다름이 아니라 아래 레퍼런스와 같은 애니메이션은 어떻게 작업을 해야 하는지 궁금하여 질문 드립니다. 위 레퍼런스 애니메이션을 보면, 작화가 아닌 벡터의 느낌이 나는데, 위와 같은 작품은 애니메이터에서 작화가 아닌 패스(벡터)로 작업을 하는 것인지 아니면 다른 툴을 사용해야 하는 것인지 궁금합니다. 제가 나중에 혼자 작업을 하게 될 것들은 작화 애니메이션 보다는 저런 벡터(?)기반 캐릭터 애니메이션이 될것 같아 질문을 드립니다.(물론 선생님 강의는 처음부터 끝까지 열심히 들었습니다!) 감사합니다. :)

  • 이모티콘
  • animation
  • animate
xo xo 댓글 2 좋아요 0 조회수 368

분할 전송과 범위 전송에 대해

미해결

모든 개발자를 위한 HTTP 웹 기본 지식

질문이 있습니다. 분할 전송의 경우 청크로 나뉘어 먼저 전송을 한다고 하셨는데, 그럼 각 분할된 청크마다 tcp로 감싸서 보내는지 궁금합니다. 그렇다면, 각 청크의 tcp에 순서정보는 필요없는지요. -- 범위 전송은 과거 대용량 파일이나 게임을 다운받을 때 구글드라이브나 다운로드.exe 에서 특정범위 부터 다시 다운로드 받는 걸 몇번 본적이 있는데, 그것과 같은 동작인지 궁금합니다.

  • network
ryu 댓글 1 좋아요 0 조회수 292

user-service-1.0.jar 파일이 정상적으로 만들어지지 않습니다.

해결됨

Spring Cloud로 개발하는 마이크로서비스 애플리케이션(MSA)

안녕하세요. 강의 9:41의 결과처럼 /user-service-1.0.jar 을 만들어 docker run 을 정상적으로 실행시키려고 합니다. 하지만 정상적인 jar 파일이 만들어지지 않고 아래처럼 종속성이 빠진 상태로 33KB로 만들어집니다. user-service-1.0.jar.original과 비슷한 파일 크기 입니다. 그래서 저는 아래의 화면처럼 Build Artifact를 진행해 의존성이 포함된 user-service-1.0.jar 만들어봤지만 no main manifest attribute, in userservice.jar 에러가 떠서 /resources/META-INF/MANIFEST.MF 파일을 만들었습니다. Manifest-Version : 1.0 Main-Class : com.example.userservice.UserServiceApplication 위 소스처럼 MANIFEST.MF 를 만들고 진행을 하면 docker run ***/user-service:1.2 Error: Could not find or load main class com.example.userservice.UserServiceApplication Caused by: java.lang.ClassNotFoundException: com.example.userservice.UserServiceApplication 위와 같은 에러를 보여 도저히 진행이 되지 않습니다. 아래는 macOS BigSur 의 bash_profile 설정입니다. export JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-11.jdk/Contents/Home export PATH=${PATH}:$JAVA_HOME/bin export PATH=${PATH}:/usr/local/bin:/usr/local/bin/:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin export CLASSPATH=$JAVA_HOME/lib:. 혹시나 해서 pom.xml 파일을 수정해도 마찬가지입니다. <? xml version ="1.0" encoding ="UTF-8" ?> < project xmlns ="http://maven.apache.org/POM/4.0.0" xmlns: xsi ="http://www.w3.org/2001/XMLSchema-instance" xsi :schemaLocation ="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" > < modelVersion >4.0.0</ modelVersion > < parent > < groupId >org.springframework.boot</ groupId > < artifactId >spring-boot-starter-parent</ artifactId > < version >2.4.5</ version > < relativePath /> <!-- lookup parent from repository --> </ parent > < groupId >com.example</ groupId > < artifactId >user-service</ artifactId > < version >1.0</ version > < packaging >jar</ packaging > < name >user-service</ name > < description >Demo project for Spring Boot</ description > < properties > < java.version >11</ java.version > < spring-cloud.version >2020.0.2</ spring-cloud.version > < org.mapstruct.version >1.4.2.Final</ org.mapstruct.version > < org.projectlombok.version >1.18.16</ org.projectlombok.version > < lombok-mapstruct-binding.version >0.2.0</ lombok-mapstruct-binding.version > </ properties > < dependencies > < dependency > < groupId >org.springframework.boot</ groupId > < artifactId >spring-boot-starter-web</ artifactId > </ dependency > < dependency > < groupId >org.springframework.cloud</ groupId > < artifactId >spring-cloud-starter-netflix-eureka-client</ artifactId > </ dependency > < dependency > < groupId >org.springframework.boot</ groupId > < artifactId >spring-boot-devtools</ artifactId > < scope >runtime</ scope > < optional >true</ optional > </ dependency > < dependency > < groupId >org.projectlombok</ groupId > < artifactId >lombok</ artifactId > < optional >true</ optional > </ dependency > < dependency > < groupId >org.springframework.boot</ groupId > < artifactId >spring-boot-starter-test</ artifactId > < scope >test</ scope > </ dependency > < dependency > < groupId >org.springframework.boot</ groupId > < artifactId >spring-boot-starter-data-jpa</ artifactId > </ dependency > <!-- https://mvnrepository.com/artifact/com.h2database/h2 --> < dependency > < groupId >com.h2database</ groupId > < artifactId >h2</ artifactId > < version >1.3.176</ version > <!-- <scope>test</scope> test일 경우 실행결과를 확인 할수 없음 --> < scope >runtime</ scope > </ dependency > < dependency > < groupId >org.mapstruct</ groupId > < artifactId >mapstruct</ artifactId > < version >${org.mapstruct.version}</ version > </ dependency > < dependency > < groupId >org.modelmapper</ groupId > < artifactId >modelmapper</ artifactId > < version >2.3.8</ version > </ dependency > < dependency > < groupId >org.springframework.boot</ groupId > < artifactId >spring-boot-starter-security</ artifactId > <!-- <version>2.4.4</version>--> </ dependency > < dependency > < groupId >io.jsonwebtoken</ groupId > < artifactId >jjwt</ artifactId > < version >0.9.1</ version > </ dependency > < dependency > < groupId >org.springframework.cloud</ groupId > < artifactId >spring-cloud-starter-config</ artifactId > </ dependency > < dependency > < groupId >org.springframework.cloud</ groupId > < artifactId >spring-cloud-starter-bootstrap</ artifactId > </ dependency > < dependency > < groupId >org.springframework.boot</ groupId > < artifactId >spring-boot-starter-actuator</ artifactId > </ dependency > < dependency > < groupId >org.springframework.cloud</ groupId > < artifactId >spring-cloud-starter-bus-amqp</ artifactId > </ dependency > <!-- Feign Client --> < dependency > < groupId >org.springframework.cloud</ groupId > < artifactId >spring-cloud-starter-openfeign</ artifactId > </ dependency > <!-- resilience4j --> < dependency > < groupId >org.springframework.cloud</ groupId > < artifactId >spring-cloud-starter-circuitbreaker-resilience4j</ artifactId > </ dependency > <!-- slueth --> < dependency > < groupId >org.springframework.cloud</ groupId > < artifactId >spring-cloud-starter-sleuth</ artifactId > </ dependency > <!-- zipkin --> < dependency > < groupId >org.springframework.cloud</ groupId > < artifactId >spring-cloud-starter-zipkin</ artifactId > < version >2.2.3.RELEASE</ version > </ dependency > < dependency > < groupId >io.micrometer</ groupId > < artifactId >micrometer-registry-prometheus</ artifactId > </ dependency > </ dependencies > < dependencyManagement > < dependencies > < dependency > < groupId >org.springframework.cloud</ groupId > < artifactId >spring-cloud-dependencies</ artifactId > < version >${spring-cloud.version}</ version > < type >pom</ type > < scope >import</ scope > </ dependency > </ dependencies > </ dependencyManagement > < build > < pluginManagement > < plugins > < plugin > < groupId >org.springframework.boot</ groupId > < artifactId >spring-boot-maven-plugin</ artifactId > </ plugin > < plugin > < groupId >org.apache.maven.plugins</ groupId > < artifactId >maven-compiler-plugin</ artifactId > < version >3.8.1</ version > < configuration > < source >${java.version}</ source > <!-- or higher, depending on your project --> < target >${java.version}</ target > <!-- or higher, depending on your project --> <!-- See https://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html --> <!-- Classpath elements to supply as annotation processor path. If specified, the compiler --> <!-- will detect annotation processors only in those classpath elements. If omitted, the --> <!-- default classpath is used to detect annotation processors. The detection itself depends --> <!-- on the configuration of annotationProcessors. --> <!-- --> <!-- According to this documentation, the provided dependency processor is not considered! --> < annotationProcessorPaths > < path > < groupId >org.mapstruct</ groupId > < artifactId >mapstruct-processor</ artifactId > < version >${org.mapstruct.version}</ version > </ path > < path > < groupId >org.projectlombok</ groupId > < artifactId >lombok</ artifactId > < version >${org.projectlombok.version}</ version > </ path > < path > < groupId >org.projectlombok</ groupId > < artifactId >lombok-mapstruct-binding</ artifactId > < version >${lombok-mapstruct-binding.version}</ version > </ path > </ annotationProcessorPaths > < compilerArgs > < arg >-Amapstruct.suppressGeneratorTimestamp=true</ arg > < arg >-Amapstruct.defaultComponentModel=spring</ arg > </ compilerArgs > </ configuration > </ plugin > </ plugins > </ pluginManagement > </ build > </ project > 위는 pom.xml 설정이고 mapstruct 과 lombok을 함께 사용하기 위해 maven-compiler-plugin을 spring-boot-maven-plugin과 함께 사용했습니다. 혹시나 하는 마음에 maven-compiler-plugin빼고 mvn clean compile package -DskipTests=true 해도 마찬가지였습니다. 어떻게 하면 정상적으로 jar파일을 이용해서 이미지를 만들어 docker run을 진행해볼수 있을까요?

  • msa
  • Kafka
  • architecture
  • JPA
  • spring-boot
  • spring-cloud
blue-sky 댓글 1 좋아요 0 조회수 883

완강했습니다^^!

미해결

설계독학맛비's 실전 Verilog HDL Season 1 (Clock부터 Internal Memory까지)

유튜브 강의로 넘어갈게요^^~ 맛비님 유튜브 영상도 강의실에 추가로 등록 예정이신가요??

  • verilog-hdl
  • fpga
  • 임베디드
YJ LEE 댓글 1 좋아요 1 조회수 142

인기 태그

인프런 TOP Writers

주간 인기글