묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결홍정모의 따라하며 배우는 C언어
부동소수점 수
부동소수점수는 부호 지수 가수로 이루어져있는거 아닌가요..?컴퓨터 구조에서 그렇게본거 같아서용!
-
미해결실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발
Member 테이블이 생성이 되지 않습니다.
이유가 뭔지 모르겠는데 아래 로그를 봤을때는 생성후 다시 드랍으로 없애고 있던데 이유를 모르겠습니다 ㅠㅠ 어디 부분을 봐야 할까요 ? 20:03:09.370 [main] DEBUG org.springframework.test.context.junit4.SpringJUnit4ClassRunner - SpringJUnit4ClassRunner constructor called with [class jpabook.jpabook.MemberRepositoryTest] 20:03:09.378 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating CacheAwareContextLoaderDelegate from class [org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate] 20:03:09.392 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating BootstrapContext using constructor [public org.springframework.test.context.support.DefaultBootstrapContext(java.lang.Class,org.springframework.test.context.CacheAwareContextLoaderDelegate)] 20:03:09.427 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating TestContextBootstrapper for test class [jpabook.jpabook.MemberRepositoryTest] from class [org.springframework.boot.test.context.SpringBootTestContextBootstrapper] 20:03:09.458 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [jpabook.jpabook.MemberRepositoryTest], using SpringBootContextLoader 20:03:09.469 [main] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [jpabook.jpabook.MemberRepositoryTest]: class path resource [jpabook/jpabook/MemberRepositoryTest-context.xml] does not exist 20:03:09.471 [main] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [jpabook.jpabook.MemberRepositoryTest]: class path resource [jpabook/jpabook/MemberRepositoryTestContext.groovy] does not exist 20:03:09.471 [main] INFO org.springframework.test.context.support.AbstractContextLoader - Could not detect default resource locations for test class [jpabook.jpabook.MemberRepositoryTest]: no resource found for suffixes {-context.xml, Context.groovy}. 20:03:09.474 [main] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils - Could not detect default configuration classes for test class [jpabook.jpabook.MemberRepositoryTest]: MemberRepositoryTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 20:03:09.563 [main] DEBUG org.springframework.test.context.support.ActiveProfilesUtils - Could not find an 'annotation declaring class' for annotation type [org.springframework.test.context.ActiveProfiles] and class [jpabook.jpabook.MemberRepositoryTest] 20:03:09.701 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [C:\jpabook\bin\main\jpabook\jpabook\JpabookApplication.class] 20:03:09.707 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration jpabook.jpabook.JpabookApplication for test class jpabook.jpabook.MemberRepositoryTest 20:03:09.856 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - @TestExecutionListeners is not present for class [jpabook.jpabook.MemberRepositoryTest]: using defaults. 20:03:09.857 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener] 20:03:09.884 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@5119fb47, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@7193666c, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@20deea7f, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@3835c46, org.springframework.test.context.support.DirtiesContextTestExecutionListener@1dde4cb2, org.springframework.test.context.transaction.TransactionalTestExecutionListener@7714e963, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@20ce78ec, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@393671df, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@56620197, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@6eda5c9, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@55b7a4e0, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@5f058f00] 20:03:09.887 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [jpabook.jpabook.MemberRepositoryTest] 20:03:09.888 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [jpabook.jpabook.MemberRepositoryTest] 20:03:09.912 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [jpabook.jpabook.MemberRepositoryTest] 20:03:09.912 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [jpabook.jpabook.MemberRepositoryTest] 20:03:09.915 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [jpabook.jpabook.MemberRepositoryTest] 20:03:09.915 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [jpabook.jpabook.MemberRepositoryTest] 20:03:09.916 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [jpabook.jpabook.MemberRepositoryTest] 20:03:09.917 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [jpabook.jpabook.MemberRepositoryTest] 20:03:09.924 [main] DEBUG org.springframework.test.context.support.AbstractDirtiesContextTestExecutionListener - Before test class: context [DefaultTestContext@359f7cdf testClass = MemberRepositoryTest, testInstance = [null], testMethod = [null], testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@1fa268de testClass = MemberRepositoryTest, locations = '{}', classes = '{class jpabook.jpabook.JpabookApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@131276c2, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@51cdd8a, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@2d6eabae, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@59e5ddf], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true]], class annotated with @DirtiesContext [false] with mode [null]. 20:03:09.926 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [jpabook.jpabook.MemberRepositoryTest] 20:03:09.927 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [jpabook.jpabook.MemberRepositoryTest] 20:03:09.993 [main] DEBUG org.springframework.test.context.support.TestPropertySourceUtils - Adding inlined properties to environment: {spring.jmx.enabled=false, org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true, server.port=-1} . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v2.1.17.RELEASE) 2020-10-28 20:03:10.686 INFO 14952 --- [ main] jpabook.jpabook.MemberRepositoryTest : Starting MemberRepositoryTest on DESKTOP-5KG44G6 with PID 14952 (started by bosok in C:\jpabook) 2020-10-28 20:03:10.689 INFO 14952 --- [ main] jpabook.jpabook.MemberRepositoryTest : No active profile set, falling back to default profiles: default 2020-10-28 20:03:12.113 INFO 14952 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2020-10-28 20:03:12.152 INFO 14952 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 24ms. Found 0 JPA repository interfaces. 2020-10-28 20:03:13.961 INFO 14952 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 2020-10-28 20:03:14.125 INFO 14952 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 2020-10-28 20:03:14.399 INFO 14952 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [ name: default ...] 2020-10-28 20:03:14.871 INFO 14952 --- [ main] org.hibernate.Version : HHH000412: Hibernate Core {5.3.18.Final} 2020-10-28 20:03:14.876 INFO 14952 --- [ main] org.hibernate.cfg.Environment : HHH000206: hibernate.properties not found 2020-10-28 20:03:15.092 INFO 14952 --- [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.0.4.Final} 2020-10-28 20:03:15.988 INFO 14952 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect 2020-10-28 20:03:17.033 DEBUG 14952 --- [ main] org.hibernate.SQL : drop table member if exists 2020-10-28 20:03:17.037 DEBUG 14952 --- [ main] org.hibernate.SQL : drop sequence if exists hibernate_sequence 2020-10-28 20:03:17.041 DEBUG 14952 --- [ main] org.hibernate.SQL : create sequence hibernate_sequence start with 1 increment by 1 2020-10-28 20:03:17.044 DEBUG 14952 --- [ main] org.hibernate.SQL : create table member (id bigint not null, username varchar(255), primary key (id)) 2020-10-28 20:03:17.047 INFO 14952 --- [ main] o.h.t.schema.internal.SchemaCreatorImpl : HHH000476: Executing import script 'org.hibernate.tool.schema.internal.exec.ScriptSourceInputNonExistentImpl@3e900e1a' 2020-10-28 20:03:17.051 INFO 14952 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2020-10-28 20:03:18.331 INFO 14952 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor' 2020-10-28 20:03:18.454 WARN 14952 --- [ main] aWebConfiguration$JpaWebMvcConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning 2020-10-28 20:03:18.550 INFO 14952 --- [ main] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] 2020-10-28 20:03:19.434 INFO 14952 --- [ main] jpabook.jpabook.MemberRepositoryTest : Started MemberRepositoryTest in 9.369 seconds (JVM running for 10.797) 2020-10-28 20:03:19.795 INFO 14952 --- [ main] o.s.t.c.transaction.TransactionContext : Began transaction (1) for test context [DefaultTestContext@359f7cdf testClass = MemberRepositoryTest, testInstance = jpabook.jpabook.MemberRepositoryTest@267891bf, testMethod = testMember@MemberRepositoryTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@1fa268de testClass = MemberRepositoryTest, locations = '{}', classes = '{class jpabook.jpabook.JpabookApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@131276c2, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@51cdd8a, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@2d6eabae, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@59e5ddf], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true]]; transaction manager [org.springframework.orm.jpa.JpaTransactionManager@1c3b6963]; rollback [false] 2020-10-28 20:03:20.415 DEBUG 14952 --- [ main] org.hibernate.SQL : call next value for hibernate_sequence 2020-10-28 20:03:20.621 DEBUG 14952 --- [ main] org.hibernate.SQL : insert into member (username, id) values (?, ?) 2020-10-28 20:03:20.635 INFO 14952 --- [ main] o.s.t.c.transaction.TransactionContext : Committed transaction for test: [DefaultTestContext@359f7cdf testClass = MemberRepositoryTest, testInstance = jpabook.jpabook.MemberRepositoryTest@267891bf, testMethod = testMember@MemberRepositoryTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@1fa268de testClass = MemberRepositoryTest, locations = '{}', classes = '{class jpabook.jpabook.JpabookApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@131276c2, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@51cdd8a, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@2d6eabae, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@59e5ddf], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true]] 2020-10-28 20:03:20.692 INFO 14952 --- [ Thread-2] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor' 2020-10-28 20:03:20.721 INFO 14952 --- [ Thread-2] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2020-10-28 20:03:20.721 INFO 14952 --- [ Thread-2] .SchemaDropperImpl$DelayedDropActionImpl : HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2020-10-28 20:03:20.722 DEBUG 14952 --- [ Thread-2] org.hibernate.SQL : drop table member if exists 2020-10-28 20:03:20.727 DEBUG 14952 --- [ Thread-2] org.hibernate.SQL : drop sequence if exists hibernate_sequence 2020-10-28 20:03:20.733 INFO 14952 --- [ Thread-2] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... 2020-10-28 20:03:20.773 INFO 14952 --- [ Thread-2] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
-
미해결따라하며 배우는 노드, 리액트 시리즈 - 기본 강의
혹시 윈도우에서는 터미널을 사용불가한가요?
윈도우 사용자인데 강의 중간에 터미널에 ls -a 사용하시는 부분이 있는데 윈도우 cmd에서 ls 명령어는 사용불가하다고 하네요. 혹시 윈도우에서 터미널을 사용할 수 있는 방법이 있을까요??
-
미해결Vue.js 완벽 가이드 - 실습과 리팩토링으로 배우는 실전 개념
안녕하세요. gist에 아이디 남겼습니다. 확인 부탁드립니다
확인 부탁드립니다!
-
미해결[2026년 출제기준] 웹디자인개발기능사 실기시험 완벽 가이드
div로 레이아웃 한 게 section과 article로 나오고 하니
헷갈리네요. 레이아웃하고 나서 다 태그요소를 바꿔야 하나요. 음..
-
미해결따라하며 배우는 노드, 리액트 시리즈 - 유튜브 사이트 만들기
err 를 리턴하는 경우
안녕하세요. err가 생겼을 때, 어떤 때는 res.status(400).json({success: false, err}) 를 하는 경우가 있고, 어떤 때는 status(400)을 떼고 쓰는 경우가 있는 것 같은데요, 둘의 차이점이 무엇인지 알 수 있을까요? 감사합니다! :)
-
미해결실전! Querydsl
queryDto, queryRepository라는 네이밍도 관행인가요?
***queryDto, ***queryRepository 라고 네이밍 하던것들 ***AdminDto, ***InstantRepository 처럼 마음대로 바꿔서 사용해도 되나요? 'jpa1활용 1편'에서도 화면에 뿌려주기용 dto같은경우 orderQueryDto라고 네이밍 하시고 '실전! querydsl 사용자 정의 리포지토리' 편에서도 repository내에 custom하게 만든 함수가 핵심비즈니스 로직과 분리할 필요가 있는지 고려해봐야 한다고 말하시면서 memberQueryRepository라는 파일을 새로 만드셨는데 이렇게 핵심비즈니스 로직이 아닌 것들에 대해서 항상 query 라고 붙이시는 이유가 있나요? 이것도 memberRepository의 구현체에 관례적으로 Impl(implementation)을 붙여서 memberRepositoryImpl라고 하는것처럼 관례적인 것인가요? 보통 어드민 페이지같은 화면에 쓰이는 것들을 **queryRepository, **queryDto 로 네이밍 하라는걸로 받아들였는데 query라는 영단어가 너무 뜬금없이 느껴지고 와닿지가 않는것 같습니다. 그래서 이부분을 바꿔서 사용하고 싶은데 관례적으로 쓰이는것인지 아니면 영한님만 그렇게 쓰시는건지 궁금하고 이유가 있다면 이유도 알고싶습니다. 감사합니다~
-
해결됨프론트엔드 개발환경의 이해와 실습 (webpack, babel, eslint..)
해당 에러는 해결을 어떻게 해야할까요?
css-loader와 style-loader를 install 하려는데 8 vulnerabilities (4 low, 1 moderate, 3 high) 라는 글자와 함께 npm audit fix 하래서 했는데 아래 에러가 추가로 남더라고요.무시하고서 진행하려고 했는데 계속 저 에러 뜨면서 모듈에는 install도 안되고 이거 해결하는게 앞에 정답확인부분에 있나 슬쩍봤는데 아무 일없이 install 하셔서 조금 특수한 케이스인 것 같아 질문드립니다.추가로 혹시해서 git clone 새로해서 해봤는데 똑같은 에러가 발생했습니다.
-
미해결실전! 웹사이트제작! Step By Step! _Basic (한화캐미컬_반응형웹)
안녕하세요 강사님. 웹 페이지 픽셀 크기에 관한 질문을 남겨봅니다
아직 다 끝내지는 못했지만 강사님의 강의를 보면서 잘 따라하다가 제가 아직 경험이 없어서 그런지 한 가지 의문점이 있어 이렇게 질문을 올립니다. 위 이미지가 제가 강의를 보고 직접 만든 페이지인데...일단 전체화면을 모두 캡쳐한 이미지입니다. 제가 노트북을 쓰고 있어서 그런지 아니면 화면이 작아서 그런지 강사님이설정해주신 width 픽셀값대로 설정하면 저렇게 초과되네요. 원래 다 컴퓨터마다 다른건가요? 요 이미지는 강사님이 파일로 올려주신 완성된 웹 사이트인데 제 노트북으로 보면 width값이 선이 그어져있는 거 보니 뭔가 관련이 있고 안된다는 것 같은데 문제가 있는 건가요??
-
미해결바닥부터 시작하는 STM32 드론 개발의 모든 것
회로도 관련
강의 중 부분 부분 나오는 회로도를 모으면 전체 회로도가 되는 것인지요?
-
해결됨퍼블리셔 취업 진짜 실전 가이드(PDF)
포트폴리오 안에 들어가는 작업물에 대해서 질문이 있습니다
안녕하세요 선생님! 퍼블리셔 신입을 준비하며 개인적으로 포트폴리오를 만들고 있는 학생입니다~ 기본 지식은 갖춘 상태라 독학으로 포트폴리오를 만들고 있다 보니까 궁금한 점이 있는데 강의로는 해결이 안돼서ㅠㅠ 혹시 답변 받을 수 있을까 하는 마음으로 질문 남깁니다. 개인 포트폴리오 홈페이지(메인)를 제외하고 그 안에 들어가는 작업물들은 제가 창조, 리뉴얼 해낸 페이지를 해야하는건지 클론코딩 혹은 실제로 존재하는 웹페이지를 모방한 것만 보여줘도 되는건지 궁금합니다. 예를들어 제가 선생님의 다른 강의(반응형 건축 홈페이지)도 함께 수강하고 있는데 이를 제가 따로 변형해서 올려야 하는건지 저작권 관련한 부분도 그렇고 애매모호 하게 느껴집니다. 개인 홈페이지만 UI디자인까지 제 힘으로 구성하면 되는건가요?
-
미해결윤재성의 만들면서 배우는 Spring MVC 5
49강 restcontroller질문
아이디 중복확인 처리중 return chk + ""; 이부분에서 + "" 을 붙이는 이유가 무엇인가요?
-
미해결따라하며 배우는 도커와 CI환경 [2023.11 업데이트]
Window Home 유저분들은 WSL(Windows Subsystem for Linux) 통해 도커 설치하는 것을 권장합니다.
WSL은 윈도우에서도 리눅스 터미널을 사용할 수 있게 해주고 따라서 Docker Toolbox 설치 없이 리눅스 유저가 도커를 설치하는 것과 동일하게 설치 할 수 있습니다. 그리고 docker volume 강의에서 명령어를 사용하는데 윈도우 cmd, powershell 터미널에서 명령어가 안먹히더라구요. WSL 통한 리눅스 터미널을 사용하면 강의하시는 분과 같은 명령어를 써도 문제 없이 작동할겁니다. WSL 설치 링크 https://www.44bits.io/ko/post/wsl2-install-and-basic-usage
-
미해결실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발
@Inheritance(strategy = InheritancType.JOINED) 구현 중 질문 있습니다..
들은 강의를 기반으로 Member 클래스와 1대 다로 매핑되는 Community를 구현하려 합니다. Community는 추상 클래스입니다. 1. 위와 같은 경우에는 Repository를 CommunityReposity 외에도 NoticeRepository와 QnARepository를 구현해야하나요..? 1.2. NoticeRepository와 QnARepository를 구현해야한다면 CommunityService 외에도 NoticeService와 QnAService도 따로 구현해줘야하나요? 관련된걸 찾아보려해도 repository나 service 생성에 관한 내용을 찾아볼 수가 없어서 질문 드립니다......ㅠㅠ
-
미해결실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발
엔티티 삭제
영한님, 안녕하세요. 우선 좋은 강의 만들어 주셔서 감사드립니다. 완강 후 간단한 프로젝트를 진행하고 있는데 엔티티 삭제 (em.remove) 과정에 궁금한 것이 있어 질문 드립니다. <삭제과정> 제가 생성한 엔티티 들은 영한님이 예제로 생성하신 Member, Order, OrderItem 과 연관관계는 동일합니다. 다만 저는 Member 가 아닌 Business 라는 이름의 엔티티를 생성 했습니다. 강의에서와 동일하게 Order를 생성할 때, 파라미터로 Business 와 OrderItem 를 전달하여 생성합니다. 생성 후, em.find(Order.class, 1L) 하여 해당 order 를 찾아옵니다. 그리고는 이 order 를 삭제하기위해 order와 연관관계인 business 와 orderItem 의 연관관계를 끊어내고 em.romeve(order) 하여 해당 order를 삭제합니다. <예상> 저는 em.remove(order) 하고 em.persist(order) 후, em.find(Order.class, 1L) 로 해당 order 를 찾아오려고 하면 'IllegalArgumentException(em.find()Java doc 을 살펴보니 엔티티의 pk가 null 이면 해당 예외가 발생한다고 이해했습니다.)' 이 발생하므로써 해당 데이터를 찾을 수 없어 예외가 날 것이라고 예상했습니다. <결과> 연결된 DB 를 확인하면 제가 삭제하려고 했던 order 는 제대로 삭제되어 db에 남아있지 않았습니다. 하지만 테스트 코드를 작성하여 assert 를 하면 여전히 pk 값이 남아있습니다. <정리> 1. DB 에서 해당 데이터는 삭제 되었지만 왜 여전히 pk 값이 남아 있는지. (남아 있는것이 맞는지) 2. 제가 진행한 엔티티 삭제 과정에 문제가 있는지. (혹은 더 나은 방법) 3. 제가 확인하고자한 테스트 결과 (assertThrows(IllegalArgumentException.class.....)) 가 올바른지. 이렇게 세 가지 질문 드립니다. 아래 소스코드도 함께 공유 드립니다.
-
미해결Vue.js - Django 연동 웹 프로그래밍
Vuejs 와 Reactjs의 차이
Vuejs 와 Reactjs의 차이가 무엇인가요?
-
미해결[리뉴얼] React로 NodeBird SNS 만들기
OAuth 로그인 에러
안녕하세요. 구글과 페이스북 로그인에서 문제가 발생하고 있어 질문드립니다. 로컬 환경에서는 정상적으로 작동했고, api.<domain>/auth/login/google 과 같은 식으로 직접 백엔드로 요청을 하면 로그인이 실행됩니다. 그런데 프론트에서 로그인 버튼을 누르면 아래와 같은 에러가 발생합니다. 현재 nginx 설정은 아래와 같습니다.(왼족: 프론트, 오른쪽: 백엔드) proxsy_cookie_path와 proxy_buffers, proxy_buffer_size를 추가하면 된다고 하는 글들이 있어 추가해 봤는데 변화가 없습니다. 어떻게 해결해야 할지 감이 안 잡히네요.
-
미해결스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술
강의 선행지식 및 커리큘럼 관련 질문
안녕하세요 강사님 좋은 강의 감사합니다. 지금 DB관련 내용까지 강의를 들었습니다. 저는 자바를 공부하고 바로 이 강의를 시작했는데요. 그렇다보니 강사님이 자연스럽게 언급하시고 넘어가는 용어에 대해서도 잘 모르는 경우가 많아서 계속 이런 상태로 강의를 듣는게 의미가 있을까를 고민하고 있습니다. 선행 지식이 부족하다는 생각이 들어서 질문 드립니다. 저는 자바만 딱 공부한 상태라 제가 이 강의를 더 잘 이해하기 위해서는 어떤 공부를 더 하면 좋을까요? 저는 강사님 강의가 제일 좋았어서 강사님 강의나 책으로만 공부를 진행하고 싶은데,,, 이 정도의 이해로 다음 강의로 넘어가도 될지 아니면 좀 더 선행지식을 탄탄히 해야할지가 고민입니다.
-
미해결빠르게 git - 핵심만 골라 배우는 Git/Github
기본 banch가 master이어야 하는 것 같은데
저는 이렇게 master가 아닌 main으로 뜹니다 ㅠㅠ... 어떻게 master로 변경할 수 있을까요?
-
미해결Vue.js 완벽 가이드 - 실습과 리팩토링으로 배우는 실전 개념
mapGetters사용했을시 분기 처리
ListItem.vue에서 mapGetters를 사용했을시는 분기처리를 어떻게 하나요 computed: { ...mapGetters(['fetchedNews']) }