묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술
경로 질문드립니다.
안녕하세요. @GetMapping("/hello") public void hello(Model model){ model.addAttribute("data", "hello!"); } 웹 브라우저에서 hello 경로로 접근할 때 컨트롤러에서 리턴 값으로 문자를 반환하면 뷰 리졸버가 화면을 찾아서 처리한다고 하셨는데 return 반환값이 없는 void로 해도 접근이 가능해서요. hello 경로에 접근하면 스프링 내부에서 resources -> static -> templates 순서대로 hello.html이 있는지 확인하는게 아닌가 싶어서 질문드립니다!
-
미해결비전공자를 위한 진짜 입문 올인원 개발 부트캠프
img src="" 에서 경로 지정에 대해 여쭤 봅니다
react 사용시 기본 경로가 public에서 시작한다고 말씀 하신걸로 압니다 img src="" 경로를 작성할떄 images/icons... 이렇게 할떄도 있고 /images/icons 이렇게 할때도 있었는데 두개 모두 public에서 시작한다고 보고 똑같이 경로를 찾아가는건가요
-
미해결스스로 구축하는 AWS 클라우드 인프라 with 테라폼(Terraform) - 기본편
Error: Reference to undeclared resource
listener 구성할 때 미리 ELB를 만들지 않은 상태에서 "aws_lb_listener" 을 tf에 추가하여 plan을 하면 "Reference to undeclared resource" 오류가 발생합니다. ELB 를 terraform으로 일괄 생성할 수 있도록 하려면, 어떻게 해야하는 지 알고 싶습니다. dependency 관련 설정이 필요해보이는데 도움 부탁드립니다 resource "aws_lb_listener" "front_end" { load_balancer_arn = aws_lb.test.arn port = "80" protocol = "HTTP" #ssl_policy = "ELBSecurityPolicy-2016-08" #certificate_arn = "arn:aws:iam::187416307283:server-certificate/test_cert_rab3wuqwgja25ct3n4jdj2tzu4" default_action { type = "forward" target_group_arn = aws_lb_target_group.test.arn } } Error: Reference to undeclared resource 업데이트 depend_on 해봤는데 안되고, 아래와 같이 변경하니 되긴 하네요. #load_balancer_arn = aws_lb.test-lb.arn load_balancer_arn = "${aws_lb.test-lb.arn}"
-
미해결스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술
view환경설정 질문드리고 싶습니다.
안녕하세요! view환경설정 수업을 듣고 따라하다가 문제가 생겨서 질문드리고 싶습니다! HelloController 부분을 따라하다가 오류가 생겼는데, HelloController가 활성화되지 않고 attributeName 과 attributeValue가 값이 정의되지 않는데 어떻게 해결하면 좋을 지 모르겠어서 질문드립니다! 질문 읽어주셔서 감사합니다!
-
미해결부트스트랩 5(Bootstrap 5) - 기초부터 웹 프로젝트 만들기
프로젝트 2 - Map section (Kakao api map Jasvascript)
프로젝트 2 - Map section (Kakao api map Jasvascript) 강의 따라서 적용시켜도 맵이 화면에 안나타나서~ 위도, 경도 제공 문제인건지요... ㅠㅠ 강의 따라서 작업한 소스코드는 아무 이상이 없고~ 강사님 작성하신 코드 파일 열어보니 강사님이 하신것도 적용이 안되있는데요. 맵 적용시키려면 어떻게 해야하는지 여쭤봐요.
-
미해결스스로 구축하는 AWS 클라우드 인프라 with 테라폼(Terraform) - 기본편
aws_subnet_ids 가 deprecated 예정이라고 합니다.
aws_subnet_ids 가 deprecated 예정이어서 aws_subnets 으로 사용하라고 하는데, 강의내용도 이 부분에 대해 반영해주시면 좋을 것 같습니다. Data Source: aws_subnet_ids aws_subnet_ids provides a set of ids for a vpc_id This resource can be useful for getting back a set of subnet ids for a vpc. NOTE: The aws_subnet_ids data source has been deprecated and will be removed in a future version. Use the aws_subnets data source instead.
-
미해결[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] Part1: C# 기초 프로그래밍 입문
Rambda의 == 는 어떻게 읽는 건가요?
C#의 대입 연산자는 = 고 비교연산자는 == 로 숙지하고 있는데 그럼 Rambda의 ==가 item.ItemType 와 ItemType.Weapon이 동일하면 반환된다는 건가요 ?
-
미해결
파워쿼리로 자동화한 엑셀 파일을 다른 컴퓨터로 옮길 수 있나요?
파워쿼리 수업을 듣고 업무를 자동화하였는데, 팀원에게 공유할 일이 있습니다. 참조하는 엑셀파일들이 정해진 폴더안에 있어 파일 전달시 오류가 납니다 경로를 변경하면 해결 가능할지 궁급함니다.
-
미해결CCNA - Cisco Certified Network Associate (200-301) 자격증 과정
ip route 10.0.0.1 대신 10.0.0.0 입력하는 이유가
무엇인가요?
-
미해결자바스크립트 : 기초부터 실전까지 올인원
쌤 궁금한 것이 있는데요
Bootstrap과 React를 같이 쓸 수 있나요? 그리고 문제? 가 생겼는데요~ 다른 카테고리는 너무 잘나오는데..? 가끔 글씨가 깨져요 ... 어떻게...해야..ㅠㅠ
-
미해결[리뉴얼] 처음하는 MongoDB(몽고DB) 와 NoSQL(빅데이터) 데이터베이스 부트캠프 [입문부터 활용까지] (업데이트)
brew install mongodb 설치 에러
brew install mongodb 실행후 다음같은 에러가 나옵니다. WWarning: No available formula with the name "mongodb". Did you mean mongosh or monetdb? ==> Searching for similarly named formulae... These similarly named formulae were found: mongodb-atlas-cli ✔ mongodb/brew/mongodb-community@4.2 mongodb/brew/libmongocrypt mongodb/brew/mongodb-community@4.4 mongodb/brew/mongocli mongodb/brew/mongodb-database-tools ✔ mongodb/brew/mongodb-community ✔ mongodb/brew/mongodb-mongocryptd mongodb/brew/mongodb-community-shell mongodb/brew/mongodb-mongocryptd@4.2 mongodb/brew/mongodb-community@3.2 mongodb/brew/mongodb-mongocryptd@4.4 mongodb/brew/mongodb-community@3.4 mongosh ✔ mongodb/brew/mongodb-community@3.6 monetdb mongodb/brew/mongodb-community@4.0 To install one of them, run (for example): brew install mongodb-atlas-cli ✔ ==> Searching for a previously deleted formula (in the last month)... Error: No previously deleted formula found. mongodb 설치가 잘 안되어서 ubuntu에서 mongodb 설치시 에러가 나오는 건지도 궁금합니다. 해결 방법 좀 부탁드리겠습니다.
-
해결됨아마존 AWS 입문
sudo usermod –a –G apache ec2-user 이 명령어가 안먹어요
sudo usermod –a –G apache ec2-user 해당 명령어를 입력하면 아래같이 나옵니다. 이후 진행을 못하고 있어요. [ec2-user@ip-172-31-22-71 ~]$ sudo usermod –a –G apache ec2-user Usage: usermod [options] LOGIN Options: -c, --comment COMMENT new value of the GECOS field -d, --home HOME_DIR new home directory for the user account -e, --expiredate EXPIRE_DATE set account expiration date to EXPIRE_DATE -f, --inactive INACTIVE set password inactive after expiration to INACTIVE -g, --gid GROUP force use GROUP as new primary group -G, --groups GROUPS new list of supplementary GROUPS -a, --append append the user to the supplemental GROUPS mentioned by the -G option without removing him/her from other groups -h, --help display this help message and exit -l, --login NEW_LOGIN new value of the login name -L, --lock lock the user account -m, --move-home move contents of the home directory to the new location (use only with -d) -o, --non-unique allow using duplicate (non-unique) UID -p, --password PASSWORD use encrypted password for the new password -R, --root CHROOT_DIR directory to chroot into -s, --shell SHELL new login shell for the user account -u, --uid UID new UID for the user account -U, --unlock unlock the user account -Z, --selinux-user SEUSER new SELinux user mapping for the user account
-
미해결대세는 쿠버네티스 (초급~중급편)
좀전에 질문드린 vagrant up은 해결
download관련한 문제는 해결이 되었습니다. 하지만 모두 install후에 jon.sh파일에 아무것도 생성되지 않고 있네요 수동으로 설정을 해보았는데 [root@k8s-master ~]# kubeadm token create --print-join-command > ~/join.sh failed to load admin kubeconfig: open /root/.kube/config: no such file or directory To see the stack trace of this error execute with --v=5 or higher 이런 메세지만 보이네요 좋은 방법이 없을까요?
-
미해결자바 ORM 표준 JPA 프로그래밍 - 기본편
무한 루프 toString() 질문있습니다.
양쪽에 연관관계 편의 메소드가 있으면 toString() 호출시 무한 루프가 발생할 수 있기 때문에 한 쪽에만 편의 메소드를 생성하는 게 좋다고 하셨는데 이거는 연관관계 편의 메소드가 양쪽에 있어서가 아니라 Team도 members를 멤버 변수로 가지고 있고 Member도 team을 멤버 변수로 가지고 있어서 즉, 서로 참조하고 있어서 발생하는게 아닌가요? 헷갈려서 질문 드립니다!
-
미해결10주완성 C++ 코딩테스트 | 알고리즘 코딩테스트
struct 질문드립니다.
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. #include<bits/stdc++.h> using namespace std; struct Point{ int y, x; Point(int y, int x) : y(y), x(x){} Point(){y = -1; x = -1; } bool operator < (const Point & a) const{ if(x == a.x) return y < a.y; return x < a.x; } }; vector<Point> v; int main(){ for(int i = 10; i >= 1; i--){ Point a = {i, i}; v.push_back(a); } sort(v.begin(), v.end()); for(auto it : v) cout << it.y << " : " << it.x << '\n'; return 0; } 안녕하세요 교안 공부중에 모르는 부분이 있어서 질문드립니다. struct에 대해 잘 모르는 부분이 있다보니 아래 부분이 무슨의미인지 모르겠습니다. bool operator는 이해했습니다. Point(int y, int x) : y(y), x(x){} Point(){y = -1; x = -1; }
-
미해결차량 번호판 인식 프로젝트와 TensorFlow로 배우는 딥러닝 영상인식 올인원
후반부 강의자료 부탁합니다.
후반부 강의자료 부탁합니다. hwyj1030@gmail.com, hwkim0202@gmail.com
-
미해결자바스크립트 : 기초부터 실전까지 올인원
쌤 궁금한 것이 있습니다.
Bootstrap과 React를 같이 쓸 수 있나요?
-
미해결윤재성의 처음 시작하는 C언어
for문 조건식 질문
문자열 내 특정문자를 다른문자로 변환하는 예제를 푸는중입니다. for문의 조건식에 이렇게 배열을 이용한 예제도 있어 사용해 뵜는데 코드는 정상적으로 작동합니다. 그러나 시용된 for문 조건식의 의미를 잘 모르겠어서 질문남깁니다. 혹시 조건식의 의미가 입력된 문자열 크기만큼 반복한다는 의미인가요? int main(){ char str[100]; char buf1,buf2; int i; puts("input:"); gets(str); puts("transe:"); scanf("%c %c",&buf1,&buf2); for(i=0;str[i];i++)if(str[i]==buf1)str[i]=buf2; puts(str); }
-
미해결배달앱 클론코딩 [with React Native]
const errorResponse: AxiosResponse<unknown, any> 개체가 '알 수 없는' 형식입니다
try { setLoading(true); const response = await axios.post(`${Config.API_URL}/user`, { email, name, password, }); Alert.alert('알림', '회원가입 되었습니다.'); navigation.navigate('SignIn'); } catch (error) { const errorResponse = (error as AxiosError).response; console.error(errorResponse); if (errorResponse) { Alert.alert('알림', errorResponse.data.message); } } finally { setLoading(false); } if안에서 errorResponse 타입을 지정하라고 에러가 계속 납니다 강의에서는 안나는 부분인데 어떻게 해야 하나요?
-
미해결탄탄한 백엔드 NestJS, 기초부터 심화까지
nestjs에서 express의 Reqest객체를 사용할 때 req를 이용해서 미들웨어끼리 값을 공유할수 있는지 궁금합니다.
제가 express를 몇번 사용해보고 상석님 강의를 보게 되었는데 제가 진행하던 프로젝트에서 첫 번째 미들웨어에서 req에 값을 넣은 후 두 번째 미들웨어에서 그값을 다시 사용하였던적이 있었는데 nestjs에서는 그 방법이 효용될까요? 예를 들어 data라는 이름의 req 프로퍼티를 만들면 data라는 이름은 정의되어있지 않다고 해서요. req.data 'Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>' 형식에 'data' 속성이 없습니다.ts(2339)