inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

묻고 답해요

172만명의 커뮤니티!! 함께 토론해봐요.

실행지연 오류

미해결

실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발

안녕하세요 강사님 질 좋은 강의 항상 감사드립니다. 다름이 아니라 해당 강의의 7분 이후부터 실행의 오류가 떠서 제 나름대로 이전에 쓰던 Member 클래스를 삭제하지 않고 그대로 써서 있는 오류라 생각하고 import 해당 부분을 삭제 하고 다시 실행을 해보니 화면과 같이 몇 시간째 계속 구동만 하고 있습니다 ㅠㅠ 혹시 어떤 부분에서 이상이 생긴건지 알고 싶습니다. H2 데이터베이스도 다시 껐다 켜보니 테이블의 속성들과 엔티티들이 제대로 생성 되었으나 프로젝트가 제대로 실행이 안되네요.. 오전 4:23:06: Executing task 'JpashopApplication.main()'... Starting Gradle Daemon... Gradle Daemon started in 7 s 113 ms > Task :compileJava > Task :processResources UP-TO-DATE > Task :classes > Task :JpashopApplication.main() . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v2.4.6) 2021-06-13 04:23:31.474 INFO 9616 --- [ restartedMain] jpabook.jpashop.JpashopApplication : Starting JpashopApplication using Java 11.0.7 on DESKTOP-JN8L91B with PID 9616 (C:\Users\jmg98\Desktop\spring-study\jpashop\build\classes\java\main started by jmg98 in C:\Users\jmg98\Desktop\spring-study\jpashop) 2021-06-13 04:23:31.480 INFO 9616 --- [ restartedMain] jpabook.jpashop.JpashopApplication : No active profile set, falling back to default profiles: default 2021-06-13 04:23:31.609 INFO 9616 --- [ restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable 2021-06-13 04:23:31.609 INFO 9616 --- [ restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' 2021-06-13 04:23:33.528 INFO 9616 --- [ restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2021-06-13 04:23:33.568 INFO 9616 --- [ restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 19 ms. Found 0 JPA repository interfaces. 2021-06-13 04:23:36.861 INFO 9616 --- [ restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) 2021-06-13 04:23:36.886 INFO 9616 --- [ restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2021-06-13 04:23:36.887 INFO 9616 --- [ restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.46] 2021-06-13 04:23:37.109 INFO 9616 --- [ restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2021-06-13 04:23:37.109 INFO 9616 --- [ restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 5490 ms 2021-06-13 04:23:37.415 INFO 9616 --- [ restartedMain] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 2021-06-13 04:23:37.530 INFO 9616 --- [ restartedMain] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 2021-06-13 04:23:37.543 INFO 9616 --- [ restartedMain] o.s.b.a.h2.H2ConsoleAutoConfiguration : H2 console available at '/h2-console'. Database available at 'jdbc:h2:tcp://localhost/~/jpashop' 2021-06-13 04:23:37.814 INFO 9616 --- [ restartedMain] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2021-06-13 04:23:37.926 INFO 9616 --- [ restartedMain] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.4.31.Final 2021-06-13 04:23:38.265 INFO 9616 --- [ restartedMain] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final} 2021-06-13 04:23:38.329 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration boolean -> org.hibernate.type.BooleanType@707695b9 2021-06-13 04:23:38.329 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration boolean -> org.hibernate.type.BooleanType@707695b9 2021-06-13 04:23:38.329 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Boolean -> org.hibernate.type.BooleanType@707695b9 2021-06-13 04:23:38.331 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration numeric_boolean -> org.hibernate.type.NumericBooleanType@58db1cb 2021-06-13 04:23:38.332 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration true_false -> org.hibernate.type.TrueFalseType@322582ea 2021-06-13 04:23:38.333 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration yes_no -> org.hibernate.type.YesNoType@39657700 2021-06-13 04:23:38.336 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration byte -> org.hibernate.type.ByteType@2acaddb3 2021-06-13 04:23:38.336 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration byte -> org.hibernate.type.ByteType@2acaddb3 2021-06-13 04:23:38.336 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Byte -> org.hibernate.type.ByteType@2acaddb3 2021-06-13 04:23:38.339 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration character -> org.hibernate.type.CharacterType@36a0dc2b 2021-06-13 04:23:38.339 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration char -> org.hibernate.type.CharacterType@36a0dc2b 2021-06-13 04:23:38.339 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Character -> org.hibernate.type.CharacterType@36a0dc2b 2021-06-13 04:23:38.341 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration short -> org.hibernate.type.ShortType@25a931e6 2021-06-13 04:23:38.342 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration short -> org.hibernate.type.ShortType@25a931e6 2021-06-13 04:23:38.342 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Short -> org.hibernate.type.ShortType@25a931e6 2021-06-13 04:23:38.345 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration integer -> org.hibernate.type.IntegerType@4bf5ff2a 2021-06-13 04:23:38.345 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration int -> org.hibernate.type.IntegerType@4bf5ff2a 2021-06-13 04:23:38.345 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Integer -> org.hibernate.type.IntegerType@4bf5ff2a 2021-06-13 04:23:38.347 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration long -> org.hibernate.type.LongType@29d778e5 2021-06-13 04:23:38.347 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration long -> org.hibernate.type.LongType@29d778e5 2021-06-13 04:23:38.348 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Long -> org.hibernate.type.LongType@29d778e5 2021-06-13 04:23:38.350 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration float -> org.hibernate.type.FloatType@1c961bf9 2021-06-13 04:23:38.350 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration float -> org.hibernate.type.FloatType@1c961bf9 2021-06-13 04:23:38.350 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Float -> org.hibernate.type.FloatType@1c961bf9 2021-06-13 04:23:38.352 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration double -> org.hibernate.type.DoubleType@5e5dd60c 2021-06-13 04:23:38.353 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration double -> org.hibernate.type.DoubleType@5e5dd60c 2021-06-13 04:23:38.353 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Double -> org.hibernate.type.DoubleType@5e5dd60c 2021-06-13 04:23:38.355 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration big_decimal -> org.hibernate.type.BigDecimalType@3228f1b8 2021-06-13 04:23:38.356 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.math.BigDecimal -> org.hibernate.type.BigDecimalType@3228f1b8 2021-06-13 04:23:38.357 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration big_integer -> org.hibernate.type.BigIntegerType@667b76d3 2021-06-13 04:23:38.358 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.math.BigInteger -> org.hibernate.type.BigIntegerType@667b76d3 2021-06-13 04:23:38.359 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration string -> org.hibernate.type.StringType@1e16df67 2021-06-13 04:23:38.359 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.String -> org.hibernate.type.StringType@1e16df67 2021-06-13 04:23:38.360 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration nstring -> org.hibernate.type.StringNVarcharType@7cf65dc4 2021-06-13 04:23:38.361 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration ncharacter -> org.hibernate.type.CharacterNCharType@5eb9949f 2021-06-13 04:23:38.364 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration url -> org.hibernate.type.UrlType@4027c2f1 2021-06-13 04:23:38.364 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.net.URL -> org.hibernate.type.UrlType@4027c2f1 2021-06-13 04:23:38.366 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration Duration -> org.hibernate.type.DurationType@1286018c 2021-06-13 04:23:38.366 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.Duration -> org.hibernate.type.DurationType@1286018c 2021-06-13 04:23:38.368 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration Instant -> org.hibernate.type.InstantType@1c38ca04 2021-06-13 04:23:38.370 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.Instant -> org.hibernate.type.InstantType@1c38ca04 2021-06-13 04:23:38.371 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalDateTime -> org.hibernate.type.LocalDateTimeType@1483ec49 2021-06-13 04:23:38.371 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalDateTime -> org.hibernate.type.LocalDateTimeType@1483ec49 2021-06-13 04:23:38.373 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalDate -> org.hibernate.type.LocalDateType@70426fd9 2021-06-13 04:23:38.373 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalDate -> org.hibernate.type.LocalDateType@70426fd9 2021-06-13 04:23:38.375 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalTime -> org.hibernate.type.LocalTimeType@2c8bb7a6 2021-06-13 04:23:38.375 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalTime -> org.hibernate.type.LocalTimeType@2c8bb7a6 2021-06-13 04:23:38.377 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration OffsetDateTime -> org.hibernate.type.OffsetDateTimeType@2dcec937 2021-06-13 04:23:38.377 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.OffsetDateTime -> org.hibernate.type.OffsetDateTimeType@2dcec937 2021-06-13 04:23:38.379 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration OffsetTime -> org.hibernate.type.OffsetTimeType@4d5602fa 2021-06-13 04:23:38.379 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.OffsetTime -> org.hibernate.type.OffsetTimeType@4d5602fa 2021-06-13 04:23:38.381 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration ZonedDateTime -> org.hibernate.type.ZonedDateTimeType@41bf024 2021-06-13 04:23:38.382 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.ZonedDateTime -> org.hibernate.type.ZonedDateTimeType@41bf024 2021-06-13 04:23:38.384 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration date -> org.hibernate.type.DateType@4aff8dd6 2021-06-13 04:23:38.384 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Date -> org.hibernate.type.DateType@4aff8dd6 2021-06-13 04:23:38.385 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration time -> org.hibernate.type.TimeType@53960c84 2021-06-13 04:23:38.385 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Time -> org.hibernate.type.TimeType@53960c84 2021-06-13 04:23:38.387 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration timestamp -> org.hibernate.type.TimestampType@6744c497 2021-06-13 04:23:38.387 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Timestamp -> org.hibernate.type.TimestampType@6744c497 2021-06-13 04:23:38.388 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Date -> org.hibernate.type.TimestampType@6744c497 2021-06-13 04:23:38.389 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration dbtimestamp -> org.hibernate.type.DbTimestampType@1033dd6 2021-06-13 04:23:38.391 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar -> org.hibernate.type.CalendarType@2c3651d7 2021-06-13 04:23:38.391 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Calendar -> org.hibernate.type.CalendarType@2c3651d7 2021-06-13 04:23:38.392 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.GregorianCalendar -> org.hibernate.type.CalendarType@2c3651d7 2021-06-13 04:23:38.393 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar_date -> org.hibernate.type.CalendarDateType@50711b9e 2021-06-13 04:23:38.395 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar_time -> org.hibernate.type.CalendarTimeType@3b60b5e 2021-06-13 04:23:38.396 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration locale -> org.hibernate.type.LocaleType@760841d9 2021-06-13 04:23:38.397 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Locale -> org.hibernate.type.LocaleType@760841d9 2021-06-13 04:23:38.399 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration currency -> org.hibernate.type.CurrencyType@2f9fc1a5 2021-06-13 04:23:38.399 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Currency -> org.hibernate.type.CurrencyType@2f9fc1a5 2021-06-13 04:23:38.402 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration timezone -> org.hibernate.type.TimeZoneType@661fac2a 2021-06-13 04:23:38.402 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.TimeZone -> org.hibernate.type.TimeZoneType@661fac2a 2021-06-13 04:23:38.403 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration class -> org.hibernate.type.ClassType@32ab17cb 2021-06-13 04:23:38.403 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Class -> org.hibernate.type.ClassType@32ab17cb 2021-06-13 04:23:38.404 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration uuid-binary -> org.hibernate.type.UUIDBinaryType@59c49e5f 2021-06-13 04:23:38.405 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.UUID -> org.hibernate.type.UUIDBinaryType@59c49e5f 2021-06-13 04:23:38.406 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration uuid-char -> org.hibernate.type.UUIDCharType@fcf8928 2021-06-13 04:23:38.408 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration binary -> org.hibernate.type.BinaryType@215e3147 2021-06-13 04:23:38.408 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration byte[] -> org.hibernate.type.BinaryType@215e3147 2021-06-13 04:23:38.408 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration [B -> org.hibernate.type.BinaryType@215e3147 2021-06-13 04:23:38.410 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration wrapper-binary -> org.hibernate.type.WrapperBinaryType@5a099d86 2021-06-13 04:23:38.411 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration Byte[] -> org.hibernate.type.WrapperBinaryType@5a099d86 2021-06-13 04:23:38.411 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration [Ljava.lang.Byte; -> org.hibernate.type.WrapperBinaryType@5a099d86 2021-06-13 04:23:38.412 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration row_version -> org.hibernate.type.RowVersionType@419c267a 2021-06-13 04:23:38.413 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration image -> org.hibernate.type.ImageType@4f54fecd 2021-06-13 04:23:38.414 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration characters -> org.hibernate.type.CharArrayType@7691154b 2021-06-13 04:23:38.415 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration char[] -> org.hibernate.type.CharArrayType@7691154b 2021-06-13 04:23:38.415 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration [C -> org.hibernate.type.CharArrayType@7691154b 2021-06-13 04:23:38.416 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration wrapper-characters -> org.hibernate.type.CharacterArrayType@e52e9e3 2021-06-13 04:23:38.416 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration [Ljava.lang.Character; -> org.hibernate.type.CharacterArrayType@e52e9e3 2021-06-13 04:23:38.416 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration Character[] -> org.hibernate.type.CharacterArrayType@e52e9e3 2021-06-13 04:23:38.417 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration text -> org.hibernate.type.TextType@4b9501f8 2021-06-13 04:23:38.418 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration ntext -> org.hibernate.type.NTextType@7b4c6401 2021-06-13 04:23:38.420 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration blob -> org.hibernate.type.BlobType@665eae40 2021-06-13 04:23:38.421 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Blob -> org.hibernate.type.BlobType@665eae40 2021-06-13 04:23:38.422 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_blob -> org.hibernate.type.MaterializedBlobType@4693ed57 2021-06-13 04:23:38.424 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration clob -> org.hibernate.type.ClobType@27ef38ad 2021-06-13 04:23:38.424 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Clob -> org.hibernate.type.ClobType@27ef38ad 2021-06-13 04:23:38.426 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration nclob -> org.hibernate.type.NClobType@313e4b3c 2021-06-13 04:23:38.426 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.NClob -> org.hibernate.type.NClobType@313e4b3c 2021-06-13 04:23:38.427 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_clob -> org.hibernate.type.MaterializedClobType@5e16595 2021-06-13 04:23:38.427 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_nclob -> org.hibernate.type.MaterializedNClobType@7b689e45 2021-06-13 04:23:38.429 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration serializable -> org.hibernate.type.SerializableType@200ed1b1 2021-06-13 04:23:38.434 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration object -> org.hibernate.type.ObjectType@32a495dc 2021-06-13 04:23:38.434 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Object -> org.hibernate.type.ObjectType@32a495dc 2021-06-13 04:23:38.435 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_date -> org.hibernate.type.AdaptedImmutableType@11b9dc8f 2021-06-13 04:23:38.436 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_time -> org.hibernate.type.AdaptedImmutableType@f054b24 2021-06-13 04:23:38.436 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_timestamp -> org.hibernate.type.AdaptedImmutableType@6ef05a37 2021-06-13 04:23:38.436 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_dbtimestamp -> org.hibernate.type.AdaptedImmutableType@4461df08 2021-06-13 04:23:38.436 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_calendar -> org.hibernate.type.AdaptedImmutableType@1be32eaf 2021-06-13 04:23:38.436 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_calendar_date -> org.hibernate.type.AdaptedImmutableType@3e9a0a9c 2021-06-13 04:23:38.437 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_binary -> org.hibernate.type.AdaptedImmutableType@5257de9a 2021-06-13 04:23:38.437 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_serializable -> org.hibernate.type.AdaptedImmutableType@1884d247 2021-06-13 04:23:38.598 INFO 9616 --- [ restartedMain] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect 2021-06-13 04:23:38.775 DEBUG 9616 --- [ restartedMain] o.h.type.spi.TypeConfiguration$Scope : Scoping TypeConfiguration [org.hibernate.type.spi.TypeConfiguration@c69eb7b] to MetadataBuildingContext [org.hibernate.boot.internal.MetadataBuildingContextRootImpl@4d4bd166] 2021-06-13 04:23:39.616 DEBUG 9616 --- [ restartedMain] org.hibernate.type.EnumType : Using NAMED-based conversion for Enum jpabook.jpashop.domain.DeliveryStatus 2021-06-13 04:23:39.619 DEBUG 9616 --- [ restartedMain] org.hibernate.type.EnumType : Using NAMED-based conversion for Enum jpabook.jpashop.domain.OrderStatus 2021-06-13 04:23:39.619 DEBUG 9616 --- [ restartedMain] o.h.type.spi.TypeConfiguration$Scope : Scoping TypeConfiguration [org.hibernate.type.spi.TypeConfiguration@c69eb7b] to SessionFactoryImpl [org.hibernate.internal.SessionFactoryImpl@7a720798] 2021-06-13 04:23:40.454 DEBUG 9616 --- [ restartedMain] org.hibernate.SQL : drop table if exists category CASCADE 2021-06-13 04:23:40.459 INFO 9616 --- [ restartedMain] p6spy : #1623525820459 | took 1ms | statement | connection 2| url jdbc:h2:tcp://localhost/~/jpashop drop table if exists category CASCADE drop table if exists category CASCADE ; 2021-06-13 04:23:40.459 DEBUG 9616 --- [ restartedMain] org.hibernate.SQL : drop table if exists category_item CASCADE 2021-06-13 04:23:40.460 INFO 9616 --- [ restartedMain] p6spy : #1623525820460 | took 0ms | statement | connection 2| url jdbc:h2:tcp://localhost/~/jpashop drop table if exists category_item CASCADE drop table if exists category_item CASCADE ; 2021-06-13 04:23:40.460 DEBUG 9616 --- [ restartedMain] org.hibernate.SQL : drop table if exists delivery CASCADE 2021-06-13 04:23:40.461 INFO 9616 --- [ restartedMain] p6spy : #1623525820461 | took 0ms | statement | connection 2| url jdbc:h2:tcp://localhost/~/jpashop drop table if exists delivery CASCADE drop table if exists delivery CASCADE ; 2021-06-13 04:23:40.461 DEBUG 9616 --- [ restartedMain] org.hibernate.SQL : drop table if exists item CASCADE 2021-06-13 04:23:40.462 INFO 9616 --- [ restartedMain] p6spy : #1623525820462 | took 0ms | statement | connection 2| url jdbc:h2:tcp://localhost/~/jpashop drop table if exists item CASCADE drop table if exists item CASCADE ; 2021-06-13 04:23:40.462 DEBUG 9616 --- [ restartedMain] org.hibernate.SQL : drop table if exists member CASCADE 2021-06-13 04:23:40.463 INFO 9616 --- [ restartedMain] p6spy : #1623525820463 | took 0ms | statement | connection 2| url jdbc:h2:tcp://localhost/~/jpashop drop table if exists member CASCADE drop table if exists member CASCADE ; 2021-06-13 04:23:40.463 DEBUG 9616 --- [ restartedMain] org.hibernate.SQL : drop table if exists order_item CASCADE 2021-06-13 04:23:40.464 INFO 9616 --- [ restartedMain] p6spy : #1623525820464 | took 0ms | statement | connection 2| url jdbc:h2:tcp://localhost/~/jpashop drop table if exists order_item CASCADE drop table if exists order_item CASCADE ; 2021-06-13 04:23:40.464 DEBUG 9616 --- [ restartedMain] org.hibernate.SQL : drop table if exists orders CASCADE 2021-06-13 04:23:40.465 INFO 9616 --- [ restartedMain] p6spy : #1623525820465 | took 0ms | statement | connection 2| url jdbc:h2:tcp://localhost/~/jpashop drop table if exists orders CASCADE drop table if exists orders CASCADE ; 2021-06-13 04:23:40.465 DEBUG 9616 --- [ restartedMain] org.hibernate.SQL : drop sequence if exists hibernate_sequence 2021-06-13 04:23:40.466 INFO 9616 --- [ restartedMain] p6spy : #1623525820466 | took 0ms | statement | connection 2| url jdbc:h2:tcp://localhost/~/jpashop drop sequence if exists hibernate_sequence drop sequence if exists hibernate_sequence; 2021-06-13 04:23:40.469 DEBUG 9616 --- [ restartedMain] org.hibernate.SQL : create sequence hibernate_sequence start with 1 increment by 1 2021-06-13 04:23:40.470 INFO 9616 --- [ restartedMain] p6spy : #1623525820470 | took 0ms | statement | connection 3| url jdbc:h2:tcp://localhost/~/jpashop create sequence hibernate_sequence start with 1 increment by 1 create sequence hibernate_sequence start with 1 increment by 1; 2021-06-13 04:23:40.471 DEBUG 9616 --- [ restartedMain] org.hibernate.SQL : create table category ( category_id bigint not null, name varchar(255), parent_id bigint, primary key (category_id) ) 2021-06-13 04:23:40.472 INFO 9616 --- [ restartedMain] p6spy : #1623525820472 | took 1ms | statement | connection 3| url jdbc:h2:tcp://localhost/~/jpashop create table category ( category_id bigint not null, name varchar(255), parent_id bigint, primary key (category_id) ) create table category ( category_id bigint not null, name varchar(255), parent_id bigint, primary key (category_id) ); 2021-06-13 04:23:40.473 DEBUG 9616 --- [ restartedMain] org.hibernate.SQL : create table category_item ( category_id bigint not null, item_id bigint not null ) 2021-06-13 04:23:40.474 INFO 9616 --- [ restartedMain] p6spy : #1623525820474 | took 0ms | statement | connection 3| url jdbc:h2:tcp://localhost/~/jpashop create table category_item ( category_id bigint not null, item_id bigint not null ) create table category_item ( category_id bigint not null, item_id bigint not null ); 2021-06-13 04:23:40.474 DEBUG 9616 --- [ restartedMain] org.hibernate.SQL : create table delivery ( delevery_id bigint not null, city varchar(255), street varchar(255), zipcode varchar(255), status varchar(255), primary key (delevery_id) ) 2021-06-13 04:23:40.475 INFO 9616 --- [ restartedMain] p6spy : #1623525820475 | took 0ms | statement | connection 3| url jdbc:h2:tcp://localhost/~/jpashop create table delivery ( delevery_id bigint not null, city varchar(255), street varchar(255), zipcode varchar(255), status varchar(255), primary key (delevery_id) ) create table delivery ( delevery_id bigint not null, city varchar(255), street varchar(255), zipcode varchar(255), status varchar(255), primary key (delevery_id) ); 2021-06-13 04:23:40.475 DEBUG 9616 --- [ restartedMain] org.hibernate.SQL : create table item ( dtype varchar(31) not null, item_id bigint not null, name varchar(255), price integer not null, stock_quantity integer not null, artist varchar(255), etc varchar(255), author varchar(255), isbn varchar(255), actor varchar(255), director varchar(255), primary key (item_id) ) 2021-06-13 04:23:40.476 INFO 9616 --- [ restartedMain] p6spy : #1623525820476 | took 0ms | statement | connection 3| url jdbc:h2:tcp://localhost/~/jpashop create table item ( dtype varchar(31) not null, item_id bigint not null, name varchar(255), price integer not null, stock_quantity integer not null, artist varchar(255), etc varchar(255), author varchar(255), isbn varchar(255), actor varchar(255), director varchar(255), primary key (item_id) ) create table item ( dtype varchar(31) not null, item_id bigint not null, name varchar(255), price integer not null, stock_quantity integer not null, artist varchar(255), etc varchar(255), author varchar(255), isbn varchar(255), actor varchar(255), director varchar(255), primary key (item_id) ); 2021-06-13 04:23:40.476 DEBUG 9616 --- [ restartedMain] org.hibernate.SQL : create table member ( member_id bigint not null, city varchar(255), street varchar(255), zipcode varchar(255), name varchar(255), primary key (member_id) ) 2021-06-13 04:23:40.477 INFO 9616 --- [ restartedMain] p6spy : #1623525820477 | took 0ms | statement | connection 3| url jdbc:h2:tcp://localhost/~/jpashop create table member ( member_id bigint not null, city varchar(255), street varchar(255), zipcode varchar(255), name varchar(255), primary key (member_id) ) create table member ( member_id bigint not null, city varchar(255), street varchar(255), zipcode varchar(255), name varchar(255), primary key (member_id) ); 2021-06-13 04:23:40.478 DEBUG 9616 --- [ restartedMain] org.hibernate.SQL : create table order_item ( order_item_id bigint not null, count integer not null, order_price integer not null, item_id bigint, order_id bigint, primary key (order_item_id) ) 2021-06-13 04:23:40.479 INFO 9616 --- [ restartedMain] p6spy : #1623525820479 | took 0ms | statement | connection 3| url jdbc:h2:tcp://localhost/~/jpashop create table order_item ( order_item_id bigint not null, count integer not null, order_price integer not null, item_id bigint, order_id bigint, primary key (order_item_id) ) create table order_item ( order_item_id bigint not null, count integer not null, order_price integer not null, item_id bigint, order_id bigint, primary key (order_item_id) ); 2021-06-13 04:23:40.479 DEBUG 9616 --- [ restartedMain] org.hibernate.SQL : create table orders ( order_id bigint not null, order_date timestamp, status varchar(255), delivery_id bigint, member_id bigint, primary key (order_id) ) 2021-06-13 04:23:40.481 INFO 9616 --- [ restartedMain] p6spy : #1623525820481 | took 1ms | statement | connection 3| url jdbc:h2:tcp://localhost/~/jpashop create table orders ( order_id bigint not null, order_date timestamp, status varchar(255), delivery_id bigint, member_id bigint, primary key (order_id) ) create table orders ( order_id bigint not null, order_date timestamp, status varchar(255), delivery_id bigint, member_id bigint, primary key (order_id) ); 2021-06-13 04:23:40.481 DEBUG 9616 --- [ restartedMain] org.hibernate.SQL : alter table category add constraint FK2y94svpmqttx80mshyny85wqr foreign key (parent_id) references category 2021-06-13 04:23:40.483 INFO 9616 --- [ restartedMain] p6spy : #1623525820483 | took 2ms | statement | connection 3| url jdbc:h2:tcp://localhost/~/jpashop alter table category add constraint FK2y94svpmqttx80mshyny85wqr foreign key (parent_id) references category alter table category add constraint FK2y94svpmqttx80mshyny85wqr foreign key (parent_id) references category; 2021-06-13 04:23:40.484 DEBUG 9616 --- [ restartedMain] org.hibernate.SQL : alter table category_item add constraint FKu8b4lwqutcdq3363gf6mlujq foreign key (item_id) references item 2021-06-13 04:23:40.486 INFO 9616 --- [ restartedMain] p6spy : #1623525820486 | took 1ms | statement | connection 3| url jdbc:h2:tcp://localhost/~/jpashop alter table category_item add constraint FKu8b4lwqutcdq3363gf6mlujq foreign key (item_id) references item alter table category_item add constraint FKu8b4lwqutcdq3363gf6mlujq foreign key (item_id) references item; 2021-06-13 04:23:40.486 DEBUG 9616 --- [ restartedMain] org.hibernate.SQL : alter table category_item add constraint FKcq2n0opf5shyh84ex1fhukcbh foreign key (category_id) references category 2021-06-13 04:23:40.488 INFO 9616 --- [ restartedMain] p6spy : #1623525820488 | took 2ms | statement | connection 3| url jdbc:h2:tcp://localhost/~/jpashop alter table category_item add constraint FKcq2n0opf5shyh84ex1fhukcbh foreign key (category_id) references category alter table category_item add constraint FKcq2n0opf5shyh84ex1fhukcbh foreign key (category_id) references category; 2021-06-13 04:23:40.489 DEBUG 9616 --- [ restartedMain] org.hibernate.SQL : alter table order_item add constraint FKija6hjjiit8dprnmvtvgdp6ru foreign key (item_id) references item 2021-06-13 04:23:40.491 INFO 9616 --- [ restartedMain] p6spy : #1623525820491 | took 1ms | statement | connection 3| url jdbc:h2:tcp://localhost/~/jpashop alter table order_item add constraint FKija6hjjiit8dprnmvtvgdp6ru foreign key (item_id) references item alter table order_item add constraint FKija6hjjiit8dprnmvtvgdp6ru foreign key (item_id) references item; 2021-06-13 04:23:40.491 DEBUG 9616 --- [ restartedMain] org.hibernate.SQL : alter table order_item add constraint FKt4dc2r9nbvbujrljv3e23iibt foreign key (order_id) references orders 2021-06-13 04:23:40.493 INFO 9616 --- [ restartedMain] p6spy : #1623525820493 | took 1ms | statement | connection 3| url jdbc:h2:tcp://localhost/~/jpashop alter table order_item add constraint FKt4dc2r9nbvbujrljv3e23iibt foreign key (order_id) references orders alter table order_item add constraint FKt4dc2r9nbvbujrljv3e23iibt foreign key (order_id) references orders; 2021-06-13 04:23:40.494 DEBUG 9616 --- [ restartedMain] org.hibernate.SQL : alter table orders add constraint FKtkrur7wg4d8ax0pwgo0vmy20c foreign key (delivery_id) references delivery 2021-06-13 04:23:40.497 INFO 9616 --- [ restartedMain] p6spy : #1623525820497 | took 3ms | statement | connection 3| url jdbc:h2:tcp://localhost/~/jpashop alter table orders add constraint FKtkrur7wg4d8ax0pwgo0vmy20c foreign key (delivery_id) references delivery alter table orders add constraint FKtkrur7wg4d8ax0pwgo0vmy20c foreign key (delivery_id) references delivery; 2021-06-13 04:23:40.498 DEBUG 9616 --- [ restartedMain] org.hibernate.SQL : alter table orders add constraint FKpktxwhj3x9m4gth5ff6bkqgeb foreign key (member_id) references member 2021-06-13 04:23:40.500 INFO 9616 --- [ restartedMain] p6spy : #1623525820500 | took 2ms | statement | connection 3| url jdbc:h2:tcp://localhost/~/jpashop alter table orders add constraint FKpktxwhj3x9m4gth5ff6bkqgeb foreign key (member_id) references member alter table orders add constraint FKpktxwhj3x9m4gth5ff6bkqgeb foreign key (member_id) references member; 2021-06-13 04:23:40.504 INFO 9616 --- [ restartedMain] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2021-06-13 04:23:40.520 TRACE 9616 --- [ restartedMain] o.h.type.spi.TypeConfiguration$Scope : Handling #sessionFactoryCreated from [org.hibernate.internal.SessionFactoryImpl@7a720798] for TypeConfiguration 2021-06-13 04:23:40.524 INFO 9616 --- [ restartedMain] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2021-06-13 04:23:40.550 INFO 9616 --- [ restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 2021-06-13 04:23:40.709 WARN 9616 --- [ restartedMain] JpaBaseConfiguration$JpaWebConfiguration : 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 2021-06-13 04:23:41.120 INFO 9616 --- [ restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] 2021-06-13 04:23:41.443 INFO 9616 --- [ restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' 2021-06-13 04:23:41.459 INFO 9616 --- [ restartedMain] jpabook.jpashop.JpashopApplication : Started JpashopApplication in 11.642 seconds (JVM running for 13.145)

  • spring-boot
  • java
  • spring
  • JPA
  • 웹앱
taetae 댓글 1 좋아요 1 조회수 228

take 관련

미해결

[리뉴얼] React로 NodeBird SNS 만들기

2. 사라집니다. 질문의 의도를 추측해보자면 take은 한 번 실행하고 더이상 실행이 안되는데 delay랑 Put은 왜 다음번에 되는지를 물어보시는 것 같은데요. watch 함수는 한 번만 실행되고 login* 함수같은 것은 매번 실행돼서 그렇습니다. 하나의 함수 안에서 더이상 호출이 안 되는거지 새로운 함수가 또 실행되면 새 함수 안에서는 실행됩니다. ============================================= 밑에 다른 분께서 올리신 질문중에 take와 다른 이펙트들에 대해서 질문한 글을 봤습니다. 저도 궁금한 점이 있어서요. watch 함수는 한 번만 실행하고 login* 함수는 매번 실행한다는 게 어떤 의미 일까요? 만약 로그인을 한다고 하였을때 watchLogin() --> Login() --> loginAPI() .. 1) 이런식으로 불리는데 어차피 take든 delay든 put이든 다 한 번만 불려서 한 번만 쓰고 버려지는 그런게 아닐까요? 2) 사실 한 번만 실행이 가능하다는건 이해를 했는데 그 의도가 이해가 안가네요. 그냥 take라는 이펙트 자체의 의도가 한 번만 실행하도록 한거고 여러번 눌릴것을 대비하여 takeLatest를 쓰면된다라고만 이해하면 될까요? 3) 그리고 take가 단 한번만 실행이 가능하다는 의미가 한 번 실행후에는 함수를 불러도 더 이상 실행이 안된다. 그러나 delay나 put같은경우에는 같은 함수를 실행하면 다시 실행된다. 이렇게 이해를 해야할까요. 감사합니다.

  • redux
  • nodejs
  • react
  • express
  • Next.js
