inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

묻고 답해요

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

기본생성자

미해결

나도코딩의 자바 기본편 - 풀코스 (20시간)

모든 클래스에는 기본생성자가 필요한 건지 궁금합니다. 매개변수를 받는 생성자가 있어도 기본생성자는 꼭 필수록 클래스에 있어야 하는 건지 궁금합니다!!

  • java
  • 객체지향
코딩짱지해 댓글 1 좋아요 0 조회수 343

https://api.covid19api.com/summary에 있는 원격 리소스를 차단

미해결

실전 프로젝트로 배우는 타입스크립트

교차 출처 요청 차단: 동일 출처 정책으로 인해 https://api.covid19api.com/summary에 있는 원격 리소스를 차단했습니다. (원인: CORS 요청이 성공하지 못함). 상태 코드: (null). Uncaught (in promise) Object { stack: "M@ https://unpkg.com/axios/dist/axios.min.js:1:7431\nEe.xhr</</u.onerror@https://unpkg.com/axios/dist/axios.min.js:1:22492\n", message: "Network Error", name: "AxiosError", code: "ERR_NETWORK", config: {…}, request: XMLHttpRequest } 안녕하세요 ! 며칠 전에 사서 프로젝트 들어갔는데 cors 요청 해결 하면 되는건가요 아니면 아래 질문들처럼 이제 api 중단됬나요 ? ㅠㅠ 존스 홉킨스 코로나 현황판은 잘 보이는거 같은데 중단 됬다면 어떤걸로 적용해서 수업 진행해야하나요 .. axios로 가져오는 법도 잘 몰라서 공부해보려고 이 강의로 들어온건데 일단 자료가 안오니 넘 당황스럽숩니다 쌤 ............

  • typescript
  • es6
김희연 댓글 2 좋아요 3 조회수 817

Elastic Container Service(ECS)

해결됨

AWS Certified Solutions Architect - Associate 자격증 준비하기

안녕하세요 강사님 질문이 있습니다. ECS에서 설정해주는 ALB, NLB는 Ec2간에 LB 가 맞나요? 아니면 테스크를 여러개 설정하여 여려개의 컨테이너가 기동중일때는 요 컨테이너 간에 LB도 해주는것인가요?

  • 네트워크
  • aws
dohyun_lim 댓글 1 좋아요 0 조회수 376

권한요청

해결됨

[취업폭격기] 공공기관 전산직 취업 치트키 : NCS·전공·PT면접까지 한 번에 뚫는 정규과정

자료 권한 요청드립니다. 구글폼으로 작성했는데 확인부탁드려요

  • 면접
  • 이력서
  • 기술면접
튜브 댓글 1 좋아요 1 조회수 332

배포까지 완료한 프로젝트 수정 질문있습니다!

미해결

자바와 스프링 부트로 생애 최초 서버 만들기, 누구나 쉽게 개발부터 배포까지! [서버 개발 올인원 패키지]

안녕하세요~ 강사님! 강의보고 다 만들고 배포까지 완료한 홈페이지에서 수정할게 있어서 수정해서 git에 업로드까지 했습니다. 그런데 Ec2 서버에 적용시킬때 기존 library-app폴더를 완전히 삭제 후 다시 git에서 전체 업로드 해서 빌드해야하나요?? 아니면 부분 수정이 가능 한걸까요?? 어떤 방법으로 수정처리 해야하는지 궁금합니다!!!

  • java
  • spring
  • aws
  • mysql
  • spring-boot
  • jpa
정현우 댓글 1 좋아요 1 조회수 534

강의 듣으면서...포스트 맨도 안됩니다

미해결

리액트로 나만의 블로그 만들기(MERN Stack)

강의 듣으면서.... 몽고db 가 강의랑 틀려서...못했습니다.... 포스트맨 했는데... 안됩니다... https://github.com/leechangseop71/leechangseop71.github.io 제 깃 허브 주소 입니다 무엇이 잘못된 것인지 모르겠습니다 실행 시키면 이렇게 되네요

  • react
  • redux
  • node.js
  • bootstrap
  • mongodb
  • express
댓글 1 좋아요 0 조회수 287

강의 환불 취소

미해결

강의를 수강 전에 실수로 강의 취소를 눌렀는데 되돌리고싶습니다. 환불 진행 후 재신청을 해야하나요? 복구 부탁드립니다

댓글 1 좋아요 0 조회수 509

