묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결스프링 MVC 2편 - 백엔드 웹 개발 활용 기술
GetMapping
[질문 내용] 안녕하세요 김영한 개발자님! 항상 강의 잘 보고 있습니다. 다름이 아니라 0:45분 경에 @GetMapping("link")부분에서 "/link"가 아닌 "link"로 작성해도 잘 동작하는 것이 궁금해서 질문 남겨요. @RequestMapping("/basic")부터 따지면 /basic/link가 되어야 될 것 같은데 /link 앞에 '/'를 없애도 스프링이 자동으로 삽입해 주는 건가요? 지난 강의에서 /basic/과 /basic이 동일하게 동작한다고 말씀하신 것 같은데 이와같은 이유때문일까요? 감사합니다!
-
미해결반응형 웹사이트 포트폴리오(Architecture Agency)
opacity-image background 문제
선생님 제가 .welcome-text를 flex를 이용해서 중앙정렬시켰거든요 그렇게 했더니 .opacity-image에 backgrund 넣어도 화면에 안뜨는데 원래 이런건가요?
-
미해결Flutter 중급 1편 - 클린 아키텍처
테스트 범위 질문드립니다.
핵심 로직을 테스트하기 위해 가짜목을 사용하는 것은 이해했는데요. 최종단의 client가 실제 정상 통신하는지까지의 테스트는 통상적으로 하지 않는 것인가요? 예를들어 api를 제공하는 벤더사에서 응답 데이터의 형태를 바꾸거나 api uri 규칙을 바꾸게 되면 실제 앱은 오류를 뱉을텐데 이런 부분은 어떤식으로 테스트 전략을 짜야하는지 궁금합니다.
-
해결됨[2026년 출제기준] 웹디자인개발기능사 실기시험 완벽 가이드
제이쿼리 setInterval 관련 질문
css보다 코드는 간결한데 조금 헷갈려서 좀 더 명확히 이해하고자 질문드립니다ㅜ! 본문영상과 같은 상황일때 여기서 eq(1)이 가장 먼저 실행되고 eq(1)은 즉 이미지01 eq(2)은 이미지02 eq(0)이 가장 마지막에 실행되고 eq(0)은 이미지03 으로 보면 되는걸까요?
-
미해결프론트엔드 개발환경의 이해와 실습 (webpack, babel, eslint..)
file-loader를 이용할 때 png 파일이 깨지는 현상 .
강의의 버전과는 다르게, 최신버전의 webpack v5.70.0 을 사용하고 있습니다. 강의 내용을 따라 하다보면 file-loader를 이용해서, bg.png와 times-circle.png를 dist파일로 옮겨놔야 하는데 이 때, jpg는 정상적으로 파일이 옮겨지는 반면에 png파일은 작동하지 않습니다. 이와 관련해서 찾아보니, v5 버전 이후 [file-loader, url-loader, raw-loader]는 webpack의 기본 모듈로 채택되면서 더 이상 v6버전의 webpack과 호환이 되지 않는다고 합니다. 그러니, [file-loader,url-loader]를 설치하지 마시고 이 링크 `https://webpack.js.org/guides/asset-modules` 를 참고 하시어 사용 방법을 확인해보시는게 좋은 것 같습니다. 아래는 url-loader를 현 강의의 예제와 동일하게 url-loader를 사용하는 방법입니다. 1-webpack/2-loader 브런치 실습 예제에서 사용 하실 수 있습니다. 2-loader의 times-circle.png 파일은 7kb 정도이니, 아래의 코드를 이용하면 times-circle.png 파일은 데이터 스트링으로 url() 함수의 인자로 전달 된 것을 볼 수 있을 겁니다. const path = require('path'); module.exports = { mode: 'development', entry: { main: './src/app.js' }, output: { filename: '[name].js', path: path.resolve('./dist'), assetModuleFilename: '[hash][ext][query]' //file-loader output }, module: { rules: [ { test: /\.css$/, use: [ 'style-loader', 'css-loader' ] }, { //url-loader 사용시 test: /\.(jpe?g|gif|png)$/i, type: 'asset', parser: { dataUrlCondition: { maxSize: 8 * 1024 // 8kb } } }, // { //file-loader 만 사용시 // test: /\.(jpe?g|gif|png)$/i, // type: 'asset/resource', // } ] } }
-
미해결[초급편] 안드로이드 커뮤니티 앱 만들기(Android Kotlin)
커스텀 다이얼로그를 fragment에 띄우는 방법이 있을까요?
다이얼로그를 activity에서 띄우는 방법은 이 강의에 있는 것을 따라하면 잘 작동이 되는것을 확인했습니다. 그렇다면 fragment에서 다이얼로그를 띄우는 방법이 있을까요? 그대로 했을 경우 작동이 잘 되지 않아 질문 드립니다
-
미해결비전공자를 위한 진짜 입문 올인원 개발 부트캠프
그림과 설명이 출력이 맞지 않게 되는데, 어떤 코드를 봐야할지 알려주실 수 있을까요?
web-main-index.js server- server.js 의 경우 강사님의 코드와 다른 것이 없는데, 사진과 같이 사진과 아래 표기가 일치하지 않고 또한 키보드(축구공 사진)을 클릭하면 농구공 화면이 뜨면서 조던이 사용하던 농구공입니다!가 나오지만 그 외 나머지 두 개는 아무것도 뜨지않습니다 . ㅠㅠ 이런 경우에 어떤 코드가 문제일까요
-
미해결자바 ORM 표준 JPA 프로그래밍 - 기본편
프록시 초기화 시 만들어지는 실제 엔티티
프록시 객체가 초기화 할 때 영속성 컨텍스트를 통해서 실제 엔티티를 생성하고 생성된 실제 엔티티를 프록시 객체의 target 변수에 참조해준다고 하셨는데 이 때 만들어진 실제 엔티티는 영속성 컨텍스트에 존재하고 있는 건가요? 그렇기 때문에 getReference() -> 초기화 -> find()의 과정을 했 을 때 find() 시점에 select 쿼리문이 안나오는 게 맞나요?
-
미해결스프링부트 시큐리티 & JWT 강의
BasicAuthenticationFilter 필터에 대해서 질문드립니다.
먼저 좋은 강의를 올려주신거에 감사합니다! 강의를 보다가 BasicAuthenticationFilter를 상속받은 필터가 생각과는 다르게 동작해서 질문드립니다. 강의에서는 BasicAuthenticationFilter는 인증, 인가가 필요한 요청에만 동작하고 그 외에는 동작하지 않는다고 나와있는데. 시큐리티 설정 @Configuration@EnableWebSecuritypublic class Config extends WebSecurityConfigurerAdapter { @Override protected void configure(HttpSecurity http) throws Exception { http.csrf().disable() .sessionManagement().sessionCreationPolicy(SessionCreationPolicy.STATELESS) .and() .formLogin().disable() .httpBasic().disable() .addFilter(new TestFilter(authenticationManager())) .authorizeRequests() .mvcMatchers("/").permitAll() .mvcMatchers("/user").hasRole("USER"); }} 컨트롤러 @RestControllerpublic class BasicController { @GetMapping("/") public String test1() { return "기본 접근"; } @GetMapping("/user") public String test2() { return "유저 접근"; }} 필터 public class TestFilter extends BasicAuthenticationFilter { public TestFilter(AuthenticationManager authenticationManager) { super(authenticationManager); } @Override protected void doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterChain chain) throws IOException, ServletException { System.out.println("인증이 필요한거만 실행"); chain.doFilter(request, response); }} 이렇게 간단한 필터 테스트용 프로젝트를 작성했는데. "/" 요청 같이 permitAll() 처리하면 인증이나 인가가 필요 없어서 필터를 타지 않을거라 생각했는데. "인증이 필요한거만 실행" 이 찍히면서 필터를 타는데. 어디가 문제인지 모르겠습니다.. 지금 jwt 토큰을 사용해서 프로젝트를 구현 중인데. 필터를 onceperrequestfilter를 상속 받아서 구현해서 로그인이나 토큰 재발급 같은 인증, 인가가 필요 없는 요청도 필터를 타면서 만약에 사용이 불가능한 토큰이 들어 있으면 막혀가지고 BasicAuthenticationFilter를 상속한 필터로 교체 해보려고 하는데. 생각한 것 처럼 동작하지가 않네요 . 단순하게는 필터 시작할 때, 리스트를 만들어서 해당 요청은 넘어가게 해줘도 되겠지만 더 깔끔하게 처리하고 싶어서 문의드립니다.
-
미해결Slack 클론 코딩[실시간 채팅 with React]
코드스플리팅과 이모션
1. C:\Users\sam77\Downloads\sleact-master\alecture>npm run dev > alecture@1.0.0 dev > cross-env TS_NODE_PROJECT="tsconfig-for-webpack-config.json" webpack serve --env development [webpack-cli] Invalid options object. Dev Server has been initialized using an options object that does not match the API schema. - options has an unknown property 'publicPath'. These properties are valid: object { allowedHosts?, bonjour?, client?, compress?, devMiddleware?, headers?, historyApiFallback?, host?, hot?, http2?, https?, ipc?, liveReload?, magicHtml?, onAfterSetupMiddleware?, onBeforeSetupMiddleware?, onListening?, open?, port?, proxy?, server?, setupExitSignals?, setupMiddlewares?, static?, watchFiles?, webSocketServer? } 2. C:\Users\sam77\Downloads\sleact-master\alecture>npm i emotion/react info: please complete authentication in your browser...eaning logs, removing 2 files npm ERR! code 128 om/emotion/react.git npm ERR! git@github.com: Permission denied (publickey). om/emotion/react.git npm ERR! fatal: Could not read from remote repository. npm ERR! npm ERR! Please make sure you have the correct access rights npm ERR! and the repository exists. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\sam77\AppData\Local\npm-cache\_logs\2022-03-05T07_20_43_694Z-debug-0.log 7_20_43_694Z-debug-0.log 이런식으로 에러가 뜨는데 그냥 진행해도 되나요? 3. C:\Users\sam77\Downloads\sleact-master\alecture>npm start npm ERR! Missing script: "start" npm ERR! npm ERR! Did you mean one of these? npm ERR! npm star # Mark your favorite packages npm ERR! npm stars # View packages marked as favorites npm ERR! npm ERR! To see a list of scripts, run: npm ERR! npm run npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\sam77\AppData\Local\npm-cache\_logs\2022-03-05T07_39_21_665Z-debug-0.log npm start를 했을때 안되는 이유도 궁금합니다
-
미해결스프링 MVC 1편 - 백엔드 웹 개발 핵심 기술
forward에 관한 질문이 있습니다!.
안녕하세요 좋은 강의 항상 감사합니다!. 강의 내용에 "다른 뷰는 실제 뷰를 렌더링하지만, JSP의 경우 forward()를 통해서 해당 JSP로 이동해야 랜더링이 된다!" 는 내용이 이해가 되지 않습니다.ㅜ_ㅜ 이전 질문에 JSP가 아닌 다른 템플릿은 바로 렌더링이 진행된다? 는게 무슨의미일까요 ?
-
미해결업무가 100배 빨라지는 엑셀 데이터 활용과 분석 노하우
파워쿼리 데이터 표시형식
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 파워쿼리를 이용하여 실무에 활용하고 있습니다. 그런데 같은 열에 문자랑 숫자가 있는 열이 있습니다. 이 경우 파워쿼리 편집기에서는 워크시트처럼 일반형식이 없는것 같습니다. 즉 정수랑 텍스가 같이 표기되는 일반형식이 있는지 확인 부탁드립니다.
-
미해결공공데이터로 파이썬 데이터 분석 시작하기
파일 불어오기 오류
안녕하세요 선생님, data 파일 생성하는 것 부터 문제가 생긴 것 같습니다. 옮기는 방법을 몰라서 그냥 파일을 제가 임의로 만들어논 폴더에 끌어오는걸로 했는데 File Not FoundError? 라고 뜨네요... 파일 경로 지정부터 문제가 있는 것 같은데 어떻게 해야할지 모르겠습니다.
-
미해결데브옵스(DevOps)를 위한 쿠버네티스 마스터
docker run -d와 docker start --detach-keys string 랑 같은 건가요?
docker run에 background 실행이 -d 옵션이 있는데 docker start 나 혹은 docker create 시에 해당 옵션이 없어보여서, 가장 비슷하게 보이는게 docker start에 --detach-keys string 이란게 보여서 같은건지 궁금해서요
-
해결됨따라하며 배우는 도커와 CI환경 [2023.11 업데이트]
제가 작성한 파일이 에러가 발생해서 강사님께서 올려주신 파일을 사용하여 배포시도해보았습니다만..
제가 작성한 파일이 에러가 발생해서 강사님께서 올려주신 파일에서 이하의파일을 적용하여 시도해보았습니다만, 시도전 시도후의 같은 에러가 발생하고있습니다. .travis.yml docker-compose.yml docker-compose-dev.yml Dockerfile Dockerfile.dev 내부내용은 강사님이 작성하신 파일과일치하고.travis.yml파일의 region,bucket_name,branch부분만 제 aws 환경에 맞추어서 수정하였습니다. 구글에 찾아보고해도 도무지 답이 보의지않아서 문의드립니다. 혹시 업로드 되어있는 강사님 소스코드를 이용할 경우 현재해당에러가 발생하고있나요? 좀 더 조사해본 결과 502 Bad Gateway발생하고있습니다. 그리고 로그를 다운로드해서 분석해보니daemon.log에서log file "/var/log/nginx/healthd/application.log.2022-03-07-12" does not exist 경고가 발생하고있습니다.
-
미해결비전공자를 위한 진짜 입문 올인원 개발 부트캠프
아 저 혹시 큰 문제는 아닌데,
ctrl z로 하고 다시 킬때, 무한 로딩이 걸려서 매번 다시 비쥬얼스튜디오를 키는데 ...이런건 그냥 일반적으로 얼마든지 발생할수있는 문제인가요?
-
미해결
18552331940 How long does it take to receive tax refund via direct deposit?
How to fix Cash App Refund Direct Deposit Pending? Square Cash App lets people receive direct deposit tax refunds, paychecks and government stimulus checks. You must be aware that the Cash App direct deposit is the best possible method to get payments early. If you are looking forward to enabling direct deposit on Cash App, share your account and routing number with the respective authority, i.e. IRS department, payroll provider, and government department. After enabling the Cash App direct deposit with the IRS department, you can start getting tax refunds early than many banks. Deposit tax returns, paychecks and unemployment stimulus checks to your Cash App balance using your routing and account number. Receive an amount of $25,000 per direct deposit and up to $50,000 in a 24 hours period. You should be aware that cash app tax refund direct deposit pending makes the direct deposit available as soon as they are received, at least two days earlier than many banks. However, the users can face direct deposit pending issues on Cash App due to various reasons. What happens when Cash App refund direct deposit pending? You will not receive your tax refund deposit on the scheduled date. If your Cash App tax deposit pending, there could be several reasons behind the same. The following reasons are there for pending cash App tax deposit: The user has provided an incorrect account and routing number to the IRS department or respect authority. Network connection error may be there. The user's direct deposit limit is exceeding. One can receive direct deposits within the prescribed limit as specified above. IRS Department failed to process your tax deposit due to wrong information or any other irregularity. Your Cash App account is being compromised, hence, Cash App stopped transactions on your account. Probably, Cash App has noticed something unusual on your account that led to payment pending There might be Cash App and Bank server errors. Thankfully, users can fix Cash App tax refund deposit pending after following certain guidelines. After reading the above reasons for the cash app tax refund deposit pending, you probably have an understanding to avoid pending issues. You can follow the instruction below to avoid tax deposit pending on Cash App: Ensure you are sharing correct routing and account number during direct deposit set up with the IRS department There must be good internet connectivity on your device as it is a prerequisite for receiving payments. The deposit amount should not exceed the prescribed direct deposit limit. You can split the amount if required. Always follow the Cash App guidelines and never share your password with anyone to prevent scams and fraud attempts. If you noticed something unusual with your account, immediately change your password to secure your account. Sometimes, the problem lies at the end of the IRS department, hence, contact the IRS department to know the reason for pendency. Apart from the above, you can contact customer service to resolve the matter if there is a server and any other error. Conclusion We have all the possible reasons for the cash app tax refund pending. Users can fix pending issues after following the above guidelines. Generally, the tax refund direct deposit hits the account balance within 1 to 5 days from the scheduled arrival date. If your tax refund pending on Cash App for any above reason and you are unable to resolve things, then reach out to customer support to get a solution.
-
미해결Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습
함수를 async를 사용하여 비동기로 작성한 이유가 궁금합니다.
안녕하세요. 강의 내용에 대하여 궁금한 점이 있어 질문드립니다. 코드를 보면 대부분 async를 이용하여 비동기방식으로 함수를 생성하였는데 그렇게 코딩하신 이유가 궁금합니다. 보면 async와 await를 이용하여 동기식으로 처리하는 함수가 꽤 있던데 처음부터 동기 함수로 작성하지 않은 이유와 그 차이를 알고 싶습니다.
-
미해결홍정모의 따라하며 배우는 C언어
strcpy 함수를 쓰는 이유
//구조체 변수 2개를 만들어서 각자의 책 제목과 번호를 설정해라. sub함수를 이용해서 printf 하기. #include <stdio.h> #include <stdlib.h> //malloc 함수 사용하기 위해. #include <string.h> //strcpy 함수 사용하기 위해. struct Book { int number; char title[100]; }; void showbook(struct Book *p, int n) { int i; for (i=0;i<n;i++) { printf("책 번호: %d 책 제목: %s \n", (p+i)->number, (p+i)->title); } } int main() { struct Book *p; //구조체 포인터 설 정 p=(struct Book *)malloc(2*sizeof(struct Book)); //구조체 변수 두개를 포함할 수 있는 메모리 할당. if (p==NULL) { printf("동적메모리 할당에 실패했습니다"); exit(1); } p->number=11; p->title="C Programming"; //strcpy(p->title, "C Programming"); (p+1)->number=22; strcpy((p+1)->title,"Data structure"); showbook(p,2); free(p); return 0; } 밑에서 7번째 문장에 원래 strcpy(p->title, "C Programming"); 이라는 함수 대신에 p->title ="C Programming" 이라고 설정하니 실행이 안됩니다. 왜 실행이 안되는 것인지 이유를 모르겠습니다. 꼭 strcpy 를 써야하는 이유가 있나요?
-
미해결빅데이터 분석 솔루션 TEXTOM으로 쉽고 빠르게 배우는 텍스트마이닝
용량 제공 부탁드립니다
수강후기 작성하면서 아이디를 작성하지 못했네요.. 텍스톰 아이디는 jin8083 입니다. 용량제공 부탁드립니다.. 감사합니다