NOAH 댓글 1 좋아요 0 조회수 224

score(X_train, Y_train) 이부분 이해가 ㅠㅠ

미해결

[개정판] 파이썬 머신러닝 완벽 가이드

logreg = LogisticRegression() logreg.fit(X_train, Y_train) Y_pred = logreg.predict(X_test) logreg.score(X_train, Y_train) which gives: 0.80471380471380471 I use to use this method instead to determine my model accuracy: from sklearn.metrics import classification_report logreg = LogisticRegression() logreg.fit(X_train, Y_train) y_pred = logreg.predict(X_test) print(classification_report(y_test, y_pred)) 선생님 score(X_train, Y_train)이부분이 이해가 가질 않습니다ㅠㅠ 어떻게 y_test없이 train세트만으로 정확도 측정이 가능한거죠?? 혼자 알려고해도 알수가 없네요ㅠ 자세한 답변 부탁드리겠습니다!!

  • 파이썬머신러닝완벽가이드
  • 통계
  • 머신러닝 배워볼래요?
  • python
co choi 댓글 1 좋아요 0 조회수 1153

score(X_train, y_train) 이부분 이해가 ㅠㅠ

미해결

logreg = LogisticRegression() logreg.fit(X_train, Y_train) Y_pred = logreg.predict(X_test) logreg.score(X_train, Y_train) which gives: 0.80471380471380471 I use to use this method instead to determine my model accuracy: from sklearn.metrics import classification_report 선생님 score(X_train, Y_train) 이부분이 이해가 가질 않습니다.. ㅠ 어떻게 y_test가 없이 train세트 만으로 정확도를 측정할수가 있는거죠?? 도저히 모르겠네요ㅠㅠ logreg = LogisticRegression() logreg.fit(X_train, Y_train) y_pred = logreg.predict(X_test) print(classification_report(y_test, y_pred))

  • 파이썬머신러닝완벽가이드
