묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결[리뉴얼] 처음하는 파이썬 백엔드와 웹기술 입문 (파이썬 중급, flask[플라스크] 로 이해하는 백엔드 및 웹기술 기본) [풀스택 Part1-1]
REST API 구현 실행시 문제점
@app.route('/json_test') def hello_json(): data = {'name' : '김대리', 'family' : 'Byun'} return jsonify(data) 실행후 {"family":"Byun","name":"\uae40\ub300\ub9ac"} 출력됩니다. 사전의 키 name과 family 순서가 바뀌고 name의 한글이 깨지는데.. 원인과 해결 방법을 설명 부탁드립니다. 참고로 /server_info는 아래 처럼 잘 실행 됩니다. {"server_name":"0.0.0.0","server_port":"8081"}
-
미해결[딥러닝 전문가 과정 DL1101] 딥러닝을 위한 파이썬 레벨1
slack 가입 승인 부탁드리겠습니다
안녕하세요 로드맵 강의를 듣고 있는 학생입니다. slack 요청을 보내드렸는데, 확인하시면 승인 좀 부탁드리겠습니다. 항상 좋은 강의 감사합니다!
-
미해결[C++과 언리얼로 만드는 MMORPG 게임 개발 시리즈] Part4: 게임 서버
서버코어단에서 고려해야 하는 부분?
TCP는 데이터 경계가 없어 부분적으로 오는 경우를 고려해준다고 설명해주셨는데 그 외적으로 패킷 분실, 패킷 손상, 도착 순서 등등은 TCP에서 보장해주기 때문에 서버코어단을 만들때 고려해주지 않아도 되는 게 맞을까요??
-
미해결[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] Part5: 데이터베이스
Custom db?
큰 기업이라면 sql 서버에 지속적으로 데이터를 요청하는것보다 그냥 c나 c++로 custom db를 사내에 만들어서 관리하는것이 (기능은 더 적더라도) 노력은 들지만 한번 만들어 놓으면 더 빠르고 관리하기 편할 것 같다는 생각이 드는데 실제 현업에서 이러한 사례가 있는지, 없다면 이유가 있나요? (그냥 구현하기가 그만큼 어려워서인가요?) 자체적으로 게임엔진을 만드는 회사들도 있는데 자체 db를 만드는 회사는 없나 갑자기 궁금해져서 여쭤봅니다.
-
미해결스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술
중복회원 오류!
> Task :compileJava UP-TO-DATE > Task :processResources UP-TO-DATE > Task :classes UP-TO-DATE > Task :compileTestJava > Task :processTestResources NO-SOURCE > Task :testClasses > Task :test 20:26:51.469 [Test worker] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating CacheAwareContextLoaderDelegate from class [org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate] 20:26:51.489 [Test worker] 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:26:51.548 [Test worker] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating TestContextBootstrapper for test class [hello1.hellospring1.service.MemberServiceIntegrationTest] from class [org.springframework.boot.test.context.SpringBootTestContextBootstrapper] 20:26:51.562 [Test worker] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [hello1.hellospring1.service.MemberServiceIntegrationTest], using SpringBootContextLoader 20:26:51.568 [Test worker] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [hello1.hellospring1.service.MemberServiceIntegrationTest]: class path resource [hello1/hellospring1/service/MemberServiceIntegrationTest-context.xml] does not exist 20:26:51.568 [Test worker] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [hello1.hellospring1.service.MemberServiceIntegrationTest]: class path resource [hello1/hellospring1/service/MemberServiceIntegrationTestContext.groovy] does not exist 20:26:51.568 [Test worker] INFO org.springframework.test.context.support.AbstractContextLoader - Could not detect default resource locations for test class [hello1.hellospring1.service.MemberServiceIntegrationTest]: no resource found for suffixes {-context.xml, Context.groovy}. 20:26:51.569 [Test worker] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils - Could not detect default configuration classes for test class [hello1.hellospring1.service.MemberServiceIntegrationTest]: MemberServiceIntegrationTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 20:26:51.628 [Test worker] DEBUG org.springframework.test.context.support.ActiveProfilesUtils - Could not find an 'annotation declaring class' for annotation type [org.springframework.test.context.ActiveProfiles] and class [hello1.hellospring1.service.MemberServiceIntegrationTest] 20:26:51.731 [Test worker] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [C:\Users\tjd57\study\hello-spring1\build\classes\java\main\hello1\hellospring1\HelloSpring1Application.class] 20:26:51.737 [Test worker] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration hello1.hellospring1.HelloSpring1Application for test class hello1.hellospring1.service.MemberServiceIntegrationTest 20:26:51.853 [Test worker] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - @TestExecutionListeners is not present for class [hello1.hellospring1.service.MemberServiceIntegrationTest]: using defaults. 20:26:51.854 [Test worker] 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.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener, 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.event.ApplicationEventsTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.test.context.event.EventPublishingTestExecutionListener] 20:26:51.869 [Test worker] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@5bf22f18, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@267f474e, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@7a7471ce, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@28276e50, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@62e70ea3, org.springframework.test.context.support.DirtiesContextTestExecutionListener@3efe7086, org.springframework.test.context.transaction.TransactionalTestExecutionListener@675d8c96, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@741b3bc3, org.springframework.test.context.event.EventPublishingTestExecutionListener@2ed3b1f5, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@63648ee9, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@68d6972f, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@45be7cd5, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@7651218e, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@3185fa6b, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@6d366c9b] 20:26:51.874 [Test worker] DEBUG org.springframework.test.context.support.AbstractDirtiesContextTestExecutionListener - Before test class: context [DefaultTestContext@d5ae57e testClass = MemberServiceIntegrationTest, testInstance = [null], testMethod = [null], testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@68759011 testClass = MemberServiceIntegrationTest, locations = '{}', classes = '{class hello1.hellospring1.HelloSpring1Application}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.autoconfigure.actuate.metrics.MetricsExportContextCustomizerFactory$DisableMetricExportContextCustomizer@1921ad94, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@53fd0d10, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@1fde5d22, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@16ce702d, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@2f1de2d6, org.springframework.boot.test.context.SpringBootTestArgs@1, org.springframework.boot.test.context.SpringBootTestWebEnvironment@29d89d5d], 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]. . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v2.6.6) 2022-05-01 20:26:52.231 INFO 17296 --- [ Test worker] h.h.s.MemberServiceIntegrationTest : Starting MemberServiceIntegrationTest using Java 17.0.1 on LAPTOP-LEVUU8B0 with PID 17296 (started by tjd57 in C:\Users\tjd57\study\hello-spring1) 2022-05-01 20:26:52.233 INFO 17296 --- [ Test worker] h.h.s.MemberServiceIntegrationTest : No active profile set, falling back to 1 default profile: "default" 2022-05-01 20:26:53.722 INFO 17296 --- [ Test worker] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] 2022-05-01 20:26:54.073 INFO 17296 --- [ Test worker] h.h.s.MemberServiceIntegrationTest : Started MemberServiceIntegrationTest in 2.157 seconds (JVM running for 4.025) 2022-05-01 20:26:54.113 INFO 17296 --- [ Test worker] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 2022-05-01 20:26:54.174 INFO 17296 --- [ Test worker] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 2022-05-01 20:26:54.180 INFO 17296 --- [ Test worker] o.s.t.c.transaction.TransactionContext : Began transaction (1) for test context [DefaultTestContext@d5ae57e testClass = MemberServiceIntegrationTest, testInstance = hello1.hellospring1.service.MemberServiceIntegrationTest@5f8a02cf, testMethod = 중복_회원_예외@MemberServiceIntegrationTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@68759011 testClass = MemberServiceIntegrationTest, locations = '{}', classes = '{class hello1.hellospring1.HelloSpring1Application}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.autoconfigure.actuate.metrics.MetricsExportContextCustomizerFactory$DisableMetricExportContextCustomizer@1921ad94, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@53fd0d10, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@1fde5d22, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@16ce702d, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@2f1de2d6, org.springframework.boot.test.context.SpringBootTestArgs@1, org.springframework.boot.test.context.SpringBootTestWebEnvironment@29d89d5d], 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, 'org.springframework.test.context.event.ApplicationEventsTestExecutionListener.recordApplicationEvents' -> false]]; transaction manager [org.springframework.jdbc.support.JdbcTransactionManager@26d5a317]; rollback [true] 2022-05-01 20:26:54.917 INFO 17296 --- [ Test worker] o.s.t.c.transaction.TransactionContext : Rolled back transaction for test: [DefaultTestContext@d5ae57e testClass = MemberServiceIntegrationTest, testInstance = hello1.hellospring1.service.MemberServiceIntegrationTest@5f8a02cf, testMethod = 중복_회원_예외@MemberServiceIntegrationTest, testException = org.opentest4j.AssertionFailedError: expected: "이미 존재하는 회원입니다." but was: "이미 존재하는 회원입니다. ", mergedContextConfiguration = [WebMergedContextConfiguration@68759011 testClass = MemberServiceIntegrationTest, locations = '{}', classes = '{class hello1.hellospring1.HelloSpring1Application}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.autoconfigure.actuate.metrics.MetricsExportContextCustomizerFactory$DisableMetricExportContextCustomizer@1921ad94, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@53fd0d10, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@1fde5d22, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@16ce702d, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@2f1de2d6, org.springframework.boot.test.context.SpringBootTestArgs@1, org.springframework.boot.test.context.SpringBootTestWebEnvironment@29d89d5d], 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, 'org.springframework.test.context.event.ApplicationEventsTestExecutionListener.recordApplicationEvents' -> false]] expected: "이미 존재하는 회원입니다." but was: "이미 존재하는 회원입니다. " org.opentest4j.AssertionFailedError: expected: "이미 존재하는 회원입니다." but was: "이미 존재하는 회원입니다. " at java.base@17.0.1/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at java.base@17.0.1/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) at java.base@17.0.1/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.base@17.0.1/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) at app//hello1.hellospring1.service.MemberServiceIntegrationTest.중복_회원_예외(MemberServiceIntegrationTest.java:53) at java.base@17.0.1/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base@17.0.1/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base@17.0.1/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base@17.0.1/java.lang.reflect.Method.invoke(Method.java:568) at app//org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:725) at app//org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) at app//org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) at app//org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) at app//org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) at app//org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) at app//org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) at app//org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) at app//org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:214) at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:210) at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:135) at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:66) at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151) at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) at app//org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) at java.base@17.0.1/java.util.ArrayList.forEach(ArrayList.java:1511) at app//org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41) at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155) at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) at app//org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) at java.base@17.0.1/java.util.ArrayList.forEach(ArrayList.java:1511) at app//org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41) at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155) at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) at app//org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) at app//org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35) at app//org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) at app//org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.processAllTestClasses(JUnitPlatformTestClassProcessor.java:99) at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.access$000(JUnitPlatformTestClassProcessor.java:79) at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor.stop(JUnitPlatformTestClassProcessor.java:75) at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:61) at java.base@17.0.1/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base@17.0.1/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base@17.0.1/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base@17.0.1/java.lang.reflect.Method.invoke(Method.java:568) at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36) at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33) at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94) at jdk.proxy1/jdk.proxy1.$Proxy2.stop(Unknown Source) at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193) at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129) at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100) at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60) at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56) at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:133) at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:71) at app//worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69) at app//worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74) 2022-05-01 20:26:54.928 INFO 17296 --- [ Test worker] o.s.t.c.transaction.TransactionContext : Began transaction (1) for test context [DefaultTestContext@d5ae57e testClass = MemberServiceIntegrationTest, testInstance = hello1.hellospring1.service.MemberServiceIntegrationTest@5e51ec2e, testMethod = 회원가입@MemberServiceIntegrationTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@68759011 testClass = MemberServiceIntegrationTest, locations = '{}', classes = '{class hello1.hellospring1.HelloSpring1Application}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.autoconfigure.actuate.metrics.MetricsExportContextCustomizerFactory$DisableMetricExportContextCustomizer@1921ad94, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@53fd0d10, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@1fde5d22, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@16ce702d, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@2f1de2d6, org.springframework.boot.test.context.SpringBootTestArgs@1, org.springframework.boot.test.context.SpringBootTestWebEnvironment@29d89d5d], 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, 'org.springframework.test.context.event.ApplicationEventsTestExecutionListener.recordApplicationEvents' -> false]]; transaction manager [org.springframework.jdbc.support.JdbcTransactionManager@26d5a317]; rollback [true] 2022-05-01 20:26:54.953 INFO 17296 --- [ Test worker] o.s.t.c.transaction.TransactionContext : Rolled back transaction for test: [DefaultTestContext@d5ae57e testClass = MemberServiceIntegrationTest, testInstance = hello1.hellospring1.service.MemberServiceIntegrationTest@5e51ec2e, testMethod = 회원가입@MemberServiceIntegrationTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@68759011 testClass = MemberServiceIntegrationTest, locations = '{}', classes = '{class hello1.hellospring1.HelloSpring1Application}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.autoconfigure.actuate.metrics.MetricsExportContextCustomizerFactory$DisableMetricExportContextCustomizer@1921ad94, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@53fd0d10, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@1fde5d22, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@16ce702d, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@2f1de2d6, org.springframework.boot.test.context.SpringBootTestArgs@1, org.springframework.boot.test.context.SpringBootTestWebEnvironment@29d89d5d], 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, 'org.springframework.test.context.event.ApplicationEventsTestExecutionListener.recordApplicationEvents' -> false]] MemberServiceIntegrationTest > �ߺ�_ȸ��_����() FAILED org.opentest4j.AssertionFailedError at MemberServiceIntegrationTest.java:53 2022-05-01 20:26:54.989 INFO 17296 --- [ionShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... 2022-05-01 20:26:55.004 INFO 17296 --- [ionShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. 2 tests completed, 1 failed > Task :test FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':test'. > There were failing tests. See the report at: file:///C:/Users/tjd57/study/hello-spring1/build/reports/tests/test/index.html * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 6s 4 actionable tasks: 2 executed, 2 up-to-date [질문 내용]이미 존재하는 회원이라는 오류가 뜨고있습니다 , 어떻게 해결해야 좋을까요??
-
미해결Django Mini project BEST 3
AWS 배포 Nginx 502 Bad Gateway 오류
에러로그 sudo vi /etc/nginx/nginx.conf sudo vi /etc/nginx/sites-enabled/default 서버를 구동하고 AWS Public IP로 접속하려고 해도 접속이 안됩니다 ,,, 어떻게 해야할까요
-
미해결홍정모의 따라하며 배우는 C++
강의 마지막 문제입니다.
문제 1, 2, 3 은 교수님이 풀어주신 예제의 변형 문제입니다. 교수님의 예제 출력값 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 ----------------------------------------------------------------------------------------------------------------------------- 1. 원하는 출력값 1 2 3 4 5 1 2 3 4 1 2 3 1 2 1 #include <iostream> using namespace std; int main() { int outer_count = 5; while(outer_count >= 0) { int inner_count = 1; while(outer_count >= inner_count) { cout << inner_count++ << " "; } cout << endl; --outer_count; } return 0; } ----------------------------------------------------------------------------------------------------------------------------- 2. 원하는 출력값 5 4 3 2 1 5 4 3 2 5 4 3 5 4 5 #include <iostream> using namespace std; int main() { int outer = 1; while(outer <= 5) { int inner = 5; while(outer <= inner) { cout << inner << " "; --inner; } cout << endl; ++outer; } return 0; } ----------------------------------------------------------------------------------------------------------------------------- 3. 원하는 출력값 1 2 3 4 5 X 1 2 3 4 X 1 2 3 X 1 2 X 1 X #include <iostream> using namespace std; int main() { int outer = 5; while(outer >= 0) { int inner = 1; while(outer >= inner) { cout << inner << " "; inner++; if(outer < inner) cout << "X"; } cout << endl; outer--; } return 0; } ----------------------------------------------------------------------------------------------------------------------------- 4. 구구단 프로그램 #include <iostream> using namespace std; int main() { int x; cin >> x; int y = 1; while(y <= 9) { cout << x << "*" << y << "=" << x*y << endl; y++; } return 0; }
-
미해결유니티 머신러닝 에이전트 완전정복 (기초편)
3DBall 빌드 후 경고 메세지
Build 하고 아래 경고가 나옵니다. 무시해되 되는지요? Warning: Unable to find player assembly: C:\Unity\EntityComponentSystemSamples\ECSSamples\Temp\StagingArea\Data\Managed\UnityEngine.TestRunner.dll
-
미해결
AWS 배포 Nginx 502 Bad Gateway 오류
에러로그 sudo vi /etc/nginx/nginx.conf sudo vi /etc/nginx/sites-enabled/default 서버를 구동하고 AWS Public IP로 접속하려고 해도 접속이 안됩니다 ,,, 어떻게 해야할까요
-
미해결[백문이불여일타] 데이터 분석을 위한 중급 SQL 문제풀이
NOT LIKE 사용 쿼리 질문
안녕하세요. 저는 아래와 같이 쿼리를 짜보았는데요. SELECT DISTINCT(CITY)FROM STATIONWHERE city NOT LIKE '[AEIOU]%' OR city NOT LIKE '%[AEIOU]'; 해커랭크에서도 위의 쿼리는 Wrong Answer로 나오기는 하지만 아웃풋 자체는 정답과 같은 거 같은데 - 이 쿼리 방법은 틀린 걸까요?
-
미해결유니티 머신러닝 에이전트 완전정복 (기초편)
Unity version
유니티 버전을 2021.3.1f1 (lts) 를 사용해도 되는지요?
-
미해결오라클 성능 분석과 인스턴스 튜닝 핵심 가이드
B-Tree 인덱스 세그먼트 구조
B tree index의 이해 강좌 마지막 부분 ppt에서 ROWID가 ACER인 ROW가 복수개의 데이터 파일에 존재합니다. ROWID는 유니크한 것으로 알고 있었는데, 실제로 저런 케이스가 존재 가능한가요??
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
수업자료와 수업노트 다운로드 어디서 하나요?
수업자료와 수업노트 다운로드 어디서 하나요?
-
미해결설계독학맛비's 실전 Verilog HDL Season 1 (Clock부터 Internal Memory까지)
시스템 베릴로그에 관하여
강사님 안녕하세요? 강의 정말 잘 듣고 많은 것을 배웠습니다. 현재 저는 ASIC 계열에서 프론트엔드 업무를 하고 있습니다. synthesis 부터 sta, ec 등 작업을 하던 중 설계에 관해서 많은 관심이 생겼습니다. 막연하게 설계를 해보고싶다! 이런 것은 아니고 rtl이 주로 system verilog로 되어서 받는데, 혼자서 해석하기가 난해하더군요.. 그래서 system verilog 문법이나 강좌를 따로 들을 수 있는 곳이 있을까요?? 아니면 어떤 식으로 공부를 해야할 지 어렵습니다.
-
미해결실전! Querydsl
오타 있습니다.
학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요.1. 강의 내용과 관련된 질문을 남겨주세요.2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요.(자주 하는 질문 링크: https://bit.ly/3fX6ygx)3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요.(질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG)질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요.=========================================[질문 템플릿]1. 강의 내용과 관련된 질문인가요? (예/아니오)2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오)3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오)[질문 내용]딱히 수업내용과 상관없긴한데 id 'org.springframework.boot' version ‘2.2.2.RELEASE' 요 부분이 오타입니다. 뭐 어차피 스프링 부트가 만들어준 그대로 사용하기 때문에 크게 상관없을 것 같긴한데 플러그인 내용들을 전부 복사하는 경우 문제가 발생할것 같아 제보합니다. 해 당내용 : queryDsl => Gradle 전체 설정 plugins {id 'org.springframework.boot' version ‘2.2.2.RELEASE'id 'io.spring.dependency-management' version '1.0.8.RELEASE' id 'java' }
-
미해결
R 사용자계정 한글오류
어쩌다 R프로그램을 지우고 새로 설치하게되었는데 사용자계정이 한글이여서 package 설치가 안됩니다. 이전까지 잘쓰다가 이번에 새로 깔았더니 경로가 다 날아갔는지 초기화되었는데 하루종일 붙잡고 있어도 해결이 안되요 도와주세요ㅠㅠ R과 Rstudio는 D드라이브에 설치했고 onedrive, 백신프로그램 다끄고 관리자 권한으로 실행도 다 해봤습니다. 설치경로, 지정경로에도 한글없도록 폴더를 만들어줬는데 도대체 뭐가 문제인걸까요!! 그리고 "다운로드된 바이너리 패키지들은 다음의 위치에 있습니다" 이건 왜 C드라이브로 가는지 정말 모르겠습니다ㅠㅠ 오류코드입니다. > install.packages("data.table") Error in install.packages : Updating loaded packages Restarting R session... Warning message: In normalizePath(path.expand(path), winslash, mustWork) : path[1]="C:/Users/???/Documents": 파일 이름, 디렉터리 이름 또는 볼륨 레이블 구문이 잘못되었습니다 Warning message: In normalizePath(path.expand(path), winslash, mustWork) : path[1]="C:/Users/???/Documents": 파일 이름, 디렉터리 이름 또는 볼륨 레이블 구문이 잘못되었습니다 Warning message: In normalizePath(path.expand(path), winslash, mustWork) : path[1]="C:/Users/???/Documents": 파일 이름, 디렉터리 이름 또는 볼륨 레이블 구문이 잘못되었습니다 Warning message: In normalizePath(path.expand(path), winslash, mustWork) : path[1]="C:/Users/???/Documents": 파일 이름, 디렉터리 이름 또는 볼륨 레이블 구문이 잘못되었습니다 > install.packages("data.table") WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding: https://cran.rstudio.com/bin/windows/Rtools/ trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.2/data.table_1.14.2.zip' Content type 'application/zip' length 2240158 bytes (2.1 MB) downloaded 2.1 MB 패키지 ‘data.table’를 성공적으로 압축해제하였고 MD5 sums 이 확인되었습니다 다운로드된 바이너리 패키지들은 다음의 위치에 있습니다 C:\Windows\Temp\RtmpgvLOHC\downloaded_packages > library(data.table) data.table 1.14.2 using 3 threads (see ?getDTthreads). Latest news: r-datatable.com Warning messages: 1: In normalizePath(path.expand(path), winslash, mustWork) : path[1]="C:/Users/???/Documents": 파일 이름, 디렉터리 이름 또는 볼륨 레이블 구문이 잘못되었습니다 2: In normalizePath(path.expand(path), winslash, mustWork) : path[1]="C:/Users/???/Documents": 파일 이름, 디렉터리 이름 또는 볼륨 레이블 구문이 잘못되었습니다
-
미해결[OpenCV] 파이썬 딥러닝 영상처리 프로젝트 2 - 불량사과를 찾아라!
코드에 대한 에러.
warped = cv2.warpAffine(image_origin, metrix, (image_width, image_height), flags=cv2.INTER_CUBIC) 이 부분에서 계속 center에 관한 에러가 발생합니다. 따로 코드를 건들이지 않고 실행만 시켰습니다.
-
미해결설계독학맛비's 실전 Verilog HDL Season 1 (Clock부터 Internal Memory까지)
network error : connection refused 가 뜨는 이유가 뭘까요?
mobaxterm 설치 후(로그인 안했는데 자동으로 된거같아요) wsl-ubuntu랑 wsl-ubuntu20.04 두개가 나오잖아요 근데 아래껀 영상대로 잘 되는데 위에껀 오류가 뜨네요 어떻게 아래꺼로 따라해서 설치(GUI로)를 잘 하긴 했는데(울트라 다 뺏는데 50기가라서 놀랐습니다) 혹시 이 오류로 추후에 문제가 생기려나 싶어 여쭤봅니다
-
미해결Spring Cloud로 개발하는 마이크로서비스 애플리케이션(MSA)
rabbitmq 서버 실행시 권한 오류
안녕하세요! config-service에 rabbitmq 설정 정보를 추가하고 실행시켜 보니 다음과 같은 에러가 뜨며 Rabbit health check failed라고 나오는데 몇시간 동안 찾아봐도 해결이 안되서 질문 드립니다ㅠㅠ Caused by: java.io.IOException: null at com.rabbitmq.client.impl.AMQChannel.wrap(AMQChannel.java:129) ~[amqp-client-5.13.1.jar:5.13.1] at com.rabbitmq.client.impl.AMQChannel.wrap(AMQChannel.java:125) ~[amqp-client-5.13.1.jar:5.13.1] at com.rabbitmq.client.impl.AMQChannel.exnWrappingRpc(AMQChannel.java:147) ~[amqp-client-5.13.1.jar:5.13.1] at com.rabbitmq.client.impl.AMQConnection.start(AMQConnection.java:439) ~[amqp-client-5.13.1.jar:5.13.1] at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1225) ~[amqp-client-5.13.1.jar:5.13.1] at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1173) ~[amqp-client-5.13.1.jar:5.13.1] at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.connectAddresses(AbstractConnectionFactory.java:640) ~[spring-rabbit-2.4.2.jar:2.4.2] at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.connect(AbstractConnectionFactory.java:615) ~[spring-rabbit-2.4.2.jar:2.4.2] at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.createBareConnection(AbstractConnectionFactory.java:565) ~[spring-rabbit-2.4.2.jar:2.4.2] ... 49 common frames omitted Caused by: com.rabbitmq.client.ShutdownSignalException: connection error; protocol method: #method<connection.close>(reply-code=541, reply-text=INTERNAL_ERROR - access to vhost '/' refused for user 'jjh': vhost '/' is down, class-id=10, method-id=40) at com.rabbitmq.utility.ValueOrException.getValue(ValueOrException.java:66) ~[amqp-client-5.13.1.jar:5.13.1] at com.rabbitmq.utility.BlockingValueOrException.uninterruptibleGetValue(BlockingValueOrException.java:36) ~[amqp-client-5.13.1.jar:5.13.1] at com.rabbitmq.client.impl.AMQChannel$BlockingRpcContinuation.getReply(AMQChannel.java:502) ~[amqp-client-5.13.1.jar:5.13.1] at com.rabbitmq.client.impl.AMQChannel.privateRpc(AMQChannel.java:293) ~[amqp-client-5.13.1.jar:5.13.1] at com.rabbitmq.client.impl.AMQChannel.exnWrappingRpc(AMQChannel.java:141) ~[amqp-client-5.13.1.jar:5.13.1] ... 55 common frames omitted 계정 문제인것 같아서, 새로 유저 추가 및 권한 설정 하고 vhost도 추가해줬는데도 같은 에러가 나옵니다. 웹페이지에서 보면 stopped 되었다고 나오는데 이부분이 문제인 걸까요?? 또한, sudo rabbitmqctl reset, stop_app 등 명령어를 실행하면 다음과 같은 에러가 나오는데 이유를 모르겠습니다 Error: unable to perform an operation on node 'rabbit@localhost'. Please see diagnostics information and suggestions below. Most common reasons for this are: * Target node is unreachable (e.g. due to hostname resolution, TCP connection or firewall issues) * CLI tool fails to authenticate with the server (e.g. due to CLI tool's Erlang cookie not matching that of the server) * Target node is not running In addition to the diagnostics info below: * See the CLI, clustering and networking guides on https://rabbitmq.com/documentation.html to learn more * Consult server logs on node rabbit@localhost * If target node is configured to use long node names, don't forget to use --longnames with CLI tools DIAGNOSTICS =========== attempted to contact: [rabbit@localhost] rabbit@localhost: * connected to epmd (port 4369) on localhost * epmd reports: node 'rabbit' not running at all no other nodes on localhost * suggestion: start the node Current node details:
-
미해결[리뉴얼] 파이썬입문과 크롤링기초 부트캠프 [파이썬, 웹, 데이터 이해 기본까지] (업데이트)
2분 6초부분
2분 6초부분 \t 가아닌 저는 원화문자t로 표시가 됩니다.. 이거 왜이럴까요?