inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

묻고 답해요

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

안녕하세요 D1 LED 질문드립니다

해결됨

[임베디드 입문용] 임베디드 개발은 실제로 이렇게 해요.

다름이 아니라, D1 LED 색상이 강의에서는 초록색으로 보이는데 제건 빨간색이어서요... 보드 차이 인건가요? 2 color로 표현되는 LED는 아닌 것 같아서요

  • Raspberry-Pi
  • arduino
  • 임베디드
CHAN HEE JANG 댓글 2 좋아요 0 조회수 278

jwt관련 질문드립니다.

미해결

Next + React Query로 SNS 서비스 만들기

안녕하세요 제로초님. 강의 잘보고있습니다 강의와 관련된 질문이 아니라 죄송합니다.. 여러군데에서 찾아봐도 명쾌한 내용이 보이지 않아서 질문드립니다. 백엔드서버(spring)에서 jwt를 발급하는데, axios 인터셉터 처럼 401에러시 백엔드 jwt재발급요청을 하는방법이 Next에서 fetch함수에서는 할수가없는거 같더라고요. 저가 생각한 해결법은 2가지인데 어떤게 좋을까요..? next-auth 미사용, axios사용하기 fetch를 둘러싸는 customFetch()함수 정의하여 모든곳에서 사용하기

  • react
  • next.js
  • react-query
  • next-auth
  • msw
홍석 손 댓글 1 좋아요 1 조회수 229

스프링 오류 질문드립니다.

해결됨