co choi 댓글 0 좋아요 0 조회수 116

모달창 만들 때

미해결

[2026년 출제기준] 웹디자인개발기능사 실기시험 완벽 가이드

선생님, 안녕하세요 모달창을 만들때 부모요소인 .modal에 포지션 속성을 왜 absolute를 넣는지 이해가 가지않아 여쭤봅니다. 부모요소니까 relative를 넣어야한다고 생각했었습니다.

  • 웹 디자인
  • HTML/CSS
  • jquery
dbskqnsghd 댓글 1 좋아요 2 조회수 174

idx를 선언해줘야 하는 이유..

미해결

자바스크립트 알고리즘 문제풀이 입문(코딩테스트 대비)

안녕하세요? idx를 선언해줘야 하는 이유가 모르겠어요.. idx를 생략하고 이렇게 코드를 짜면 안되나요?

  • 코테 준비 같이 해요!
  • javascript
오므라이스 댓글 1 좋아요 4 조회수 323

스크롤 시 헤더 fixed에 관해 질문드립니다

미해결

면접과 취업을 부르는 '퍼블리셔 개인 포트폴리오 홈페이지' 제작

헤더를 상단 fixed할경우 이게 공중에 붕뜨는 것처럼 아래있던 intro섹션이 위로 끌려오게 되는데 intro 섹션에 padding-top을 줘서 header와 간격을 벌려주는게 맞는지 궁금합니다 /* header */ #header { position : fixed ; top : 0 ; left : 0 ; width : 100% ; z-index : 99 ; } .header-inner { margin : auto ; height : 100% ; border : 1px solid #000 ; } nav { max-width : 1440px ; text-align : right ; height : 70px ; line-height : 70px ; } nav a { margin-right : 10px ; } * { margin : 0 ; padding : 0 ; } a { text-decoration : none ; color : #fff ; } #header { } #intro { height : 400px ; padding-top : 70px ; background-color : #CCB9AF ; } </ style > </ head > < body > < header id = "header" > < div class = "header-inner" > < nav > < a href = "#intro" > HOME </ a > < a href = "#about" > ABOUT </ a > < a href = "#skills" > SKILLS </ a > < a href = "#pratical" > Pratical </ a > < a href = "#mobile" > Mobile Web&App </ a > < a href = "#none" > WebSite Publising </ a > </ nav > </ div > </ header > < section id = "intro" ></ section >

  • HTML/CSS
  • jquery
  • 포트폴리오
