묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결[2026년 출제기준] 웹디자인개발기능사 실기시험 완벽 가이드
A1 연습중입니다
슬라이드 만들고나서 네비게이션으로 옮겨가서 만들던 중에 서브메뉴가 내려오면서 슬라이드도 같이 내려가는 문제를 발견했습니다. z-index로 네비게이션을 올려주거나 슬라이드를 내려줘도 계속 서브메뉴가 내려오면서 슬라이드도 덩달아 내려가서 어떻게 해결해야할지 모르겠네요ㅜㅜㅜ도와주세요ㅜㅜ선생님
-
미해결프로그래밍 시작하기 : 파이썬 입문 (Inflearn Original)
list를 clear() 메소드로 싹 지우고 출력할 때 질문
집합(Set) 강의 마지막에 리스트에도 clear() 메소드를 적용할 수 있다고 예시를 보여주셨는데요. 따라하다가 이해가 안 되는 부분이 있어 질문드립니다! print(a.clear()) 라고 하면 결과가 'None'이 나오고 a.clear() 하고 print(a) 하면 [] 가 나옵니다. 어떤 차이가 있는 걸까요?! a = [1, 2, 3] print(a.clear()) # 이렇게 하면 결과가 'None'이 나옴 a = [1, 2, 3] a.clear() print(a) # 이렇게 하면 결과가 [] (빈 리스트)가 나옴
-
해결됨파이썬 사용자를 위한 웹개발 입문 A to Z Django + Bootstrap
질문드립니다.
아래에 다른분이 올리신 같은 질문이 있어서 따라했는데 잘 안되는거 같습니다. 각각 같은 폴더안에 내용은 없는 bootstrap.min.js.map과 popper.min.js.map라는 이름의 파일을 추가했습니다. 어떻게 해결해야하나요?
-
미해결[OpenCV] 파이썬 딥러닝 영상처리 프로젝트 2 - 불량사과를 찾아라!
cfg 파일의 maxbatch가 4000인데도 100번만 학습합니다.
학습이 너무 빨리 끝나서 확인해 봤더니 100번만 학습하고, weight 파일을 열지 못했습니다. 100: 348.003265, 435.162811 avg loss, 0.000000 rate, 5.142107 seconds, 3200 imagesSaving weights to backup/custom-train-yolo_last.weightsCouldn't open file: backup/custom-train-yolo_last.weights cfg 파일의 maxbatch가 4000인데도 100번만 학습하는데 추가로 수정할 부분이 있을까요. 그리고 구글 드라이브 폴더로 이동했는데 %cd /content/gdrive/My Drive/darknet/backup %ls weight 파일이 저장되어 있지 않습니다.
-
미해결초간단 초스피드 데이터 수집 (파이썬 크롤링)
질문이요
import requestsfrom bs4 import BeautifulSoupreq = requests.get('https://www.donga.com/news/Entertainment/List?p=1&prod=news&ymd=&m=')soup = BeautifulSoup(req.text, 'html.parser')for i in soup.select("#contents > div.page > a") : req2 = requests.get("http://www.donga.com/news/List/Enter/" + i['href']) soup2 = BeautifulSoup(req2.text, 'html.parser') for i in soup2.find_all("span", class_="tit") : print(i.text)C:\Users\karma\PycharmProjects\pychamwebcrawling\venv\Scripts\python.exe "C:/Users/karma/PycharmProjects/pychamwebcrawling/01_web_crawling_naver_test/url 링크 찾아내서 크롤링.py" Process finished with exit code 0머가 문제인건가요???
-
미해결따라하며 배우는 노드, 리액트 시리즈 - 기본 강의
10강 질문있습니다!
안녕하세요 강의 잘 듣고 있습니다. 10강 npm install bcrypt --save 설치 시 오류가 발생합니다. 해결 방법 가르쳐 주시면 감사겠습니다. > node-addon-api@3.0.0 install C:\Users\admin\Documents\boilerplate\node_modules\node-addon-api > node-gyp rebuild C:\Users\admin\Documents\boilerplate\node_modules\node-addon-api>if not defined npm_config_node_gyp (node "C:\Users\admin\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild ) gyp ERR! configure error gyp ERR! stack Error: Can't find Python executable "/path/to/executable/python", you can set the PYTHON env variable. gyp ERR! stack at PythonFinder.failNoPython (C:\Users\admin\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\configure.js:482:19) gyp ERR! stack at PythonFinder.<anonymous> (C:\Users\admin\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\configure.js:508:16) gyp ERR! stack at C:\Users\admin\AppData\Roaming\npm\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29 gyp ERR! stack at FSReqCallback.oncomplete (fs.js:167:21) gyp ERR! System Windows_NT 10.0.18362 gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\admin\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" gyp ERR! cwd C:\Users\admin\Documents\boilerplate\node_modules\node-addon-api gyp ERR! node -v v12.17.0 gyp ERR! node-gyp -v v3.6.0 gyp ERR! not ok npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules\chokidar\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm WARN boilerplate@1.0.0 No description npm WARN boilerplate@1.0.0 No repository field. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! node-addon-api@3.0.0 install: `node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the node-addon-api@3.0.0 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\admin\AppData\Roaming\npm-cache\_logs\2020-06-14T15_10_34_551Z-debug.log
-
미해결Vue.js 완벽 가이드 - 실습과 리팩토링으로 배우는 실전 개념
깃접근이 안되요
인프런 아이디 : ehdgus930925@gmail.com인프런 이메일 :ehdgus930925@gmail.com깃헙 아이디 : wdh8224깃헙 Username : wdh8224
-
미해결[OpenCV] 파이썬 딥러닝 영상처리 프로젝트 2 - 불량사과를 찾아라!
구글 콜랩 세션이 90분이라 하셨는데요. 90분마다 브라우저를 조작해 줘야 할까요.
YOLO 강의를 다시 보고 있습니다. 제공해주신 사과 이미지로 콜랩에 트레이닝을 시작했습니다. 강의에서는 6시간 정도 걸리는데 세션이 끊기지 않게 관리가 필요하다고 하셨는데요. 90분 단위로 (그보다 더 짧게) 크롬 브라우저의 해당 페이지를 움직여줘야 할까요. 혹시 세션이 끊어지면 다시 연결해서 사용해도 되는지도 함께 문의 드립니다. 좋은 강의 감사드립니다. :)
-
미해결C 프로그래밍 - 입문부터 게임 개발까지
질문입니다
/ 한번만 들어가면 코드가 어떻게 실행되나요?
-
미해결남박사의 파이썬 기초부터 실전 100% 활용
2020 6월 14일 질문
안녕하세요! 강의 항상 잘 듣구 있습니다 크롤러 관련 질문을 하려니 요지를 짚어서 질문 하는것도 좀 가다롭네요 ㅠㅠ 먼저 카카오 개발자 센터에서 애플리케이션을 생성했고 개인정보 보호항목의 프로필정보 동의를 했고 접근권한의 관리항목중 카카오톡 메세지 전송 권한까지 동의 했습니다 그후 바뀐 Rest api개발 항목에서 테스트 코드를 작성해 강의와 동일한 코드를 작성했고 access token 도 동일한 권한으로 발급받아 진행했지만 {"msg":"access token should not be null or empty","code":-2} -2에러코드만 계속해서 발생합니다 토큰을 제대로 기입까지 했는데도 말입니다 혼자서 나름 해결책을 찾으려고 강구해봤지만 도저히 해결이 안되니 답답해서 질문 드립니다! 아래는 코드입니다 import requests from bs4 import BeautifulSoup import json KAKAO_TOKEN="WVDoVQilFDE-TzxCbChnF0p8X5-PLA8JmLxrDAo9dJcAAAFyssW9Xw" header = {"Authorization" : "Bearer" + KAKAO_TOKEN} url = "https://kapi.kakao.com/v2/api/talk/memo/default/send" post={ "object_type": "text", "text": "연습메시지", "link": { "web_url": "https://developers.kakao.com", "mobile_web_url": "https://developers.kakao.com" }, "button_title": "바로 확인" } data = {"template_object" : json.dumps(post)} r = requests.post(url,headers=header,data=data) print(r.text) def hotdeal(keyword): url = "https://slickdeals.net/newsearch.php?src=SearchBarV2&q={}&searcharea=deals&searchin=first&pp=20".format(keyword) r = requests.get(url) bs = BeautifulSoup(r.text,"lxml") rows = bs.select("div.resultRow") result=[] for r in rows: link=r.select("a.dealTitle")[0] href=link.get("href") if href is None: continue href = "https://slickdeals.net/" + href title = link.text price = r.select("span.price")[0].text.replace("$","").replace("from","").strip() if price.find("/")>=0 or price == "": continue price = float(price) hot = len(r.select("span.icon-fire")) result.append((title,href,price,hot)) return result #print(hotdeal("ipad"))
-
해결됨[개정판] 파이썬 머신러닝 완벽 가이드
cross_val_score에 대한 질문이 있습니다.
dt_clf=DecisionTreeClassifier() score=cross_val_score(dt_clf,X,y,cv=5) 로 돌리고 결과가 궁금한 데이터를 갖고 와서 돌리면 pred=dt_clf.predict(b) 라고 돌리면 NotFittedError: This DecisionTreeClassifier instance is not fitted yet. Call 'fit' with appropriate arguments before using this estimator.이런 에러가 호출되더라구요 cross val score가 핏 프레딕트 kfold가 한번에 되는거라고 하셨는데 새로운 데이터를 학습시킨것에 적용해보려면 fit으로 한번 더 돌려야 하는건가요?
-
청와대 청원 데이터 시각화
chrome driver가 잘 작동하지 않는 것 같아요
삭제된 글입니다
-
해결됨MQTT 사물인터넷 통신 프로젝트 (Arduino, MQTT, Node.js, mongoDB, Android)
mosquitto broker 연결관련 질문드립니다
선생님 안녕하세요? 좋은강의 감사드립니다 mosquitto broker 연결이 되지않아 문의드립니다 1) 와이파이 연결은 성공했습니다 2) 보드레이트 115200에 맞게 했습니다 3) 방화벽 해제했습니다 4) 아두이노 코드는 동일하게 작성해두었습니다 (ip주소 제외) 현재 아래와 같이 Wi-Fi Connected 까지는 성공했으나 MQTT Broker Connected 메세지가 출력되지 않습니다 mosquitto 서버 구동한 cmd창에는 신호가 오는듯한데 구독한sub (dht11, led)에는 메세지가 전혀 출력되지않아 방법을 찾다가 선생님께 여쭤보게 되었습니다 혹시 제가 놓친부분이 있을까요?ㅠㅠ ---------------------------------------------(실제 화면)---------------------------------------------
-
미해결[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] Part3: 유니티 엔진
부모클래스에서 Init()을 실행하는 부분 질문입니다.
안녕하세요 게임오브젝트를 비활성화 시켜도 Awake() 안에있는 Init()은 실행된다는 것은 이해했는데요 14분 44초에서 부모 클래스 BaseScene.cs에서 Init()을 실행했는데 어떻게 자식클래스 GameScene.cs의 Init()까지 실행이되는건지 잘 이해가 안됩니다. 제 생각으로는 자식클래스에서 어떤 메서드를 오버라이드했더라도 부모클래스에서 그 메서드를 실행하면 부모클래스의 메서드만 실행될거같은데 유니티에서만 가능한건가요?
-
미해결취미로 해킹#3(WebGoat)
메일박스 오류 질문이요
There was an error while sending the e-mail. Is WebWolf running? I/O error on POST request for "http://localhost:9090/mail": Connection refused: connect; nested exception is java.net.ConnectException: Connection refused: connect 이런식으로 오류가 나는데, webwolf와 webgoat는 정상적으로 켜져 있습니다. 포트도 문제없이 8080과 9090으로 잘 접속해있습니다. --server.address=ip주소 방식으로 접속했습니다.
-
미해결따라하며 배우는 노드, 리액트 시리즈 - 기본 강의
포트 수정문제, 로그아웃시 랜딩페이지에서 로그인버튼으로 바뀌도록 수정
지난번 문의했던 문제 말씀해주신대로 천천히 해보니 해결됐습니다 감사합니다! 또 질문이 있는데요,ㅎㅎ 1. 포트넘버를 5000으로 수정했는데도 npm run dev 실행시 계속 localhost:3000 으로 접속되는 이유는 무엇인가요? 2. 마지막 강의에서 login을 했다가 다시 logout을 한 상태에서, landing page 로 이동하면 로그인 버튼이 아니라 로그아웃 버튼이 뜨는데 이것은 어떻게 해결해야하나요??ㅠㅠ
-
미해결예제로 배우는 스프링부트 입문
jsp실행이 잘 되지 않습니다.
보여주시는 코드대로 하니 5번강좌부터 jsp 서블릿 실행이 되지 않아서 아래와 같이 코드를 추가하니 jsp맵핑이 되더라구요. 저는 스프링 부트 version '2.3.1.RELEASE' 을 사용하고 있고 starter project생성시 디펜던시로 spring web을 선택하였습니다. jsp 실행을 시키려면 계속 아래처럼 작성을 해야하는지 궁금합니다. @ComponentScan @Configuration @SpringBootApplication public class Ex06ModelApplication { public static void main(String[] args) { SpringApplication.run(Ex06ModelApplication.class, args); } @Bean public InternalResourceViewResolver setupViewResolver() { InternalResourceViewResolver resolver = new InternalResourceViewResolver(); resolver.setPrefix("/WEB-INF/views/"); resolver.setSuffix(".jsp"); return resolver; }}
-
파이썬 입문 및 웹 크롤링을 활용한 다양한 자동화 어플리케이션 제작하기
write 질문입니다.
삭제된 글입니다
-
미해결실전! Querydsl
querydsl where 절 조건 관련 오류 문의드립니다.
안녕하세요.. 강의 잘 듣고 여러모로 아주 도움이 많이 되고 있습니다. 페이징 처리하는데 있어서 조건검색을 2개는 or 로. 1개는 and 조건으로 처리하고 싶은데 companyName, companyArea, Status 이렇게 3개의 조건을 받아서 처리하는데 null point exception 오류가 납니다. where 절 이부분에서 .where( ( companyNameEq(keyword) .or(companyAreaEq(keyword)) ), statusEq(status) ) .or(companyAreaEq(keyworkd) 을 빼면 오류가 안납니다. 물론 그위에 companyNameEq를 빼도 안나고요.. 먼가 조건 조합 할 때의 오류인듯한데 이리저리 해봐도 계속 오류가 나서 바쁘시지만 조언을 좀 구했으면 합니다 ^^ http://localhost/consultingList <--- 오류 http://localhost/consultingList?keyword=a&status=접수 <-- 정상동작 소스코드 @Overridepublic Page<ConsultingListDTO> searchPageSimple(String keyword, String status, Pageable pageable) { System.out.println("keyword: " + keyword); System.out.println("status: " + status); QueryResults<ConsultingListDTO> results = queryFactory .select(new QConsultingListDTO(consulting.id, consulting.companyName, consulting.companyArea, consulting.companyPhone, consulting.companyEmail, consulting.consultingStatus, consulting.insertDate )) .from(consulting) .where( ( companyNameEq(keyword) .or(companyAreaEq(keyword)) ), statusEq(status) ) .offset(pageable.getOffset()) .limit(pageable.getPageSize()) .orderBy(consulting.insertDate.desc()) .fetchResults(); List<ConsultingListDTO> content = results.getResults(); long total = results.getTotal(); return new PageImpl<>(content, pageable, total);} private BooleanExpression companyNameEq(String companyName) { return hasText(companyName) ? consulting.companyName.like('%' + companyName +'%') : null;}private BooleanExpression companyAreaEq(String companyArea) { return hasText(companyArea) ? consulting.companyArea.like('%' + companyArea + '%') : null;}private BooleanExpression statusEq(String status) { return hasText(status) ? consulting.consultingStatus.eq(ConsultingStatus.valueOf(status)) : null;} ------ 에러코드 {"timestamp":"2020-06-14T08:19:24.029+0000","status":500,"error":"Internal Server Error","message":"No message available","trace":"java.lang.NullPointerException\n\tat com.dyway.fund.consulting.ConsultingRepositoryExtendImpl.searchPageSimple(ConsultingRepositoryExtendImpl.java:47)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.springframework.data.repository.core.support.RepositoryComposition$RepositoryFragments.invoke(RepositoryComposition.java:371)\n\tat org.springframework.data.repository.core.support.RepositoryComposition.invoke(RepositoryComposition.java:204)\n\tat org.springframework.data.repository.core.support.RepositoryFactorySupport$ImplementationMethodExecutionInterceptor.invoke(RepositoryFactorySupport.java:657)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)\n\tat org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:621)\n\tat org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:605)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)\n\tat org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:80)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)\n\tat org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:366)\n\tat org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:99)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)\n\tat org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)\n\tat org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:178)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)\n\tat org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:95)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)\n\tat org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)\n\tat com.sun.proxy.$Proxy106.searchPageSimple(Unknown Source)\n\tat com.dyway.fund.consulting.ConsultingController.consultingList(ConsultingController.java:183)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190)\n\tat org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)\n\tat org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:106)\n\tat org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:879)\n\tat org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:793)\n\tat org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)\n\tat org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040)\n\tat org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943)\n\tat org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)\n\tat org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:634)\n\tat org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:741)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320)\n\tat org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:126)\n\tat org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:90)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:118)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:150)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:158)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:117)\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:92)\n\tat org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:77)\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215)\n\tat org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178)\n\tat org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358)\n\tat org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\n\tat org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\n\tat org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\n\tat org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:367)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)\n\tat org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1639)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)\n\tat java.base/java.lang.Thread.run(Thread.java:834)\n","path":"/consultingList"}
-
미해결따라하며 배우는 노드, 리액트 시리즈 - 쇼핑몰 사이트 만들기[전체 리뉴얼]
이미지 상대주소로 저장방법
안녕하세요. 완강한 이후에 추가로 헤로쿠에서 배포하는 강의까지 수강하였고 헤로쿠에서 정상작동을 했습니다. 인터넷에 배포를 할때 , src={`http://localhost:5000/${image}`} 상대주소를 적어서 dev 모드와 prod모드에서 동시에 보여질려고 하면 어떻게 해야 하는 지 궁금합니다. 감사합니다.