package jpabook.jpashop; import org.assertj.core.api.Assertions; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.annotation.Rollback; import org.springframework.test.context.junit4.SpringRunner; import org.springframework.transaction.annotation.Transactional; @RunWith(SpringRunner.class) @SpringBootTest public class MemberRepositoryTest { @Autowired MemberRepository memberRepository; @Test @Transactional @Rollback(false) public void testMember() { Member member = new Member(); member.setUsername("memberA"); Long savedId = memberRepository.save(member); Member findMember = memberRepository.find(savedId); Assertions.assertThat(findMember.getId()).isEqualTo(member.getId()); Assertions.assertThat(findMember.getUsername()).isEqualTo(member.getUsername()); Assertions.assertThat(findMember).isEqualTo(member); //JPA 엔티티 동일성 보장 } } 위의 코드를 실행했는데, 아래와 같은 오류가 나왔습니다. 해결책을 알려주시면 감사하겠습니다. ... 91 common frames omitted ============================ CONDITIONS EVALUATION REPORT ============================ Positive matches: ----------------- None Negative matches: ----------------- None Exclusions: ----------- None Unconditional classes: ---------------------- None 2024-04-17T00:07:39.846+09:00 WARN 5176 --- [ Test worker] o.s.test.context.TestContextManager : Caught exception while allowing TestExecutionListener [org.springframework.test.context.web.ServletTestExecutionListener] to prepare test instance [jpabook.jpashop.MemberRepositoryTest@41a23470] java.lang.IllegalStateException: Failed to load ApplicationContext for [WebMergedContextConfiguration@48368a08 testClass = jpabook.jpashop.MemberRepositoryTest, locations = [], classes = [jpabook.jpashop.JpashopApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [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@49cb9cb5, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@146587a2, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@16c63f5, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@6127a7e, org.springframework.boot.test.context.SpringBootTestAnnotation@8694b330], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null] ... 55 more Caused by: org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment] due to: Unable to determine Dialect without JDBC metadata (please set 'jakarta.persistence.jdbc.url' for common cases or 'hibernate.dialect' when a custom Dialect implementation must be provided) > Task :test FAILED MemberRepositoryTest > testMember FAILED java.lang.IllegalStateException at DefaultCacheAwareContextLoaderDelegate.java:180 Caused by: org.springframework.beans.factory.BeanCreationException at AbstractAutowireCapableBeanFactory.java:1786 Caused by: org.hibernate.service.spi.ServiceException at AbstractServiceRegistryImpl.java:276 Caused by: org.hibernate.HibernateException at DialectFactoryImpl.java:191 1 test completed, 1 failed FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':test'. > There were failing tests. See the report at: file:///C:/study/jpashop/build/reports/tests/test/index.html * Try: > Run with --scan to get full insights. Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0. You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. For more on this, please refer to https://docs.gradle.org/8.7/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. BUILD FAILED in 6s 4 actionable tasks: 1 executed, 3 up-to-date

  • 김영한강사님
  • 스프링
  • spring
  • 강의
  • 오류
  • error
whdk333 댓글 1 좋아요 0 조회수 314

configService와 process.env

미해결

[코드팩토리] [초급] NestJS REST API 백엔드 완전 정복 마스터 클래스 - NestJS Core

안녕하세요 코팩님! class 작성 시에 다른 class를 상속하여 작성하는 경우 있잖아요 nestjs/passport를 이용해서 구글 oauth 로그인을 구현하려고 합니다. import { PassportStrategy } from '@nestjs/passport'; import { Strategy } from 'passport-google-oauth20'; import { Injectable } from '@nestjs/common'; import { ConfigService } from '@nestjs/config'; @Injectable() export class GoogleStrategy extends PassportStrategy(Strategy, 'google') { constructor(private readonly configService: ConfigService) { super({ clientID: this.configService.get('GOOGLE_CLIENT_ID'), clientSecret: this.configService.get('GOOGLE_CLIENT_SECRET'), callbackURL: 'http://localhost:3000/auth/google/callback', scope: ['email', 'profile'], }); } 이 경우에 super() 호출 전에 this 를 참조하려고 해서 에러가 발생합니다. 이런 경우에는 불가피하게 그냥 @Injectable() export class GoogleStrategy extends PassportStrategy(Strategy, 'google') { constructor() { super({ clientID: process.env.GOOGLE_CLIENT_ID, clientSecret: process.env.GOOGLE_CLIENT_SECRET, callbackURL: 'http://localhost:3000/auth/google/callback', scope: ['email', 'profile'], }); } 이렇게 직접 환경변수를 적어주는 방법 밖에는 없을까요?

  • javascript
  • typescript
  • rest-api
  • nestjs
  • backend
정민교 댓글 1 좋아요 0 조회수 299

강의자료 부탁드립니다

미해결

프로그래밍 시작하기 : 파이썬 입문 (Inflearn Original)

안녕하세요 강의 자료 부탁드립니다 감사합니다

  • python
jiho 댓글 1 좋아요 0 조회수 162

강의 중간중간에 1일차 2일차 몇교시 알려주시는거

해결됨

[코드캠프] 부트캠프에서 만든 고농축 프론트엔드 코스

지켜보고 싶습니다 제가 분량조절이 잘 안될것같아서요 혹시 일정표같은게 있을까요?

  • react
  • node.js
  • seo
  • graphql
  • next.js
김트랙 댓글 1 좋아요 0 조회수 316

errors.properties intelliJ 인식 문제

미해결

스프링 MVC 2편 - 백엔드 웹 개발 활용 기술

[질문 템플릿] 1. 강의 내용과 관련된 질문인가요? (예) 2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예) 3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예) [질문 내용] 왜 제 errors.properties 는 아이콘 모양이 바뀌지 않고 인식을 안하는 걸까요?

  • spring
  • mvc
goodyc 댓글 1 좋아요 0 조회수 461

findAny() 질문

미해결

스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술

학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요. 1. 강의 내용과 관련된 질문을 남겨주세요. 2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요. (자주 하는 질문 링크: https://bit.ly/3fX6ygx) 3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요. (질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG) 질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요. ========================================= [질문 템플릿] 1. 강의 내용과 관련된 질문인가요? (예) 2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예) 3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예) [질문 내용] 섹션3 회원 도메인과 리포지토리 만들기 강의 중 MemoryMemberRepository.java 의 findByName 코드에 대해 질문 있습니다. @Override public Optional<Member> findByName(String name) { return store.values().stream() .filter(member -> member.getName().equals(name)) .findAny(); } 해당 코드에서 findAny()는 하나라도 찾으면 반환한다고 설명해주셨는데 그럼 같은 이름의 서로 다른 회원이 여러 명 있어도 루프를 돌리면서 가장 먼저 찾은 한 명의 회원만 반환하는 건가요?

  • java
  • spring
  • mvc
  • spring-boot
이주영 댓글 1 좋아요 0 조회수 327

안드로이드 스튜디오 파이어베이스 연동

미해결

[초급편] 안드로이드 커뮤니티 앱 만들기(Android Kotlin)

안드로이드 스튜디오 최신버전(이구아나) 설치 후 최신 파이어베이스 연동 유튜브 보고 따라하는데 자꾸 Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1. 이렇게 오류가 뜹니다ㅠㅠ 버전이 맞지 않은 걸까요? 이전 버전 안드로이드 스튜디오를 사용해야 하나요?

  • android
  • kotlin
  • firebase
권정혁 댓글 1 좋아요 0 조회수 260

spring boot 초기 설치시 index파일

미해결

스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술

안녕하세요, spring boot를 처음에 설치하면 index.html이 없고 localhost:8080 으로 가면 error 문구가 적혀있는 화면이 출력됩니다. 개발자도구에 들어가서 보니까 해당 부분이 index이라고 되어있던데 실제로 스프링 부트에서 찾아보니까 해당 내용은 찾을 수가 없었습니다. 스프링부트에서 프로젝트를 생성한 후 임시로 index.html 파일을 생성해준것인가요?!

  • java
  • spring
  • mvc
  • spring-boot
김경민 댓글 1 좋아요 0 조회수 659

/singup api 구현 에러

미해결

처음하는 파이썬 백엔드 FastAPI 입문 (FastAPI부터 비동기 SQLAlchemy까지) [풀스택 Part1-2]

안녕하세요. /signup api 구현시 500 error가 나서 문의드립니다. 테스트 해보니, plain_text로 bcrypt 변환 없이 바디에 적은 password 그대로 디비 저장시에는 문제가 없는데 hashed_password로 변환시에 해당 에러가 발생합니다. 확인부탁드립니다. 감사합니다.

  • python
  • mvc
  • sqlalchemy
  • FastAPI
  • backend
댓글 1 좋아요 0 조회수 262

4.1 버전이 되면서 Auto smooth가 변경되었는데

해결됨

친절한 블렌더 - [LV.2] 모델링 연습

벽에서 기둥으로 넘어가 공부하고 있는 도중에 궁금해서 질문드려요 Auto smooth 가 메뉴에서 삭제되고 shade smooth by angle 이란 메뉴로 바뀌었는데 30도 기본 각도대로 적용해서 작업하면 될까요? 모디파이어에 smooth by angle 로 Auto smooth가 이동해 갔다라고 해서 적용해봤는데 기둥 가운데에 여전히 연하게 나눠진 선느낌이 나서 이걸 도대체 어떻게 수정해야 할 지 알려주시면 감사하겠습니다

  • blender
  • 3d
  • 3d-rendering
  • 3d-modeling
flyingibic 댓글 1 좋아요 1 조회수 2462

VUE에서 라우터를 쓰면 django랑 연동이 안되나요?

미해결

Vue.js - Django 연동 웹 프로그래밍 (실전편)

vue에서 라우터 기능이 정말 좋다고 생각했는데 강의에서 메인콤포넌트로 해서 공유했던 방식이 아니라 메인 페이지에 두고 라우터 기능으로 하단만 바뀌게 하는게 훨씬 좋을 것 같아서요. vue라우터 기능을 못쓰면 장고랑 연동할지도 고민이 됩니다. 꼭 답변 부탁드려요. ㅠㅠ

  • vue.js
  • django
  • vuetify
강지행 댓글 1 좋아요 0 조회수 319

강의대로 따라했는데 NullReferenceException 에러 발생하시는 분들 (section 2 - 스킬 수정)

미해결

[켠김에 출시까지] 유니티 방치형 키우기 게임 (M1 + C1)

강의 내용대로 잘 따라했는데 bear가 공격 애니메이션을 실행하지 않고, 다음과 같이 에러 메세지가 뜨는 분들을 위해 해결방법 공유합니다. NullReferenceException: Object reference not set to an instance of an object Creature.UpdateSkill () (at Assets/@Scripts/Controllers/Creature/Creature.cs:199) Monster.UpdateSkill () (at Assets/@Scripts/Controllers/Creature/Monster.cs:126) Creature+<CoUpdateAI>d__85.MoveNext () (at Assets/@Scripts/Controllers/Creature/Creature.cs:161) UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/Coroutines.cs:17) MonsterData.csv에서 '곰'이 있는 마지막 줄에서 10004를 10001로 수정하시고 다시 ParselExcel 실행하신 뒤 실행하면 정상 동작합니다. 나중에 추가될 애니메이션이 이 시점에는 아직 없는 듯 하네요. 한참 헤매다가 겨우 해결했습니다 ^^;;

  • C#
  • unity
  • MMORPG
빈스 댓글 1 좋아요 1 조회수 435

h2 db 설치 후 테이블 생성에서 오류

해결됨

스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술

어떤게 문제 일까요.....

  • java
  • spring
  • mvc
  • spring-boot
댓글 1 좋아요 1 조회수 223

ChatRoom에서 synchronized 사용 이유

미해결

자바 기초부터 마스터하기 with 은종쌤 (Do it 자바 프로그래밍 입문) - Part 2(마스터편)

당장에는 문제가 발생하지 않아도 나중에 많은 쓰레드의 공유 자원에 대해서는 동기화 처리가 필요하기 때문에 synchronized method로 선언한걸까요? 해당 예제에서는 모종의 이유로 연결이 해제되어 ChatRoom에서 remove되어야 할 때 해당 쓰레드만이 remove()를 호출하여 동기화 처리가 굳이 필요 없는게 아닌지 궁금합니다.

  • java
  • 객체지향
  • 알고리즘
잇택잇 댓글 1 좋아요 0 조회수 518

다중 Job 구동시 질문 있습니다!!

미해결

[스프링 배치 입문] 예제로 배우는 핵심 Spring Batch

안녕하세요. 강사님! 다중 Job 구동 시에 질문이 있습니다. 별도의 작업을 하는 Job을 생성하여 배치를 돌릴때, 각각의 Job을 테스트 하기 위해서는 파라미터로 Job Name을 넘겨주는 방법 밖에 없는 건가요?!

  • spring-batch
rogguh 댓글 1 좋아요 0 조회수 342

혹시 DTO에 대해서 설명해 주실수 있나요?

미해결

ASP.NET Core MVC +ASP.NET Core +REST API +.NET 8.0

DTO라는 개념이 이후 강의에서도 계속 나오는데, 개념 설명이나 이걸 왜 쓰는지에 대해 자세히 나온게 없는거 같아서 질문드립니다. (물론 제가 못 찾은 거 일수 있습니다. 만약 강의에 있다면 어디쯤에 나오는지만 알려주시면 제가 참고해서 보겠습니다.) 그리고 endpoint(끝점?) 이것도 모르겠습니다... 개념 설명좀 부탁드립니다.

  • C#
  • mvc
  • rest-api
  • 아키텍처
  • mssql
  • ef-core
  • asp.net-core
kbj0619 댓글 3 좋아요 0 조회수 415

인기 태그

인프런 TOP Writers

주간 인기글