Hun 댓글 1 좋아요 1 조회수 546

PyQt5로 계산기 만드는 프로그램 작성 중 구문 오류가 떴는데 무엇이 잘못된 건지 모르겠습니다.

미해결

PyQt5를 활용하여 계산기 만드는 프로그램을 작성 중에 SyntaxError: unexpected EOF while parsing 라는 에러 메시지가 떴습니다. 인터넷에 찾아보니 괄호나 철자가 틀렸을 경우 종종 뜨는 오류라고 하는데 어디가 잘못되었는지 전혀 모르겠습니다. QtDesigner에서 시그널/슬롯 편집은 따로 하지 않았고 객체들은 파이썬 파일에서 connect를 활용하여 모두 연동하였습니다. 파이썬에서 작성한 코드와 QtDesigner를 이용하여 작성한 내용은 다음과 같습니다. 혹시 제 코드 중 어디가 잘못되었는지 알려주실 수 있나요? import sys from PyQt5 . QtWidgets import QMainWindow , QApplication , QInputDialog , QMessageBox from PyQt5 import uic from abc import ABCMeta , abstractmethod from math import pi class Shape ( metaclass = ABCMeta ): @ abstractmethod def cal_area ( self ): pass class Rectangle ( Shape ): def cal_area ( self , str_data ): width , height = tuple ( map ( float , str_data .split())) cal_result = width * height return cal_result class Circle ( Shape ): def cal_area ( self , str_data ): radius = float ( str_data ) cal_result = pi * radius * radius return cal_result class Triangle ( Shape ): def cal_area ( self , str_data ): width , height = tuple ( map ( float , str_data .split())) cal_result = 0.5 * width * height return cal_result class MyWin ( QMainWindow ): def __init__ ( self ): super (). __init__ () self . ui = uic . loadUi ( 'cal.ui' , self ) btn_list = [ self . ui .btn0, self . ui .btn00, self . ui .btn1, self . ui .btn2, self . ui .btn3,\ self . ui .btn4, self . ui .btn5, self . ui .btn6, self . ui .btn7, self . ui .btn8, self . ui .btn9,\ self . ui .btnDiv, self . ui .btnLbrac, self . ui .btnMul, self . ui .btnPer, self . ui .btnPlus,\ self . ui .btnRbrac, self . ui .btnSqrt, self . ui .btnSub] for i in btn_list : i .clicked.connect( lambda button = i : self . write_edit ( button )) self . ui .btnBack.clicked.connect( self . backDelete ) self . ui .btnC.clicked.connect( self . all_clear ) self . ui .btnEqual.clicked.connect( self . calculate ( self . ui .edit.text())) self . ui .actioninfo.triggered.connect( self . show_info ) self . ui .actionexit.triggered.connect( self . close ) self . ui .actionintro.triggered.connect( self . show_intro ) shape_list = [ self . ui .actionRectangle, self . ui .actionCircle, self . ui .actionTriangle] for i in shape_list : i .triggered.connect( lambda action = i : self . cal_area_message ( action )) def show_info ( self ): QMessageBox . about ( self , '작성자' , 'a' ) def show_intro ( self ): QMessageBox . about ( self , '자기소개' , 'a입니다.' ) def write_edit ( self , button ): if button .text() == 'X' : exp = '*' else : exp = button .text() self . ui .edit.setText( self . ui .edit.text() + exp ) def backDelete ( self ): b = list ( self . ui .edit.text()) b . pop () c = ( '' ). join ( b ) self . ui .edit.setText( c ) def all_clear ( self ): self . ui .edit.setText( '' ) def calculate ( self , str_data ): result = str ( eval ( str_data )) self . ui .edit.setText( result ) def cal_area_message ( self , action ): values , ok = QInputDialog . getText ( self , 'Shape parameter' , 'Input Parameter' ) if ok and values : if action == self . ui .actionRectangle: area = Rectangle (). cal_area ( values ) elif action == self . ui .actionCircle: area = Circle (). cal_area ( values ) elif action == self . ui .actionTriangle: area = Triangle (). cal_area ( values ) self . ui .edit.setText( str ( area )) if __name__ == "__main__" : app = QApplication ( sys . argv ) win = MyWin () win . show () sys . exit ( app . exec_ ())

  • pyqt5
  • syntaxerror