깃에서 풀 리퀘스트 보내는 중 오류

해결됨

모두의 깃 & 깃허브

명령어로 풀 리퀘스트 보내기 실습 중, 마지막에 풀 리퀘스트 보낼 때 아래와 같은 오류가 뜹니다. 오류가 뜬 이유랑 해결 방법이 궁금합니다.

  • git
  • github
daniel29.family2 댓글 1 좋아요 0 조회수 318

ranges질문입니다

미해결

C++20 훑어보기

auto results2 = v1 | std::views::filter([](int n) { return n % 2 == 0; }) | std::views::transform([](int n) { return n * 2; }) | std::views::take(3); 예제에 있는 코드인데요.. 이 results2라는 것은 메모리 공간을 또 할당하는 것인가요? 아니면 메모리 공간없이 벡터에 접근해서 원하는 조건하에서 데이터를 읽어내기만 하는 것인가요?

  • c++
Jeong-ah Yoon 댓글 1 좋아요 1 조회수 236

강의 자료

미해결

비전공자/입문자를 위한 Data Science(DS)와 AI 학습 & 취업 가이드

강의 자료 부탁 드리겠습니다. mue@naver.com

  • 머신러닝
  • 딥러닝
엄마곰 댓글 1 좋아요 0 조회수 255

SecurityConfig질문

미해결

스프링 시큐리티

안녕하세요 강의잘듣고 있습니다!. 해당 강의부터 엑셀에 작성해주신대로 05-01브랜치를 참고하여 강의를 진행하고 있습니다. SecurityConfig.java를 보면, ajax LOGIN방식을 DSL로 구현한게 Form방식과 합쳐져 있는데 이 설정하나로 form / ajax로그인 두 방식모두 지원하는건가요?

  • java
  • spring-boot
  • spring-security
이북자 댓글 1 좋아요 0 조회수 324

testMember 시 insert가 안 되는 문제

미해결

실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발

