오늘 아침에 알림 뜨자마자 바로 정주행했지요. 스프링 부트랑 jpa만 바로 시작하다보니 스프링MVC 패턴이 낯설게만 느껴졌는데 영한님 강의 정주행하면서 같이 프레임워크 만들어보니 어떠한 원리로 돌아가는지 머릿속에서 구상이 되는게 느껴지니까 너무 좋아요! 항상 좋은 강의 감사합니다~~
안녕하세요 제로초님. 아래와 같은 오류사항이 있는데 답을찾을 수 없어 질문드립니다. 서버에 접속하면 페이지에 다음과같은 문구가 뜨고 오류 내용은 다음과 같습니다. --------------------------------------------------------- /!\ You are using legacy implementaion. Please update your code: use createWrapper() and wrapper.withRedux(). error - TypeError: _store_configureStore__WEBPACK_IMPORTED_MODULE_4__.default.withRedux is not a function at Module../pages/_app.js (C:\workspace\study\inflearn\react-nodebird\front\.next\server\pages\_app.js:163:126) at __webpack_require__ (C:\workspace\study\inflearn\react-nodebird\front\.next\server\pages\_app.js:23:31) at Object.0 (C:\workspace\study\inflearn\react-nodebird\front\.next\server\pages\_app.js:273:18) at __webpack_require__ (C:\workspace\study\inflearn\react-nodebird\front\.next\server\pages\_app.js:23:31) at module.exports../node_modules/antd/dist/antd.css (C:\workspace\study\inflearn\react-nodebird\front\.next\server\pages\_app.js:91:18) at Object.<anonymous> (C:\workspace\study\inflearn\react-nodebird\front\.next\server\pages\_app.js:94:10) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) TypeError: _store_configureStore__WEBPACK_IMPORTED_MODULE_4__.default.withRedux is not a function at Module../pages/_app.js (C:\workspace\study\inflearn\react-nodebird\front\.next\server\pages\_app.js:163:126) at __webpack_require__ (C:\workspace\study\inflearn\react-nodebird\front\.next\server\pages\_app.js:23:31) at Object.0 (C:\workspace\study\inflearn\react-nodebird\front\.next\server\pages\_app.js:273:18) at __webpack_require__ (C:\workspace\study\inflearn\react-nodebird\front\.next\server\pages\_app.js:23:31) at module.exports../node_modules/antd/dist/antd.css (C:\workspace\study\inflearn\react-nodebird\front\.next\server\pages\_app.js:91:18) at Object.<anonymous> (C:\workspace\study\inflearn\react-nodebird\front\.next\server\pages\_app.js:94:10) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) error - TypeError: _store_configureStore__WEBPACK_IMPORTED_MODULE_4__.default.withRedux is not a function at Module../pages/_app.js (C:\workspace\study\inflearn\react-nodebird\front\.next\server\pages\_app.js:163:126) at __webpack_require__ (C:\workspace\study\inflearn\react-nodebird\front\.next\server\pages\_app.js:23:31) at Object.0 (C:\workspace\study\inflearn\react-nodebird\front\.next\server\pages\_app.js:273:18) at __webpack_require__ (C:\workspace\study\inflearn\react-nodebird\front\.next\server\pages\_app.js:23:31) at module.exports../node_modules/antd/dist/antd.css (C:\workspace\study\inflearn\react-nodebird\front\.next\server\pages\_app.js:91:18) at Object.<anonymous> (C:\workspace\study\inflearn\react-nodebird\front\.next\server\pages\_app.js:94:10) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) TypeError: _store_configureStore__WEBPACK_IMPORTED_MODULE_4__.default.withRedux is not a function at Module../pages/_app.js (C:\workspace\study\inflearn\react-nodebird\front\.next\server\pages\_app.js:163:126) at __webpack_require__ (C:\workspace\study\inflearn\react-nodebird\front\.next\server\pages\_app.js:23:31) at Object.0 (C:\workspace\study\inflearn\react-nodebird\front\.next\server\pages\_app.js:273:18) at __webpack_require__ (C:\workspace\study\inflearn\react-nodebird\front\.next\server\pages\_app.js:23:31) at module.exports../node_modules/antd/dist/antd.css (C:\workspace\study\inflearn\react-nodebird\front\.next\server\pages\_app.js:91:18) at Object.<anonymous> (C:\workspace\study\inflearn\react-nodebird\front\.next\server\pages\_app.js:94:10) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) -------------------------------------------------------- 아래는 제 git 주소입니다. ----------------------------------------------- https://github.com/812jay/react-nodebird ----------------------------------------------- 감사합니다.
@Component public class AppRunner implements ApplicationRunner { // @Autowired // ApplicationContext applicationContext; @Autowired MessageSource messageSource ; @Override public void run ( ApplicationArguments args ) throws Exception { // System.out.println(applicationContext.getClass()); System . out . println ( messageSource . getClass ()); } Autowired 로 가져오는 Bean 이 햇갈려서 질문드립니다. 위 코드에서 @Autowired을 통해서 주입받는 빈은 MessageSource 가 구현된 클래스인걸로 아는데요.. AnnotationConfigServletWebServerApplicationContext , ResourceBundleMessageSource 두개 모두 문서를 찾아보니 MessageSource 를 구현한 클래스입니다~! 그런데 왜 "ResourceBundleMessageSource "가 빈으로 등록되는지 궁금합니다. 혹시 @Primary 같은 우선순위가 적용되서 그러는건가요 ?
안녕하세요 이제 거의 다 만들었는데 결제 이후에 success가 안뜨고 이렇게만 뜨네요 제품은 사라지는데요 ㅠㅠ 에러 사항으로 보면 이렇게 뜨는데요 user.js에 들어가서 확인해본 결과 let products = []; doc . product . forEach (( item ) => { products . push ({ id : item . id , quantity : item . quantity }); }); 이 부분 입니다. 선생님꺼랑 비교해본 결과 같게 했는데 뭐가 문제일까요ㅠㅠ
강사님 안녕하세요. WHERE - IN 서브쿼리 질문 드립니다. 저는 group by가 쓰이면 select 절에는 꼭 기준 컬럼이 함께 들어가야 한다고 알았거든요. 그런데 where -in 서브쿼리 안에는 group by가 사용되어도 기준 컬럼이 안들어가도 되는 것 같더라고요. 예를 들면 아래처럼요. SELECT EMPNO, ENAME, DEPTNO, SAL FROM EMP WHERE SAL IN ( SELECT MAX (SAL) FROM EMP GROUP BY DEPTNO); 서브쿼리는 이 법칙에서 예외인지요??
첫번째 사진이 서버 IP로그구요. 밑에 사진이 유니티 클라이언트 IP로그 입니다. 유니티에서 서버로 접속할때 OnConnectCompleted Fail: ConnectionRefused 로그가 뜨면서 플레이어 케릭터가 생성이 안되는 현상이 발생했습니다. 서버에 연결이 실패한 원인을 찾아보니 서버쪽에선 아이피가 :::1인반면 유니티쪽은 127.부터 시작하는 아이피로 서로 틀리더라고요. 서버쪽 로그를 보니 더미 클라에서 모아 보내기가 계속 찍히는거 보면 문제는 없어보입니다만, 이 경우 어떻게 해야될까요? 잘 부탁드립니다 ^^