박건우 댓글 0 좋아요 0 조회수 199

안드로이드 홈 환경변수 설정질문입니다.

미해결

처음 배우는 리액트 네이티브

영상 보면서 따라 설치 하고 있는데 안드로이드 홈 환경변수 설정할때 터미널에 vi ~/.zshrc를 입력하니까 선생님과 같은 화면이 안나오고 E325: ATTENTION 화면이 나옵니다. 어떻게 해야 하나요?

  • react-native
  • javascript
hku0225 댓글 1 좋아요 0 조회수 377

배열 정렬 스타일

미해결

자바스크립트 알고리즘 문제풀이 입문(코딩테스트 대비)

안녕하세요 ! 기존에 배열을 정렬할 때, 화살표 함수를 사용하다가 곧장 arr1.sort()를 하니 어색해서요 ! arr1 = [1,3,9,5,2]라는 배열이 있을 때, arr1.sort((a,b) => a-b);하는것과 arr1.sort().reverse(); 하는 것은 코딩 스타일의 차이인가요?

  • 코테 준비 같이 해요!
  • javascript
australialove19 댓글 3 좋아요 0 조회수 298

시간 복잡도 개념

미해결

자바스크립트 알고리즘 문제풀이 입문(코딩테스트 대비)

안녕하세요 ! 커뮤니티에 게시글을 보다가 '' 이 문제의 해법은 sort를 피하겠다는 것이 아니라 2중 for문 즉 시간복잡도 O(n^2)를 피하겠다는 뜻입니다. 참고로 sort의 시간복잡도는 O(nlogn)입니다. '' 이런 답변을 봤어요~ 구글에 시간복잡도에 대해서 검색해봐도 다 이런 수학 기호들이 난무하는데요..! 어떻게 쉽게 이해하면 좋을까요..? 저는 function solution(arr1, arr2) { let answer = []; for(let x of arr1) { for(let i = 0; i < arr2.length; i++) { if(x === arr2[i]) answer.push(x); } } answer.sort((a, b) => a - b); return answer; 이렇게 풀었는데 투 포인터로 푸는 방식보다 많이 느린가요?? 더 빠르다, 느리다의 기준을 모르겠습니다 ㅠㅠ

  • javascript
  • 코테 준비 같이 해요!
australialove19 댓글 1 좋아요 0 조회수 198

VPN 프로그램도 프록시 서버를 사용하는 건가요?

미해결

따라하며 배우는 노드, 리액트 시리즈 - 기본 강의

강의 재미있게 듣고 있습니다 :) 국가를 바꾸거나 회사에서 보안으로 사용하는 VPN 프로그램도 프록시 서버를 사용하는 것인가요??

  • nodejs
  • react