testMember에서 table은 생성이 되는데 값이 insert가 안 됩니다. 구글링을 해도 이유를 모르겠어서 질문 드립니다. [directory 구조] [ Member.java ] [Repository] [MemberRepositoryTest] [application.yml] [build.gradle] plugins { id 'java' id 'org.springframework.boot' version '3.1.3' id 'io.spring.dependency-management' version '1.1.3' } group = 'com.jpabook' version = '0.0.1-SNAPSHOT' java { sourceCompatibility = '17' } configurations { compileOnly { extendsFrom annotationProcessor } } repositories { mavenCentral() } dependencies { implementation 'org.springframework.boot:spring-boot-starter-data-jpa' implementation 'org.springframework.boot:spring-boot-starter-thymeleaf' implementation 'org.springframework.boot:spring-boot-starter-validation' implementation 'org.springframework.boot:spring-boot-starter-web' implementation 'org.springframework.boot:spring-boot-devtools' compileOnly 'org.projectlombok:lombok' runtimeOnly 'com.h2database:h2' annotationProcessor 'org.projectlombok:lombok' testImplementation 'org.springframework.boot:spring-boot-starter-test' testImplementation("org.junit.vintage:junit-vintage-engine") { exclude group: "org.hamcrest", module: "hamcrest-core" } } tasks.named('test') { useJUnitPlatform() } test { useJUnitPlatform() } [실행 후 DB] 아래의 log를 보면 create 쿼리가 날라가는 것은 확인 되지만 insert query는 보이지 않습니다. [log] :: Spring Boot :: (v3.1.3) 2023-09-05T04:30:50.821+09:00 INFO 49729 --- [ restartedMain] com.jpabook.jpabook.JpabookApplication : Starting JpabookApplication using Java 17.0.6 with PID 49729 (/Users/innahyeon/study/jpabook/build/classes/java/main started by innahyeon in /Users/innahyeon/study/jpabook) 2023-09-05T04:30:50.822+09:00 INFO 49729 --- [ restartedMain] com.jpabook.jpabook.JpabookApplication : No active profile set, falling back to 1 default profile: "default" 2023-09-05T04:30:50.841+09:00 INFO 49729 --- [ restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable 2023-09-05T04:30:50.841+09:00 INFO 49729 --- [ restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' 2023-09-05T04:30:51.061+09:00 INFO 49729 --- [ restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2023-09-05T04:30:51.068+09:00 INFO 49729 --- [ restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 4 ms. Found 0 JPA repository interfaces. 2023-09-05T04:30:51.294+09:00 INFO 49729 --- [ restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) 2023-09-05T04:30:51.298+09:00 INFO 49729 --- [ restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2023-09-05T04:30:51.298+09:00 INFO 49729 --- [ restartedMain] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.12] 2023-09-05T04:30:51.320+09:00 INFO 49729 --- [ restartedMain] o.a.c.c.C.[Tomcat].[ localhost ].[/] : Initializing Spring embedded WebApplicationContext 2023-09-05T04:30:51.321+09:00 INFO 49729 --- [ restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 480 ms 2023-09-05T04:30:51.331+09:00 INFO 49729 --- [ restartedMain] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 2023-09-05T04:30:51.387+09:00 INFO 49729 --- [ restartedMain] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection conn0: url=jdbc:h2:tcp:// localhost/~/jpastudy1 user=SA 2023-09-05T04:30:51.388+09:00 INFO 49729 --- [ restartedMain] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 2023-09-05T04:30:51.392+09:00 INFO 49729 --- [ restartedMain] o.s.b.a.h2.H2ConsoleAutoConfiguration : H2 console available at '/h2-console'. Database available at 'jdbc:h2:tcp:// localhost/~/jpastudy1 ' 2023-09-05T04:30:51.435+09:00 INFO 49729 --- [ restartedMain] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2023-09-05T04:30:51.460+09:00 INFO 49729 --- [ restartedMain] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.2.7.Final 2023-09-05T04:30:51.461+09:00 INFO 49729 --- [ restartedMain] org.hibernate.cfg.Environment : HHH000406: Using bytecode reflection optimizer 2023-09-05T04:30:51.511+09:00 INFO 49729 --- [ restartedMain] o.h.b.i.BytecodeProviderInitiator : HHH000021: Bytecode provider name : bytebuddy 2023-09-05T04:30:51.568+09:00 INFO 49729 --- [ restartedMain] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2023-09-05T04:30:51.660+09:00 INFO 49729 --- [ restartedMain] o.h.b.i.BytecodeProviderInitiator : HHH000021: Bytecode provider name : bytebuddy 2023-09-05T04:30:51.882+09:00 INFO 49729 --- [ restartedMain] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2023-09-05T04:30:51.887+09:00 DEBUG 49729 --- [ restartedMain] org.hibernate.SQL : drop table if exists member cascade Hibernate: drop table if exists member cascade 2023-09-05T04:30:51.889+09:00 DEBUG 49729 --- [ restartedMain] org.hibernate.SQL : drop sequence if exists member_seq Hibernate: drop sequence if exists member_seq 2023-09-05T04:30:51.891+09:00 DEBUG 49729 --- [ restartedMain] org.hibernate.SQL : create sequence member_seq start with 1 increment by 50 Hibernate: create sequence member_seq start with 1 increment by 50 2023-09-05T04:30:51.892+09:00 DEBUG 49729 --- [ restartedMain] org.hibernate.SQL : create table member ( id bigint not null, username varchar(255), primary key (id) ) Hibernate: create table member ( id bigint not null, username varchar(255), primary key (id) ) 2023-09-05T04:30:51.895+09:00 INFO 49729 --- [ restartedMain] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2023-09-05T04:30:51.926+09:00 WARN 49729 --- [ restartedMain] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning 2023-09-05T04:30:51.975+09:00 INFO 49729 --- [ restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] 2023-09-05T04:30:52.047+09:00 INFO 49729 --- [ restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 2023-09-05T04:30:52.061+09:00 INFO 49729 --- [ restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' 2023-09-05T04:30:52.066+09:00 INFO 49729 --- [ restartedMain] com.jpabook.jpabook.JpabookApplication : Started JpabookApplication in 1.393 seconds (process running for 1.638)

  • java
  • spring
  • 웹앱
  • spring-boot
  • jpa
  • 김영한
nahyeon 댓글 1 좋아요 0 조회수 916

mongo shell 실행이 안됩니다 - not found

미해결

[웹 개발 풀스택 코스] Node.js 프로젝트 투입 일주일 전 - 기초에서 실무까지

터미널에 몽고를 입력했지만 not found 라고 뜹니다. 재시동해도그런데 뭐가 문제일까요?

  • node.js
  • mysql
  • mongodb
  • express
  • 웹-크롤링
  • socket.io
upward070 댓글 1 좋아요 0 조회수 268

14분 15초경 질문있습니다.

해결됨

[코드캠프] 시작은 프리캠프

rel="stylesheet"에서 스타일시트는 뭐를 의미 하나요? 자동완성도 안되던데 왜 패스워드 부분의 색을 바꾸는건지 궁금합니다.

  • HTML/CSS
  • javascript
지 민 댓글 1 좋아요 0 조회수 192

클래스 방식말고

미해결

만들면서 배우는 프론트엔드 DO IT 코딩 (Next.js, Typescript)

- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 설명해주신 싱글톤? 방식말고 평소에 사용하는 방식으로 바꿔봤는데 맞는지 검사가능할까요?? hello.ts import { NextApiRequest, NextApiResponse } from 'next'; const admin = require('../../model/firebase_admin'); export default function handler(_: NextApiRequest, res: NextApiResponse) { const db = admin.firestore(); db.collection('test'); res.status(200).json({ name: 'John Doe' }); } modle/firebase_admin.ts const admin = require('firebase-admin'); interface Config { credentials: { privateKey: string; clientEmail: string; projectId: string; }; } if (!admin.apps.length) { const config: Config = { credentials: { projectId: process.env.projectId || '', clientEmail: process.env.clientEmail || '', privateKey: process.env.privateKey?.replace(/\\n/g, '\n') || '', }, }; admin.initializeApp({ credential: admin.credential.cert(config.credentials), }); console.info('bootstrap firebase admin'); } module.exports = admin; 현재 firestore만 hello.ts에서 test 보내는 방식만 따라해봤습니다! 질문 1. 이 방식으로 사용해도 될까요?? 이 방식으로 문제될게 있을까요? 질문 2. 아래 코드가 출력이 안되는데 이유가 있을까요? console.info('bootstrap firebase admin'); 위 전체코드에서처럼 if문안에 작성하게되면 콘솔이 영상처럼 터미널에 안뜨는데 왜그런걸까요? if문 밖에 선언하면 잘 출력됩니다.

  • next.js
oridori2705 댓글 1 좋아요 0 조회수 370

TODO 테스트 코드 작성

해결됨

실전! FastAPI 입문

저의 경우는 아래와 같이 해주어야 테스트 코드가 통과됩니다. 그 이후는 sql 도커의 데이터가 5개가 있어서 실제는 5개이기 때문이라 생각되어지는데요. 강의를 보면서 테스트코드 감을 못잡앗는데, 궁금한 점은 테스트 코드에서 user 변수에다가 id1 이고 test란 이름의 유저네임을 넣어주고 거기다가, todos를 목업으로 2개를 넣어줬는데, 왜 마지막에 assert할때는 user.todos에 넣어준 배열로 하는게 아닌 실제 db들어간 5개의 데이터로 assert로 체크하더라구요. 그러면 아래 mocker patch해준 부분이 제대로 안먹는건가요? 흠.. user = User(id=1, username="test", password="hashed") user.todos = [ ToDo(id=1, contents="FastAPI Section 0", is_done=True), ToDo(id=2, contents="FastAPI Section 1", is_done=False), ] mocker.patch.object(UserRepository, "get_user_by_username", return_value=user) def test_get_todos(client, mocker): access_token: str = UserService().create_jwt(username="test") headers = {"Authorization": f"Bearer {access_token}"} user = User(id=1, username="test", password="hashed") user.todos = [ ToDo(id=1, contents="FastAPI Section 0", is_done=True), ToDo(id=2, contents="FastAPI Section 1", is_done=False), ] mocker.patch.object(UserRepository, "get_user_by_username", return_value=user) # order=ASC response = client.get("/todos", headers=headers) assert response.status_code == 200 assert response.json() == { "todos": [ {"id": 1, "contents": "FastAPI Section 0", "is_done": True}, {"id": 2, "contents": "FastAPI Section 0", "is_done": True}, {"id": 3, "contents": "string", "is_done": True}, {"id": 4, "contents": "string", "is_done": True}, {"id": 5, "contents": "string", "is_done": True}, ] } # order=DESC response = client.get("/todos?order=DESC", headers=headers) assert response.status_code == 200 assert response.json() == { "todos": [ {"id": 5, "contents": "string", "is_done": True}, {"id": 4, "contents": "string", "is_done": True}, {"id": 3, "contents": "string", "is_done": True}, {"id": 2, "contents": "FastAPI Section 0", "is_done": True}, {"id": 1, "contents": "FastAPI Section 0", "is_done": True}, ] }

  • python
  • 리팩토링
  • orm
  • FastAPI
  • pytest
luke 댓글 1 좋아요 0 조회수 360

차후 강의관련 질문사항입니다.

미해결

[코드팩토리] [중급] Flutter 진짜 실전! 상태관리, 캐시관리, Code Generation, GoRouter, 인증로직 등 중수가 되기 위한 필수 스킬들!

제발 파이어베이스를 플러터를 연동해서 앱을 만드는 강의 찍어 올려주시면 안될까요? 제발제발요 따로 강의내셔도 결제하고 들을게요 ㅠㅠ

  • flutter
Jacob Lee 댓글 2 좋아요 2 조회수 402

혹시 마프는 언제 오픈 되나요?

미해결

스프링 프레임워크는 내 손에 [스프2탄]

선생님 강의 정말 감사하게 잘 듣고 있는 학생입니다~ 선생님께서는 코딩 멍충이도 술술 이해 시키는 놀라운 마력을 가지고 계시는 거 같아요 항상 감사하는 마음 가지고 수업에 임하고 있습니다. 많이 바쁘시겠지만 혹시 언제 마프가 오픈되는지 알 수 있을까요? 이번 강의 마무리하고 곧 마프로 선생님 강의 듣고 싶은 학생입니다. 존경합니다~ 박매일 선생님!!

  • spring
  • jquery
  • mvc
  • jpa
  • spring-security
멍냥엄마 댓글 2 좋아요 0 조회수 399

-v flag 에 질문있습니다

미해결

초보를 위한 도커 안내서

volumn 은 -v flag 를 통해 설정해주고 로컬과 도커의 특정 경로를 동기화시켜주는것으로 알아들었는데요. (1) 긴가민가한것이.. 로컬과 도커를 연결해줄때 -v /dummy/path/dummy.txt:/docker/dummy/dummy.txt 와 같이 파일을 기준으로 명시해주면 해당 파일만 동기화가 되는것이고, -v /dummy/path:/docker/dummy 와 같이 폴더를 기준으로 명시해주면 해당 폴더 하위리소스들 모두가 동기화가 되는것인가요? (2) 또한 컨테이너를 삭제하고 같은 이미지를 통해 컨테이너를 다시 만들어줄때, 로컬의 파일이 우선시되어 도커내부의 파일이 overwrite 되는것인가요? 확실하게 알고싶습니다 죄송합니다ㅠㅠ

  • docker
PrivilegeEscalate 댓글 1 좋아요 0 조회수 278

원인모를 synthesis error가 뜹니다 도와주세요..

미해결

설계독학맛비's 실전 FPGA를 이용한 HW 가속기 설계 (LED 제어부터 Fully Connected Layer 가속기 설계까지)

================= 현업자인지라 업무때문에 답변이 늦을 수 있습니다. (길어도 만 3일 안에는 꼭 답변드리려고 노력중입니다 ㅠㅠ) 강의에서 다룬 내용들의 질문들을 부탁드립니다!! (설치과정, 강의내용을 듣고 이해가 안되었던 부분들, 강의의 오류 등등) 이런 질문은 부담스러워요.. (답변거부해도 양해 부탁드려요) 개인 과제, 강의에서 다루지 않은 내용들의 궁금증 해소, 영상과 다른 접근방법 후 디버깅 요청, 고민 상담 등.. 글쓰기 에티튜드를 지켜주세요 (저 포함, 다른 수강생 분들이 함께보는 공간입니다.) 서로 예의를 지키며 존중하는 문화를 만들어가요. 질문글을 보고 내용을 이해할 수 있도록 남겨주시면 답변에 큰 도움이 될 것 같아요. (상세히 작성하면 더 좋아요! ) 먼저 유사한 질문이 있었는지 검색해보세요. 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. ================== 안녕하세요 bitstream 생성시 synthesis error가 떠서 질문드립니다. message나 log에는 아무런 글씨가 없습니다.. 영상을 보고 그대로 따라했는데 왜 안될까요.. 도와주시면 감사드리겠습니다

  • fpga
  • 임베디드
파랑 댓글 1 좋아요 1 조회수 954

인기 태그

인프런 TOP Writers

주간 인기글