묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결[개정판] 파이썬 머신러닝 완벽 가이드
4.4 Random Forest 에러
4.4 Random Forest에서 아래 코드를 입력하면 File b'./human_activity/features.txt' does not exist: b'./human_activity/features.txt'에러가 나오는데요...왜 이런건지 궁금합니다.import pandas as pd def get_human_dataset( ): # 각 데이터 파일들은 공백으로 분리되어 있으므로 read_csv에서 공백 문자를 sep으로 할당. feature_name_df = pd.read_csv('./human_activity/features.txt',sep='\s+', header=None,names=['column_index','column_name']) # 중복된 feature명을 새롭게 수정하는 get_new_feature_name_df()를 이용하여 새로운 feature명 DataFrame생성. new_feature_name_df = get_new_feature_name_df(feature_name_df) # DataFrame에 피처명을 컬럼으로 부여하기 위해 리스트 객체로 다시 변환 feature_name = new_feature_name_df.iloc[:, 1].values.tolist() # 학습 피처 데이터 셋과 테스트 피처 데이터을 DataFrame으로 로딩. 컬럼명은 feature_name 적용 X_train = pd.read_csv('./human_activity/train/X_train.txt',sep='\s+', names=feature_name ) X_test = pd.read_csv('./human_activity/test/X_test.txt',sep='\s+', names=feature_name) # 학습 레이블과 테스트 레이블 데이터을 DataFrame으로 로딩하고 컬럼명은 action으로 부여 y_train = pd.read_csv('./human_activity/train/y_train.txt',sep='\s+',header=None,names=['action']) y_test = pd.read_csv('./human_activity/test/y_test.txt',sep='\s+',header=None,names=['action']) # 로드된 학습/테스트용 DataFrame을 모두 반환 return X_train, X_test, y_train, y_test X_train, X_test, y_train, y_test = get_human_dataset()
-
미해결프로그래밍 시작하기 : 파이썬 입문 (Inflearn Original)
재선언을 할때 오류가 납니다
왜 그런건가요?
-
미해결[개정판] 파이썬 머신러닝 완벽 가이드
fit & transform 과 fit_transform의 차이가 무엇인가요?
안녕하세요, 정말 좋은 강의 잘 듣고 있습니다!! sklearn 의 클래스를 사용하다보면 fit, transform이 많이 언급되는데요. 어쩔때는 fit 하고나서 transform을 수행하거나 fit_transform으로 한번에 수행하는 경우가 있는데 두 가지의 명확한 차이가 무엇일까요? 아래의 PCA 코드로 테스트해보니까 반환되는 결과값이 소수점에서 아주 미세하게 차이가 나긴하더라구요. from sklearn.preprocessing import StandardScaler iris_scaled = StandardScaler().fit_transform(irisDF.iloc[:, :-1]) from sklearn.decomposition import PCA pca = PCA(n_components=2) #fit( )과 transform( ) 을 호출하여 PCA 변환 데이터 반환 pca.fit(iris_scaled) iris_pca = pca.transform(iris_scaled) print(iris_pca.shape) # fit_transform imp = pca.fit_transform(iris_scaled) imp[0,0] - iris_pca[0,0] >> -3.552713678800501e-15
-
미해결리눅스 시스템 프로그래밍 - 이론과 실습
Makefile
inflearn에 올려져있는 Makefile 파일을가상머신에서 어떻게 다운로드받아서 사용하나요?
-
미해결남박사의 파이썬 기초부터 실전 100% 활용
첫 코딩강의자 첫 코딩을 여기서 배웁니다.
동영상 강의를 들을 때 어떤 방식으로 배우는 게 좋을까요? 지금은 노트에 적으면서 배우고 있습니다. 그래서 필기하면서 영상 보다보니 영상 내용보다 많이 오래 걸리네요. 어느 방식이 배우는데 있어서 좋을지 궁금합니다.
-
미해결웹 게임을 만들며 배우는 자바스크립트
.length 이러한 함수를 뭐라고 하나요?
일단 이것도 뭔가를 계산해주니 함수같기는 한데 보통 예를들어 if (word[length(word)-1])저런 식의 형태였다면 헷갈리지 않을 것 같은데 저런식의 함수를 따로 부르는 명칭이 있나요? 변수종속함수?
-
미해결React로 NodeBird SNS 만들기
const config = require('../config/config')[env];
여기서 [env] 처럼 뒤에 배열이 붙는경우는 어떻게 해석하야하나요?
-
미해결'해킹대회 문제'로 배우는 파일시스템 이해/실습
강의 사전지식
사전지식은 무엇이 필요한가요?
-
미해결머신러닝 이론 및 파이썬 실습
파이썬 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강 동영상이 어떤 것을 의미하는 것인가요?