Seolah Kim 댓글 1 좋아요 0 조회수 447

z축 회전행렬에서 요소 m12,m21과 -sin θ 와 sinθ의 위치 질문드립니다

미해결

[C++과 언리얼로 만드는 MMORPG 게임 개발 시리즈] Part2: 게임 수학과 DirectX12

안녕하세요 루키스님 회전행렬의 값에 대해 질문드립니다. z축회전변환 행렬을 구할때 X= xcos &theta; -ysin &theta; 이며 Y= xsin &theta; + ycos &theta; 라고 하셨습니다. 그렇다면 m12 = sin &theta; 이며 m21= -sin &theta; 여야하는게 아닌가요? 찾아봤을때도 어디서는 그렇게 나오고 다른곳은 루키스님이 말씀하신것처럼 나와 헷갈려 어떤 차이가 있는지 질문드립니다. 고맙습니다.

  • DirectX
  • 게임수학
rome 댓글 3 좋아요 0 조회수 495

공지사항, 갤러리 구성 중 궁금한것이 생겼습니다!

미해결

[2026년 출제기준] 웹디자인개발기능사 실기시험 완벽 가이드

안녕하세요 선생님! 강의 잘 듣고있습니다 😄 갤러리, 공지사항 구성 중 .btn과 .tab의 사이를 겹치게 하기위해서 .btn span에 margin-bottom: -1px 을 주는데 margin-bottom에 마이너스값을 주면 위로 올라가면서 .tab부분이 딸려 올라가면서 겹쳐보이게되는 원리인가요? margin-bottom: -1px 의 정확한 원리가 알고싶습니다

  • marginbottom
  • HTML/CSS
  • 웹 디자인
  • jquery
