묻고 답해요
158만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결ASP.NET Core MVC +ASP.NET Core +REST API +.NET 8.0
cshtml.css, cshtml.cs 비하인드 코드 추가 방법
아래와 같이 css를 추가 했는데 적용이 되지 않습니다.asp.net core mvc로 했을 때 아래와 같이 추가를 하면 적용이 되는데 asp.net core 비어있음으로 생성 후 아래와 같이 추가를 하면 동작이 되지 않아요cshtml.css, cshtml.cs를 추가하고 싶으면 어떻게 해야 하나요? 관련 강의도 추가를 해주시면 감사하겠습니다.
-
해결됨스프링 DB 1편 - 데이터 접근 핵심 원리
h2 db 테이블 관련 스크립트 질문
강의에서 h2 db 테이블 관련 스크립트를 h2 콘솔에 복사해서 붙여넣으셔서 테이블을 생성하셨는데요.강의자료를 보면, sql/schema.sql 파일을 생성해서 스크립트를 넣으라고 되어있습니다.둘 중 전자를 이용하면 되는 건가요?
-
해결됨스프링 핵심 원리 - 기본편
섹션 6. 컴포넌트 스캔
1,예제를 유지하기 위해서 AutoAppConfig 클래스에 @ComponentScan을 입력하시고,excludeFilters를 이용해서 @Configuration이 붙은 클래스들은 컴포넌트 스캔대상에서 제외하셨습니다!그런데 AutoAppConfig에도 @Configuration이 붙어있는데 ApplicationConfig에 구성 정보로 AutoAppConfig를 넘기면 AutoAppConfig에도 @Configuration이 붙어있는데 @ComponentScan이 동작을 어떻게 하는지 조금 헷갈립니다ㅠㅠ 2,컴포넌트 스캔을 사용하려면 먼저 @ComponentScan 을 설정 정보에 붙여주면 된다.excludeFilters 를 이용해서 설정정보는 컴포넌트 스캔 대상에서 제외했다.여기서 설정정보라는게 뭘 의미하는 건가요??
-
해결됨[퇴근후딴짓] 빅데이터 분석기사 실기 (작업형1,2,3)
동영상 강의와 똑같은 수식을 적은것 같은데 오류가 납니다.
데이터 핸들링을 위한 판다스 기초 1 동영상 강의에서 df.corr이나 car.nunique 수식을 작성할 때 에러 메세지가 뜹니다.
-
해결됨[퇴근후딴짓] 빅데이터 분석기사 실기 (작업형1,2,3)
동영상을 보면서 실습은 못하는건가요?
학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요!질문과 관련된 영상 위치를 알려주면 더 빠르게 답변할 수 있어요먼저 유사한 질문이 있었는지 검색해보세요
-
미해결3. 웹개발 코스 [Enterprise Architecture(EA) X 전자정부프레임워크]
오류 해결이 안됩니다ㅠ
아래오 ㅏ 같은 오류가 발생했는데, gpt는 example 폴더가 없다고 합니다.이번 강의 후반부 25분 이후에 폴더들 삭제한 부분에서 문제가 발생한걸까요? GPT답변제공해주신 로그에 따르면 Spring 애플리케이션 컨텍스트 초기화 중에 문제가 발생하고 있습니다. 구체적으로, egovframework.example.cmmn.EgovSampleExcepHndlr 클래스에 대한 ClassNotFoundException이 발생하고 있습니다.이 문제를 해결하기 위한 주요 사항과 단계를 아래에 설명합니다:문제 원인 분석클래스 미발견:ClassNotFoundException은 egovframework.example.cmmn.EgovSampleExcepHndlr 클래스가 클래스 경로에 존재하지 않음을 나타냅니다. 이는 의존성 문제일 수 있습니다.의존성 확인:EgovSampleExcepHndlr 클래스가 포함된 JAR 파일이 프로젝트 클래스 경로에 있는지 확인합니다.Maven을 사용 중이라면 pom.xml, Gradle을 사용 중이라면 build.gradle 파일에서 모든 의존성이 올바르게 선언되었는지 확인합니다.패키지 구조 확인:패키지 구조가 올바르고 Spring 설정 파일에 명시된 경로와 일치하는지 확인합니다.클래스 파일의 경로가 egovframework/example/cmmn/EgovSampleExcepHndlr.java인지 확인합니다.Spring 설정 파일 확인:Spring 설정 파일(context-aspect.xml 등)에서 해당 빈 정의가 올바르게 되어 있는지 확인합니다.경로나 타입에 오타가 없는지 점검합니다.클래스 컴파일 확인:EgovSampleExcepHndlr 클래스가 올바르게 컴파일되어 WEB-INF/classes 디렉토리나 관련 JAR 파일에 있는지 확인합니다.프로젝트 재빌드:프로젝트를 클린하고 재빌드하여 클래스 경로 문제를 해결합니다.Eclipse나 IntelliJ IDEA와 같은 IDE에서 "Clean" 및 "Rebuild" 옵션을 사용합니다.배포 문제 확인:서버가 애플리케이션을 올바르게 배포하고 있는지 확인합니다. 배포를 제거하고 다시 배포하면 문제가 해결될 수 있습니다.문제 해결 단계클래스 경로 확인:egovframework.example.cmmn.EgovSampleExcepHndlr 클래스가 빌드 출력 디렉토리(WEB-INF/classes 또는 JAR 파일)에 있는지 확인합니다.의존성 업데이트:Maven을 사용 중이면 mvn clean install을 실행하여 프로젝트를 재빌드하고 모든 의존성을 올바르게 다운로드 받습니다.Gradle을 사용 중이면 gradle clean build를 실행합니다.Spring 설정 파일 검토:context-aspect.xml 파일을 열고 egovHandler 빈 정의가 올바른지 확인합니다.xml코드 복사<bean id="egovHandler" class="egovframework.example.cmmn.EgovSampleExcepHndlr" />클린 및 재빌드:Eclipse: Project > Clean 그리고 Project > Build Project를 실행합니다.IntelliJ: Build > Rebuild Project를 실행합니다.서버 재시작:변경 사항을 반영하기 위해 서버(예: Tomcat)를 제대로 재시작합니다.이 단계를 따라가면 ClassNotFoundException 문제를 해결하고 Spring 애플리케이션 컨텍스트를 성공적으로 초기화할 수 있을 것입니다. 문제가 계속될 경우, 프로젝트 설정 및 의존성에 대한 추가 조사가 필요할 수 있습니다. Caused by: java.lang.ClassNotFoundException: egovframework.example.cmmn.EgovSampleExcepHndlr at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1308) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1120) at java.base/java.lang.Class.forName0(Native Method) at java.base/java.lang.Class.forName(Class.java:398) at org.springframework.util.ClassUtils.forName(ClassUtils.java:284) at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:469) at org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1607) at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1534) ... 65 more 6월 03, 2024 9:59:36 오후 org.apache.catalina.core.StandardContext startInternal SEVERE: 하나 이상의 리스너들이 시작하지 못했습니다. 상세 내역은 적절한 컨테이너 로그 파일에서 찾을 수 있습니다. 6월 03, 2024 9:59:36 오후 org.apache.catalina.core.StandardContext startInternal SEVERE: 이전 오류들로 인해 컨텍스트 [/Egov_WEB]의 시작이 실패했습니다. 6월 03, 2024 9:59:36 오후 org.apache.catalina.core.ApplicationContext log INFO: Closing Spring root WebApplicationContext 6월 03, 2024 9:59:36 오후 org.apache.coyote.AbstractProtocol start INFO: 프로토콜 핸들러 ["http-nio-8080"]을(를) 시작합니다. 6월 03, 2024 9:59:36 오후 org.apache.catalina.startup.Catalina start INFO: 서버가 [14048] 밀리초 내에 시작되었습니다.
-
미해결
강의를 들으면서 강사님 따라 코딩을 연습할 수는 없나요?
정말 초보라서.. 문의드립니다.같이 풀이하는 파일이 있어야 할 것 같은데.. 어디서 어떻게 가져오는지도 모르겠습니다. 참고로 제가 듣는 강의는 퇴근후딴짓(빅분기 실기강의)입니다.아무리 찾아봐도.. 잘 몰라서 문의드립니다.
-
해결됨[퇴근후딴짓] 빅데이터 분석기사 실기 (작업형1,2,3)
회귀 rmse
회귀실습 따라하던 중 이런 오류가 떴는데 어떻게 해결해야할까요?
-
미해결Next + React Query로 SNS 서비스 만들기
로그아웃할때 어떻게 next-auth는 이것이 api/logout으로의 post요청을 보내는것인지 아는건가요?
http.post('/api/logout', () => { console.log('로그아웃'); return new HttpResponse(null, { headers: { 'Set-Cookie': 'connect.sid=;HttpOnly;Path=/;Max-Age=0' } }) }),위 코드가 제로초님이 로그아웃을 위한 handler를 짜놓으신 건데 정작 로그아웃을할때는 const onLogout = () => { signOut({ redirect: false }) .then(() => { router.replace('/'); }); };위와 같이 그저 signOut 함수만 사용하고있으며 로그인때와 같이 따로 providers에서 fetch 경로를 설정해준것도아닌데 next-auth에서는 어떻게 signOut의 경로가 /api/logout인지 아는건가요?
-
미해결AWS Certified Solutions Architect - Associate 자격증 준비하기
수강 기간 연장 부탁드립니다!
회사 일정으로 바빠서 시험을 빠르게 치지 못했습니다ㅠ수강 기간 연장부탁드립니다! ㅠ
-
미해결
Tips for Finding a Trustworthy Laptop Distributor
In the digital era, laptops are essential for both personal and professional use. Whether you're looking to purchase laptops for your business or need a reliable machine for personal use, finding a trustworthy distributor is crucial. With so many options available, it can be challenging to choose the right one. Here are some key tips to help you find a reputable laptop distributor:1. Research ThoroughlyStart by researching potential distributors thoroughly. Look for online reviews, customer testimonials, and ratings on trusted websites like Google, Yelp, and Trustpilot. Pay close attention to feedback regarding product quality, customer service, and overall satisfaction. This will give you a good idea of the distributor's reputation.2. Verify Credentials and CertificationsEnsure the distributor is authorized and certified by leading laptop brands. Authorized resellers adhere to strict quality standards and sell genuine products. Check the distributor’s website or contact the laptop brands directly to verify their credentials.If you are looking for Lenovo reseller uae? Click here3. Check Product SelectionA good distributor should offer a wide range of laptops to meet different needs. Whether you need budget-friendly options, high-performance machines, or gaming laptops, the distributor should have a diverse selection. This ensures you can find a laptop that fits your specific requirements.4. Assess Customer SupportReliable customer support is essential. Choose a distributor that provides responsive and knowledgeable customer support via phone, email, or live chat. Good customer service ensures that any issues or queries are promptly addressed.5. Inquire About Warranty and Return PoliciesBefore making a purchase, understand the distributor’s warranty and return policies. Ensure the laptops come with a manufacturer’s warranty covering defects and ask about the return policy. Knowing these details can protect you if you encounter any issues with your purchase.Are you searching for dell laptop distributor in uae? Visit here6. Compare Pricing and ValueWhile price is important, it shouldn’t be the only factor. Compare prices from different distributors but be wary of prices that are significantly lower than the market average, as they may indicate counterfeit or refurbished products. Look for a distributor that offers competitive pricing without compromising on quality.7. Evaluate Shipping and Delivery OptionsConsider the distributor’s shipping and delivery options. Ensure they offer reliable shipping methods with tracking facilities. Check the shipping costs, delivery times, and if they ship to your location. Timely and secure delivery is crucial, especially for business purchases.8. Check for After-Sales SupportGood after-sales support is as important as the purchase itself. A distributor offering technical support, maintenance services, and easy access to spare parts can be very beneficial, especially for business users.9. Seek RecommendationsWord of mouth is a powerful tool. Ask friends, colleagues, or industry contacts for recommendations. Personal experiences can provide valuable insights into the reliability and quality of a distributor.10. Visit the Distributor’s Store (if possible)If the distributor has a physical store, visit it. This allows you to inspect the laptops firsthand and get a sense of the distributor's professionalism and customer service quality.Are you seeking for Apple reseller Dubai? Contact usConclusionFinding a trustworthy laptop distributor is essential for ensuring you get high-quality laptops and reliable service. By conducting thorough research, verifying credentials, checking product selections, and evaluating customer support and policies, you can make an informed decision. Whether for personal use or business needs, choosing the right distributor will save you time, money, and potential headaches in the long run.
-
해결됨실전 jOOQ! Type Safe SQL with Java
영상 소리가 작아졌습니다.
Sakila DB를 기반으로 DB 구성하기 챕터 영상의 소리가 앞선 영상에 비해 매우 작네요!
-
해결됨PM을 위한 데이터 리터러시(프로덕트 데이터 분석)
알고리즘 추천은 로그 값을 기반으로 하게 되는 걸까요?
16:48 에서 말씀하신 것처럼 결제 완료 Event 로그를 남길 때 State로서 여러가지 Parameter를 같이 남길 수가 있으니까요.정보들도 같이 보관을 하게 되면 각 카테고리 별 해시맵이던 벡터 계산이던 해서 향후 개개인의 사용자에게 사용 패턴이나 주문한 음식 등의 정보를 바탕으로 맞춤 추천이 가능할 것 같아요.(예시: 보통은 국물 요리나 한식 위주로 먹는 사람도 파스타를 며칠에 한 번 주문을 하는지 등의 정보도 가공해서 평소와 다르게 양식을 추천으로 보여준다던지..)결제 이력이나 이런 정보도 결국은 서버 로그라는 큰 틀 안에 있는 세부적인 요소인 건가요?
-
미해결10주완성 C++ 코딩테스트 | 알고리즘 코딩테스트
2-D 질문 있습니다
http://boj.kr/e94fb8e43b714794a0950505c0091594 아래의 dfs 함수에서 a[ny][nx] == 1일때 왜 continue 하는 것 인가요?int dfs(int y, int x){ visited[y][x] = 1; int ret = 1; for (int i = 0; i < 4; i++) { int ny = y + dy[i]; int nx = x + dx[i]; if (ny < 0 || nx < 0 || ny >= m || nx >= n || visited[ny][nx] == 1) { continue; } if (a[ny][nx] == 1) { continue; } ret += dfs(ny, nx); } return ret; }
-
미해결
안녕하세요! 마케팅 자동화 시스템을 개발하고 싶은데
AI 관련 공부하고 있으신 분들 중에 같이 창업해보실 분 있을까요?
-
해결됨실전! 스프링 부트와 JPA 활용2 - API 개발과 성능 최적화
REST API 방식 강좌
이 강좌말고 또 다루는 강좌있나요?
-
해결됨[코드캠프] 부트캠프에서 만든 고농축 프론트엔드 코스
데이터 통신 실습 부분에 대해 질문있습니다.
안녕하세요 graphql 부분에서 조금 헷갈려서 질문을 드립니다.1. 이 부분에서 왼쪽부분에서 판매자 이름이 철수이고 createProductInput은 마우스, 정말 좋은 마우스 그리고 가격을 사용자가 저렇게 마우스 가격등을 input에 작성하면 name, detail, price가 생성된다라는 뜻으로 이해하면 좋을까요? 그리고 그 밑에 _id는 윗부분에 마우스라고 생성해서 나온 마우스라는 제품의 id를 보낸다는 뜻인지도 궁금합니다.
-
미해결실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발
영상 화면이랑 UI가 조금 다릅니다
학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요.1. 강의 내용과 관련된 질문을 남겨주세요.2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요.(자주 하는 질문 링크: https://bit.ly/3fX6ygx)3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요.(질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG)질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요.=========================================[질문 템플릿]1. 강의 내용과 관련된 질문인가요? (예)2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예)3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예)[질문 내용]안녕하세요영상에서 나오는 UI랑제 화면에서 띄운 UI랑 틀이 조금 달라보여서 질문 드립니다.문제 없는 건가요?왜 다르게 구현이 되었는지 이유가 있을까요?코드 문제 일까요?
-
해결됨[퇴근후딴짓] 빅데이터 분석기사 실기 (작업형1,2,3)
에러메세지와 마주하기 에러 4번
9분 09초영상과 노트북의 코드가 다른데요# 풀이 코드 # X_train, y_train, X_test 3개 파일이 주어졌을 때 from sklearn.datasets import load_wine wine = load_wine() df = pd.DataFrame(wine.data, columns=wine.feature_names) df['target'] = wine.target from sklearn.model_selection import train_test_split X_train, X_test, y_train, _ = train_test_split(df.drop('target',axis=1), df['target'], test_size=0.2, random_state=2022) # 만약 'proline'컬럼의 값이 1500 일때 이상치라고 판단해 삭제 했다면? print("1500이상인 데이터 수:", sum(X_train['proline'] >= 1500)) # 삭제할 데이터의 인덱스 값을 구하고 drop함수를 통해 삭제 ind = X_train[X_train['proline'] >= 1500].index print("삭제할 index:", ind) X_train = X_train.drop(ind) # 기본값 axis = 0 y_train = y_train.drop(ind) from sklearn.ensemble import RandomForestClassifier model = RandomForestClassifier() model.fit(X_train, y_train)(질문1 )X_train에 y_train를 합친뒤 이상치를 삭제하는 것보다 각각 개별로 삭제하는게 더 간단해서 수정한건가요?(질문2) df 에서 이상치를 제거한 후에 train_test_split 으로 데이터를 나눠도 되는건가요?
-
해결됨파이썬 중급
eval(repr(p)) 가 진짜 Pair 객체로 만들어지는 이유?
안녕하세요 강사님, 수업 잘 듣고 있습니다. 좋은 강의 만들어 주셔서 감사드립니다.수업을 듣다가 9분 12초 쯤에서 질문이 있어서 게시글 남깁니다.eval(repr(p)) 에서,repr(p) 가 Pair 라는 클래스를 호출해서 인스턴스로 만드는 string을 나타내기 때문에, eval()을 했을 때 Pair라는 객체가 생성되는 게 맞을까요?바꿔서 말하면 repr(p)가 평가되었을 때 Pair(3,4)와 같은 객체 생성 expression과 같기 때문에 그 expression이 eval()을 타서 Pair 객체가 만들어지는거죠?! 답변 주시면 감사하겠습니다!