묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결머신러닝 이론 및 파이썬 실습
파이썬 3이 아닌 2버전을 쓰는 이유를 알 수 있을까요?
..
-
미해결Flutter 입문 - 안드로이드, iOS 개발을 한 번에 (with Firebase)
게시물을 가져오면서 에러가 발생합니다..!
안녕하세요 선생님! 파이어스토어에서 저장한 게시물을 가져와서 searchpage에 보여주는 것을 하고있는데요..! 이런 에러와 함께 화면 사진 부분에 에러가뜹니다. 찾아봐도 어떻게 고쳐야하는 에러인기 잘 모르겠어서 질문 드립니다ㅠㅠ
-
미해결예제로 배우는 스프링 입문 (개정판)
mvnw package 실행 시 오류
Exception in thread "main" javax.net.ssl.SSLException: Received fatal alert: protocol_version at sun.security.ssl.Alerts.getSSLException(Alerts.java:208) at sun.security.ssl.Alerts.getSSLException(Alerts.java:154) at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1979) at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1086) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1332) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1359) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1343) at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1301) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254) at org.apache.maven.wrapper.DefaultDownloader.downloadInternal(DefaultDownloader.java:90) at org.apache.maven.wrapper.DefaultDownloader.download(DefaultDownloader.java:76) at org.apache.maven.wrapper.Installer.createDist(Installer.java:72) at org.apache.maven.wrapper.WrapperExecutor.execute(WrapperExecutor.java:121) at org.apache.maven.wrapper.MavenWrapperMain.main(MavenWrapperMain.java:61) 해당 오류를 잘 모르겠습니다.
-
해결됨따라하며 배우는 노드, 리액트 시리즈 - 유튜브 사이트 만들기
video.save(...)
좋은강의 감사합니다. 다른게아니라 잘따라하다가 save가 안되서 질문 드려요 console 로 다찍어봤는데 video 객체까지 다 가져오는데 save 함수가 안되네요.. 왜이런걸까요? 아무런 오류도 나오지 않습니다.
-
미해결인스타그램 클론 - full stack 웹 개발
삭제가 안되네요 ㅠㅡㅠ
뭐가 문제인지 잘 모르겟습니다 흑흑
-
미해결실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발
Member테이블 생성이 안되는데 어떤 문제일까요?
문법적 오류는 아닌 거 같습니다 테스트 돌려보면 이렇게 나오는데 원인이 뭘까요 똑같이 따라했는데 ㅠㅠ Testing started at 오후 2:17 ... > Task :cleanTest > Task :compileJava UP-TO-DATE > Task :processResources > Task :classes > Task :compileTestJava UP-TO-DATE > Task :processTestResources NO-SOURCE > Task :testClasses UP-TO-DATE > Task :test 14:17:42.173 [Test worker] DEBUG org.springframework.test.context.junit4.SpringJUnit4ClassRunner - SpringJUnit4ClassRunner constructor called with [class jpabook.jpashop.MemberRepositoryTest] 14:17:42.189 [Test worker] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating CacheAwareContextLoaderDelegate from class [org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate] 14:17:42.206 [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)] 14:17:42.252 [Test worker] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating TestContextBootstrapper for test class [jpabook.jpashop.MemberRepositoryTest] from class [org.springframework.boot.test.context.SpringBootTestContextBootstrapper] 14:17:42.287 [Test worker] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [jpabook.jpashop.MemberRepositoryTest], using SpringBootContextLoader 14:17:42.294 [Test worker] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [jpabook.jpashop.MemberRepositoryTest]: class path resource [jpabook/jpashop/MemberRepositoryTest-context.xml] does not exist 14:17:42.295 [Test worker] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [jpabook.jpashop.MemberRepositoryTest]: class path resource [jpabook/jpashop/MemberRepositoryTestContext.groovy] does not exist 14:17:42.296 [Test worker] INFO org.springframework.test.context.support.AbstractContextLoader - Could not detect default resource locations for test class [jpabook.jpashop.MemberRepositoryTest]: no resource found for suffixes {-context.xml, Context.groovy}. 14:17:42.297 [Test worker] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils - Could not detect default configuration classes for test class [jpabook.jpashop.MemberRepositoryTest]: MemberRepositoryTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 14:17:42.412 [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 [jpabook.jpashop.MemberRepositoryTest] 14:17:42.591 [Test worker] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [C:\Users\Toshiba\Desktop\study\jpashop\jpashop\build\classes\java\main\jpabook\jpashop\JpashopApplication.class] 14:17:42.605 [Test worker] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration jpabook.jpashop.JpashopApplication for test class jpabook.jpashop.MemberRepositoryTest 14:17:42.841 [Test worker] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - @TestExecutionListeners is not present for class [jpabook.jpashop.MemberRepositoryTest]: using defaults. 14:17:42.844 [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.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] 14:17:42.896 [Test worker] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@27c8f2ae, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@293327b4, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@57cf5589, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@7e97c13e, org.springframework.test.context.support.DirtiesContextTestExecutionListener@1eaa11c0, org.springframework.test.context.transaction.TransactionalTestExecutionListener@2e949b26, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@3dae060, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@43844f14, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@dee62b5, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@7299585, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@5324ace0, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@3239a57f] 14:17:42.906 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [jpabook.jpashop.MemberRepositoryTest] 14:17:42.907 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [jpabook.jpashop.MemberRepositoryTest] 14:17:42.920 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [jpabook.jpashop.MemberRepositoryTest] 14:17:42.921 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [jpabook.jpashop.MemberRepositoryTest] 14:17:42.924 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [jpabook.jpashop.MemberRepositoryTest] 14:17:42.925 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [jpabook.jpashop.MemberRepositoryTest] 14:17:42.938 [Test worker] DEBUG org.springframework.test.context.support.AbstractDirtiesContextTestExecutionListener - Before test class: context [DefaultTestContext@255eec38 testClass = MemberRepositoryTest, testInstance = [null], testMethod = [null], testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@426dab4d testClass = MemberRepositoryTest, locations = '{}', classes = '{class jpabook.jpashop.JpashopApplication}', 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@17a6614d, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@7f4ad5d4, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@6e1f7f82, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@31d979ab], 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]. 14:17:42.940 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [jpabook.jpashop.MemberRepositoryTest] 14:17:42.940 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [jpabook.jpashop.MemberRepositoryTest] 14:17:42.996 [Test worker] 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.11.RELEASE) 2020-01-03 14:17:44.047 INFO 5780 --- [ Test worker] jpabook.jpashop.MemberRepositoryTest : Starting MemberRepositoryTest on DESKTOP-N953KG9 with PID 5780 (started by Toshiba in C:\Users\Toshiba\Desktop\study\jpashop\jpashop) 2020-01-03 14:17:44.051 INFO 5780 --- [ Test worker] jpabook.jpashop.MemberRepositoryTest : No active profile set, falling back to default profiles: default 2020-01-03 14:17:46.496 INFO 5780 --- [ Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2020-01-03 14:17:46.565 INFO 5780 --- [ Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 39ms. Found 0 JPA repository interfaces. 2020-01-03 14:17:47.607 INFO 5780 --- [ Test worker] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$108b6778] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2020-01-03 14:17:48.112 INFO 5780 --- [ Test worker] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 2020-01-03 14:17:48.595 INFO 5780 --- [ Test worker] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 2020-01-03 14:17:48.836 INFO 5780 --- [ Test worker] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [ name: default ...] 2020-01-03 14:17:49.074 INFO 5780 --- [ Test worker] org.hibernate.Version : HHH000412: Hibernate Core {5.3.14.Final} 2020-01-03 14:17:49.079 INFO 5780 --- [ Test worker] org.hibernate.cfg.Environment : HHH000206: hibernate.properties not found 2020-01-03 14:17:49.511 INFO 5780 --- [ Test worker] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.0.4.Final} 2020-01-03 14:17:49.966 INFO 5780 --- [ Test worker] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect 2020-01-03 14:17:51.741 INFO 5780 --- [ Test worker] o.h.t.schema.internal.SchemaCreatorImpl : HHH000476: Executing import script 'org.hibernate.tool.schema.internal.exec.ScriptSourceInputNonExistentImpl@28d906ad' 2020-01-03 14:17:51.748 INFO 5780 --- [ Test worker] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2020-01-03 14:17:53.457 INFO 5780 --- [ Test worker] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor' 2020-01-03 14:17:53.621 WARN 5780 --- [ Test worker] 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-01-03 14:17:53.766 INFO 5780 --- [ Test worker] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] 2020-01-03 14:17:54.824 INFO 5780 --- [ Test worker] jpabook.jpashop.MemberRepositoryTest : Started MemberRepositoryTest in 11.803 seconds (JVM running for 15.878) 2020-01-03 14:17:55.128 INFO 5780 --- [ Test worker] o.s.t.c.transaction.TransactionContext : Began transaction (1) for test context [DefaultTestContext@255eec38 testClass = MemberRepositoryTest, testInstance = jpabook.jpashop.MemberRepositoryTest@5dafbf92, testMethod = testMember@MemberRepositoryTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@426dab4d testClass = MemberRepositoryTest, locations = '{}', classes = '{class jpabook.jpashop.JpashopApplication}', 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@17a6614d, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@7f4ad5d4, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@6e1f7f82, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@31d979ab], 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@24bf3512]; rollback [true] 2020-01-03 14:17:55.760 INFO 5780 --- [ Test worker] o.s.t.c.transaction.TransactionContext : Rolled back transaction for test: [DefaultTestContext@255eec38 testClass = MemberRepositoryTest, testInstance = jpabook.jpashop.MemberRepositoryTest@5dafbf92, testMethod = testMember@MemberRepositoryTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@426dab4d testClass = MemberRepositoryTest, locations = '{}', classes = '{class jpabook.jpashop.JpashopApplication}', 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@17a6614d, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@7f4ad5d4, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@6e1f7f82, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@31d979ab], 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-01-03 14:17:55.791 INFO 5780 --- [ Thread-5] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor' 2020-01-03 14:17:55.793 INFO 5780 --- [ Thread-5] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2020-01-03 14:17:55.794 INFO 5780 --- [ Thread-5] .SchemaDropperImpl$DelayedDropActionImpl : HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2020-01-03 14:17:56.045 WARN 5780 --- [ Thread-5] o.s.b.f.support.DisposableBeanAdapter : Invocation of destroy method failed on bean with name 'inMemoryDatabaseShutdownExecutor': org.h2.jdbc.JdbcSQLNonTransientConnectionException: Database is already closed (to disable automatic closing at VM shutdown, add ";DB_CLOSE_ON_EXIT=FALSE" to the db URL) [90121-200] 2020-01-03 14:17:56.045 INFO 5780 --- [ Thread-5] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... 2020-01-03 14:17:56.064 INFO 5780 --- [ Thread-5] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. BUILD SUCCESSFUL in 20s 5 actionable tasks: 3 executed, 2 up-to-date 오후 2:17:56: Tasks execution finished ':cleanTest :test --tests "jpabook.jpashop.MemberRepositoryTest.testMember"'.
-
해결됨스프링 웹 MVC
모델에 관해 질문 있습니다.
안녕하세요 기선님 강의를 보다가 제가 기존에 배운것과 혼동되는 부분이 있어서 이렇게 질문 올립니다. 제가 기존에 알던 MVC에서의 Model은 데이터, 로직 및 규칙을 직접 관리하는 컴포넌트로 알고있으며 위키 백과에도 그렇게 정의되어 있습니다. 아마 이것을 코드로 보면 비즈니스 로직을 처리하는 ` @Service`일것입니다. 기선님께서 수업 자료에 올리신 모델의 정의 `도메인 객체 또는 DTO로 화면에 전달할 또는 화면에서 전달 받은 데이터를 담고 있는 객체.`는 제가 알던 모델이 아닌거같습니다.... 기존의 제가 이해한 개념과는 많이 다른거 같은데 어느쪽으로 이해해야할까요? 참조한 문서 * 위키 백과 MVC Pattern: https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller * 미디엄: https://medium.com/@jang.wangsu/%EB%94%94%EC%9E%90%EC%9D%B8%ED%8C%A8%ED%84%B4-mvc-%ED%8C%A8%ED%84%B4%EC%9D%B4%EB%9E%80-1d74fac6e256
-
해결됨예제로 배우는 스프링 입문 (개정판)
./mvnw package 에러 메시지에 대한 질문입니다.
안녕하세요. 이전에 올려주신 스프링 입문 강의를 학습하면서 IntelliJ로 spring-petclinic 프로젝트를 설정 (Java version : 1.8)했었습니다. 그땐 IntelliJ의 maven tab 기능을 이용하여 jar 파일들을 생성하고 곧 잘 따라할 수 있었는데요. 이번에 개편된 입문 강의에서는 Java version이 11을 사용함으로써, OpenJDK11 설치 및 기존에 등록된 프로젝트에 대하여 IntelliJ Project Structure 메뉴를 통하여 "SDK"를 변경해주었습니다. 이후 ./mvnw package 명령어를 이용하여 패키징 과정중에 maven 관련 에러가 출력이 되고 있는데요.(관련 이미지 첨부) 프로젝트 Java versoin 뿐만 아니라 pom.xml 에서 빌드 관련된 설정을 변경해주어야 하는 것이 있을까요?? 에러 메시지를 구글 서칭을 통해 몇가지 찾아보긴 했으나, 짐작이 가는 것은 자바 버전과 maven 컴파일러 버전이 맞지 않아서 나는 오류일까 싶습니다..! 조언 부탁드립니다. [사용중인 개발 기기 환경] MacOSX catalina jenv를 사용한 JDK 버전 관리중 (jdk1.8.0_231[global 설정], adoptopenjdk-11) Apache Maven 3.6.2 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project spring-petclinic: Fatal error compiling: invalid target release: 11 -> [Help 1]
-
미해결웹 게임을 만들며 배우는 자바스크립트
[질문]반복문 내에서(for문처럼) 쓰인 변수는 반복문이 끝나면 사라지는거군요.
while문은 처음을 while문 밖에 쓰고 while문을 썼더니 영상에 나온대로 하면 값을 6 반환하는데 for문은 실행을 for문 안에 인자..? 인자자리..?저것도 인자라고 할 수 있는거죠? 아! 변수, true, 변수이니 인자 맞겠죠..? for문은 실행을 for문안에 넣으니 반복이 다 끝났을 때 undefined 정의되지 않음이 나오네요. 값이 반환되지 않았다는 의미로 받아들이면 되는거겠죠? 그러면 저 반복문 내에서 정의된 변수는 반복문이 끝나면 그 정의한 변수의 이름 포함해서 싹다 사라지는 건가요?
-
미해결프로그래밍, 데이터 과학을 위한 파이썬 입문
질문
선생님, 혹시 collection module3의 예시 데이터인 user.csv는 어디서 다운로드 받을 수 있나요..? 강의노트 말고는 다른 강의 자료는 다운로드를 어디서 받을수 있는지 잘 몰라서 여쭙니다. 강의 잘 보고 있습니다. 감사드립니다.
-
해결됨Git과 GitHub 시작하기
source tree 문제
1. 우측 상단의 터미널 버튼을 눌러도 터미널이 연결되지 않습니다. 2. 브랜치들을 더블클릭하거나 변경사항이 존재할 때 자동으로 새로고침이 되지 않습니다. (add 시에도 마찬가지... 처음에는 됐는데, 갑자기 어느 순간부터 안되더라고요..) 이는 어떻게 해결해야하나요?
-
미해결Java TPC (생각하고, 표현하고, 코딩하고)
강의자료 다운
안녕하세요 강의 자료를 다운받아서 같이 보고 싶은데 정확히 2강 동영상이 어떤 것을 의미하는 것인가요?
-
해결됨Typescript with Vue 실전 프로젝트
클래스 속성 에러는 무엇인가요??
아래와 같이 나는데.. 붙여주어야 하나요? WARNING in /Users/porori/Dev/private/type-video/src/views/Home.vue(22,4): 22:4 The class property 'message' must be marked either 'private', 'public', or 'protected' 20 | }) 21 | export default class Home extends Vue { > 22 | message: string = 'hello world'; | ^ 23 | } 24 | </script> 25 | No type errors
-
미해결Node.js로 웹 크롤링하기
셀레니움 자동 실행
프로그램을 다 작성 후 visual studio code에서 파일을 수정하거나 새로 만들면 자동으로 프로그램이 실행됩니다. 혹시 이 문제를 어떻게 해결해야 하나요 ㅠㅠ?? 자동이라는 키워드로 구글링을 계속해보지만 비슷한 질문이 거의 없어서요
-
미해결스프링 웹 MVC
스프링 5 버전 핸들러 인터셉터 캐치를 못해요.
똑같이 코드 작성하고"/**" 패스 설정해주고, 서버 띄우고 요청하면 핸들러 인터셉터가 잡히지 않습니다. 반면에 xml 형태로 인터셉터 빈을 등록하고 하면 되구요,, 제가 원하는건 webConfigurer로 설정하고 싶은데 이게 혹시 스프링 부트에서만 동작하는건가요?. 혹시나 해서 @Autowired 또는 @Bean 설정하고 addInterceptor 에 넣어도 잡히지 않습니다. 스프링 부트는 아니구요 그냥 스프링입니다.5버전입니다. 시스아웃이 콘솔에 찍히지 않네요..@EnableWebMvc 붙여봐도 안잡히네요..new 붙히면 인식하지 못한다는 스택오버 글을 봤는데 그래서 @Bean으로 해야 된다길래 그것도 해봤는데 안됩니다. 추천수100넘은 글이었는데;; 왜 안될까용 ㅠ (클래스네임 오타는 넘어가주세요 ㅎㅎ)
-
해결됨홍정모의 따라하며 배우는 C++
25분 01초경 중괄호 안 x=1
중괄호 안에서만 x=1이 쓰이고나서 중괄호 밖으로 나오면 다시 main문의 x가 쓰여야하는 것아닌가요? 왜 계속 중괄호 한의 1이 사용되는지 헷갈립니다
-
미해결[리뉴얼] 처음하는 SQL과 데이터베이스(MySQL) 부트캠프 [입문부터 활용까지]
오타제보
별건아니지만.. 주피터 노트북 공유해주신 자료에 아래 쿼리에서 필드명이 아니라 테이블명이어야할꺼같습니다. SELECT * FROM 필드명 LIMIT 10;
-
미해결인스타그램 클론 - full stack 웹 개발
글 게시 콘솔로그에 띄우기
에러는 안뜹니다만.. 게시를 눌러도 아무런 반응이 없어요 ㅠㅠ 자꾸 광클하다보면 어쩌다? 한번 찍히긴 하는데 그 이후로 계속 다른걸 입력하고 게시를 눌러봐도 안나옵니다 ㅠㅡㅠ 이유가 뭘까요?
-
해결됨자바 ORM 표준 JPA 프로그래밍 - 기본편
연관관계 매핑시 질문 드립니다.
안녕하세요 김영한님! 강의보고 궁금사항이 생겨 질문 드립니다. 만약에 객체 참조를 통해 연관 관계를 맺은 상태에서 해당 객체에 대한 데이터가 많아 질경우 성능 이슈는 없나요? 예로 "주문은 많은 주문 상품을 갖고 있다"라는 요구사항이 있을때 @Entity@Table(name = "ORDERS")public class Order { @Id @GeneratedValue @Column(name = "ORDER_ID") private Long id; @OneToMany(mappedBy = "order") private List<OrderItem> orderItems; OrderItem의 갯수가 수백에서 수만개 이상으로 많고 아직 영속성 컨텍스트에 등록이 안된 상태일 경우 조회 할때 느려서 성능 이슈가 있을 것 같습니다. 아직 제가 많이 모자르기에 질문 드립니다. 좋은 지식을 공유해주셔서 감사합니다.
-
미해결예제로 배우는 스프링 입문 (개정판)
궁금합니다
IOC(제어의 역전) 싱글톤으로 빈을 생성하는것과 DI(의존성 주입) @Autowired간의 차이점을 정확하게 알고싶어요