soojung4853 댓글 1 좋아요 1 조회수 240

책을 구매했는데 책에서는 zookeeper로 broker 클러스터링 내용이 안나오는걸까요?

미해결

[데브원영] 아파치 카프카 for beginners

여기 강의에서는 broker를 여러개 만들어 클러스터링 하는 내용이나오는데. 책에서는 이로만나오고 실제로 내용은 안나오는것 같아서요. 책내용을 따라하면서 클러스터를 구성해서 따라해도 괜찮은건가요?

  • 데이터 엔지니어링
  • Kafka
Qooo U 댓글 0 좋아요 0 조회수 375

Mecab 설치 관련 오류

미해결

파이썬 텍스트 분석 입문 - 데이터 수집부터 분석까지

맥 OS 기준 Mecab 설치 관련 설명서는 제공이 안되나요? 이하와 같은 오류가 나는데 어떻게 해결해야할지 막막하네요..ㅜㅜ

  • 웹-크롤링
  • pandas
  • anaconda
  • 텍스트마이닝
Henry Lee 댓글 5 좋아요 0 조회수 1508

Primitive type Optional 필요성이 궁금합니다!

미해결

더 자바, Java 8

우선 좋은강의 항상 감사드립니다. primitive type 경우 Optional이 따로 존재하는데 primitive type은 null값을 가질일이 없는데 혹시 어떨때 어떤목적으로 사용이되나요?

  • java8
  • java
  • primitive
김정욱 댓글 1 좋아요 1 조회수 312

6.8 어쩨서 함수안에서 dereference 한 값이 함수밖에서도 영향을 주나요?

미해결

홍정모의 따라하며 배우는 C++

//void printArray(int array[]) void print Array(int *array) 서로 같다 { cout<<*array<<endl;//op 9 *array=100;//함수밖에서도 변수의 값을 바꿀수있다 } int main() { int array[5]={9,7,5,3,1} printArray(array); cout<<array[0]<<" "<<*array<<endl; } 선생님이 print array함수 안에서 *array=100 이런식으로 하면 함수밖에서도 변수의 값은 바꿀수있다하셨는데 그렇게 할려면 & reference operator 를 써줘야하는거 아닌가요? int main()에서 복사된값이 printArray 함수로 들어가는거일텐데 어쩨서 함수밖에서도 변수의 값이 바뀌나요?

  • C++
jsh4059 댓글 1 좋아요 1 조회수 198

8:10 질문입니다

해결됨

홍정모의 따라하며 배우는 C++

안녕하세요! 1. 8:10초에 AutoPtr<Resource> res = new Resource; 는 포인터가 아니라 자체가 스마트 포인터이기 때문에 *res 가 아닌 res 로 한다고 하셨는데 new Resource는 메모리 동적할당을 받아서 주소를 가지고 있는데 res에 넣는게 가능한건가요?? 2. AutoPtr.h 헤더 내부에 AutoPtr(AutoPtr &a) { m_ptr = a.m_ptr; a.m_ptr = nullptr; } 이 함수는 디버깅해보니 이 예제에선 아예 사용되지 않던데 그냥 이렇게 쓰인단걸 알려주시기 위해서 이 강의에 넣으신건가요??

  • C++
it09kim 댓글 1 좋아요 0 조회수 197

집합 (set) 출력 오류 (파이썬 기본: 다양한 데이터 구조 (집합)) 8분 부분

미해결

[리뉴얼] 파이썬입문과 크롤링기초 부트캠프 [파이썬, 웹, 데이터 이해 기본까지] (업데이트)

data_set 변수 안에 집합 형태로 "apple", "dell", "samsung", "lg" 가 입력되어 있는데 print로 출력하면 lg와 dell의 순서가 바뀌어서 나옵니다 위 변수값을 수정하면 또 다른 순서로 출력되고요.. 무슨 오류인지 이해가 되지 않아 질문 올립니다..ㅠ

  • python
  • 웹-크롤링
haha-jh 댓글 1 좋아요 0 조회수 491

인기 태그

인프런 TOP Writers

주간 인기글