묻고 답해요
158만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결
빨간줄로 도배됐어요ㅠㅠ
next 13으로 typescript와 함께 개발중입니다어느 순간부터 html태그들과 improt 쪽에 빨간줄이 뜨더니 해결될 생각을 안하더라구요..많이 검색해 본 결과. @types/react, @types/react-dom 을 다운받아야 한다고 해서 다운 받았지만 해결이 안되더라구요...이 외에도 많은 방법들을 시도해 봤지만 효과가 없었습니다. 도와주세요ㅠㅠ 태크에서 나는 에러 : JSX element implicitly has type 'any' because no interface 'JSX.IntrinsicElements' exists.ts(7026)import문에서 나는 에러: Cannot find module 'next/image' or its corresponding type declarations.ts(2307)
-
미해결[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)
Splash Activity 를 먼저 띄우는 방법 좀 알려주세요.
안녕하십니까저는 트와이스 앱 만들기에서 강의소개 및 스플래시강의를 보고 있습니다.우선, New Project를 만들때, 안드로이드 스튜디오 버전이 달라서 그런지 Empty Activity는 없고 이와 유사한 Empty view activity 로 프로젝트를 만들었습니다. 그렇게 해서 Splash를 먼저 띄우기 위해 Manifests에서 Intent를 SplashActivity로 잘라서 붙여넣기 했는데 오류가 발생하네요.오류내용은 아래와 같고 제가 친 코드는 붙여넣기 했습니다.어떻게 해야 되는지 도와주십시요오류내용 : Android resource linking failedC:\Users\User\AndroidStudioProjects\SHEguidebook\app\build\intermediates\packaged_manifests\debug\AndroidManifest.xml:34: error: unexpected element <intent-filter> found in <manifest><application>. 코드 작성<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools"> <application android:allowBackup="true" android:dataExtractionRules="@xml/data_extraction_rules" android:fullBackupContent="@xml/backup_rules" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" android:theme="@style/Theme.SHEguidebook" tools:targetApi="31"> <activity android:name=".SplashActivity" android:exported="false" /> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> <activity android:name=".MainActivity" android:exported="true"> </activity> </application> </manifest>
-
미해결실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발
home.html 실행 질문드립니다.
안녕하세요.섹션7. 웹 계층 개발에서 home.html을 만들고 실행하는 과정에서 이렇게 떠 질문드립니다.패키지명이나 경로도 제대로 한 것 같은데 무엇이 문제인지 모르겠습니다...h2데이터베이스도 자주하는 질문에서 보고 다시 켜보고 했는데도 그대로입니다. 혹시 몰라 프로젝트 압축파일 링크도 남기겠습니다.https://drive.google.com/file/d/12XcLHK9Yy41E7XZFZ1ScLBpNeDyDsfuL/view?usp=sharing . ____ _/\\ / ___'_ __ (_)_ _ \ \ \ \( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \\\/ ___)| |_)| | | | | || (_| | ) ) ) )' |____| .__|_| |_|_| |_\__, | / / / /=========|_|==============|___/=/_/_/_/:: Spring Boot :: (v3.0.6)2023-08-22T22:20:58.241+09:00 INFO 18372 --- [ restartedMain] jpabook.jpashop.JpashopApplication : Starting JpashopApplication using Java 17.0.4 with PID 18372 (C:\code\jpashop\bin\main started by user in C:\code\jpashop)2023-08-22T22:20:58.244+09:00 INFO 18372 --- [ restartedMain] jpabook.jpashop.JpashopApplication : No active profile set, falling back to 1 default profile: "default"2023-08-22T22:20:58.299+09:00 INFO 18372 --- [ restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable2023-08-22T22:20:58.299+09:00 INFO 18372 --- [ restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG'2023-08-22T22:20:58.791+09:00 INFO 18372 --- [ restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.2023-08-22T22:20:58.814+09:00 INFO 18372 --- [ restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 14 ms. Found 0 JPA repository interfaces.2023-08-22T22:20:59.481+09:00 INFO 18372 --- [ restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)2023-08-22T22:20:59.490+09:00 INFO 18372 --- [ restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat]2023-08-22T22:20:59.491+09:00 INFO 18372 --- [ restartedMain] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.8]2023-08-22T22:20:59.544+09:00 INFO 18372 --- [ restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext2023-08-22T22:20:59.544+09:00 INFO 18372 --- [ restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1245 ms2023-08-22T22:20:59.610+09:00 INFO 18372 --- [ restartedMain] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...2023-08-22T22:20:59.693+09:00 INFO 18372 --- [ restartedMain] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection conn0: url=jdbc:h2:tcp://localhost/~/jpashop user=SA2023-08-22T22:20:59.694+09:00 INFO 18372 --- [ restartedMain] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.2023-08-22T22:20:59.705+09:00 INFO 18372 --- [ restartedMain] o.s.b.a.h2.H2ConsoleAutoConfiguration : H2 console available at '/h2-console'. Database available at 'jdbc:h2:tcp://localhost/~/jpashop'2023-08-22T22:20:59.818+09:00 INFO 18372 --- [ restartedMain] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]2023-08-22T22:20:59.864+09:00 INFO 18372 --- [ restartedMain] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.1.7.Final2023-08-22T22:21:00.069+09:00 DEBUG 18372 --- [ restartedMain] o.h.t.d.jdbc.spi.JdbcTypeRegistry : addDescriptor(FloatTypeDescriptor) replaced previous registration(DoubleTypeDescriptor)2023-08-22T22:21:00.078+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration boolean -> org.hibernate.type.BasicTypeReference@6b85f8742023-08-22T22:21:00.078+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration boolean -> org.hibernate.type.BasicTypeReference@6b85f8742023-08-22T22:21:00.078+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Boolean -> org.hibernate.type.BasicTypeReference@6b85f8742023-08-22T22:21:00.078+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration numeric_boolean -> org.hibernate.type.BasicTypeReference@59ccf0742023-08-22T22:21:00.079+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration org.hibernate.type.NumericBooleanConverter -> org.hibernate.type.BasicTypeReference@59ccf0742023-08-22T22:21:00.079+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration true_false -> org.hibernate.type.BasicTypeReference@2e4a1fc32023-08-22T22:21:00.079+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration org.hibernate.type.TrueFalseConverter -> org.hibernate.type.BasicTypeReference@2e4a1fc32023-08-22T22:21:00.079+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration yes_no -> org.hibernate.type.BasicTypeReference@3fe1d1aa2023-08-22T22:21:00.079+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration org.hibernate.type.YesNoConverter -> org.hibernate.type.BasicTypeReference@3fe1d1aa2023-08-22T22:21:00.079+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration byte -> org.hibernate.type.BasicTypeReference@7be3d87a2023-08-22T22:21:00.079+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration byte -> org.hibernate.type.BasicTypeReference@7be3d87a2023-08-22T22:21:00.079+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Byte -> org.hibernate.type.BasicTypeReference@7be3d87a2023-08-22T22:21:00.079+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration binary -> org.hibernate.type.BasicTypeReference@4592d8222023-08-22T22:21:00.079+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration byte[] -> org.hibernate.type.BasicTypeReference@4592d8222023-08-22T22:21:00.080+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration [B -> org.hibernate.type.BasicTypeReference@4592d8222023-08-22T22:21:00.080+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration binary_wrapper -> org.hibernate.type.BasicTypeReference@6f40a0362023-08-22T22:21:00.080+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration wrapper-binary -> org.hibernate.type.BasicTypeReference@6f40a0362023-08-22T22:21:00.080+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration Byte[] -> org.hibernate.type.BasicTypeReference@6f40a0362023-08-22T22:21:00.080+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration [Ljava.lang.Byte; -> org.hibernate.type.BasicTypeReference@6f40a0362023-08-22T22:21:00.080+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration image -> org.hibernate.type.BasicTypeReference@3c4026342023-08-22T22:21:00.080+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration blob -> org.hibernate.type.BasicTypeReference@44fa203b2023-08-22T22:21:00.080+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Blob -> org.hibernate.type.BasicTypeReference@44fa203b2023-08-22T22:21:00.080+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_blob -> org.hibernate.type.BasicTypeReference@6211dc992023-08-22T22:21:00.080+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_blob_wrapper -> org.hibernate.type.BasicTypeReference@8ba91fd2023-08-22T22:21:00.080+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration short -> org.hibernate.type.BasicTypeReference@357667582023-08-22T22:21:00.080+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration short -> org.hibernate.type.BasicTypeReference@357667582023-08-22T22:21:00.081+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Short -> org.hibernate.type.BasicTypeReference@357667582023-08-22T22:21:00.081+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration integer -> org.hibernate.type.BasicTypeReference@209872352023-08-22T22:21:00.081+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration int -> org.hibernate.type.BasicTypeReference@209872352023-08-22T22:21:00.081+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Integer -> org.hibernate.type.BasicTypeReference@209872352023-08-22T22:21:00.081+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration long -> org.hibernate.type.BasicTypeReference@4c0187ab2023-08-22T22:21:00.081+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration long -> org.hibernate.type.BasicTypeReference@4c0187ab2023-08-22T22:21:00.081+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Long -> org.hibernate.type.BasicTypeReference@4c0187ab2023-08-22T22:21:00.081+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration float -> org.hibernate.type.BasicTypeReference@10e8d2af2023-08-22T22:21:00.081+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration float -> org.hibernate.type.BasicTypeReference@10e8d2af2023-08-22T22:21:00.081+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Float -> org.hibernate.type.BasicTypeReference@10e8d2af2023-08-22T22:21:00.081+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration double -> org.hibernate.type.BasicTypeReference@16a23b4d2023-08-22T22:21:00.081+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration double -> org.hibernate.type.BasicTypeReference@16a23b4d2023-08-22T22:21:00.081+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Double -> org.hibernate.type.BasicTypeReference@16a23b4d2023-08-22T22:21:00.081+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration big_integer -> org.hibernate.type.BasicTypeReference@75c8ea762023-08-22T22:21:00.081+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.math.BigInteger -> org.hibernate.type.BasicTypeReference@75c8ea762023-08-22T22:21:00.081+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration big_decimal -> org.hibernate.type.BasicTypeReference@353407bb2023-08-22T22:21:00.081+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.math.BigDecimal -> org.hibernate.type.BasicTypeReference@353407bb2023-08-22T22:21:00.081+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration character -> org.hibernate.type.BasicTypeReference@631fc6182023-08-22T22:21:00.081+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration char -> org.hibernate.type.BasicTypeReference@631fc6182023-08-22T22:21:00.081+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Character -> org.hibernate.type.BasicTypeReference@631fc6182023-08-22T22:21:00.081+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration character_nchar -> org.hibernate.type.BasicTypeReference@6460f1652023-08-22T22:21:00.082+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration string -> org.hibernate.type.BasicTypeReference@56c92cc52023-08-22T22:21:00.082+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.String -> org.hibernate.type.BasicTypeReference@56c92cc52023-08-22T22:21:00.082+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration nstring -> org.hibernate.type.BasicTypeReference@43d5e0782023-08-22T22:21:00.082+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration characters -> org.hibernate.type.BasicTypeReference@5ee7d11c2023-08-22T22:21:00.082+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration char[] -> org.hibernate.type.BasicTypeReference@5ee7d11c2023-08-22T22:21:00.082+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration [C -> org.hibernate.type.BasicTypeReference@5ee7d11c2023-08-22T22:21:00.082+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration wrapper-characters -> org.hibernate.type.BasicTypeReference@3deff87c2023-08-22T22:21:00.082+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration [Ljava.lang.Character; -> org.hibernate.type.BasicTypeReference@3deff87c2023-08-22T22:21:00.082+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration Character[] -> org.hibernate.type.BasicTypeReference@3deff87c2023-08-22T22:21:00.082+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration text -> org.hibernate.type.BasicTypeReference@22df54002023-08-22T22:21:00.082+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration ntext -> org.hibernate.type.BasicTypeReference@4e65b6032023-08-22T22:21:00.082+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration clob -> org.hibernate.type.BasicTypeReference@2eeaf1e22023-08-22T22:21:00.082+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Clob -> org.hibernate.type.BasicTypeReference@2eeaf1e22023-08-22T22:21:00.082+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration nclob -> org.hibernate.type.BasicTypeReference@6c84c05b2023-08-22T22:21:00.082+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.NClob -> org.hibernate.type.BasicTypeReference@6c84c05b2023-08-22T22:21:00.082+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_clob -> org.hibernate.type.BasicTypeReference@34a3e69f2023-08-22T22:21:00.082+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_clob_char_array -> org.hibernate.type.BasicTypeReference@57959ba62023-08-22T22:21:00.082+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_clob_character_array -> org.hibernate.type.BasicTypeReference@2e8905572023-08-22T22:21:00.082+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_nclob -> org.hibernate.type.BasicTypeReference@64458ec52023-08-22T22:21:00.082+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_nclob_character_array -> org.hibernate.type.BasicTypeReference@4ff91bcc2023-08-22T22:21:00.082+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_nclob_char_array -> org.hibernate.type.BasicTypeReference@34cae13e2023-08-22T22:21:00.083+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration Duration -> org.hibernate.type.BasicTypeReference@528fe94d2023-08-22T22:21:00.083+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.Duration -> org.hibernate.type.BasicTypeReference@528fe94d2023-08-22T22:21:00.083+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalDateTime -> org.hibernate.type.BasicTypeReference@1a74767f2023-08-22T22:21:00.083+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalDateTime -> org.hibernate.type.BasicTypeReference@1a74767f2023-08-22T22:21:00.083+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalDate -> org.hibernate.type.BasicTypeReference@1d5439862023-08-22T22:21:00.083+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalDate -> org.hibernate.type.BasicTypeReference@1d5439862023-08-22T22:21:00.083+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalTime -> org.hibernate.type.BasicTypeReference@7e74f8032023-08-22T22:21:00.083+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalTime -> org.hibernate.type.BasicTypeReference@7e74f8032023-08-22T22:21:00.083+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration OffsetDateTime -> org.hibernate.type.BasicTypeReference@539cb3012023-08-22T22:21:00.083+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.OffsetDateTime -> org.hibernate.type.BasicTypeReference@539cb3012023-08-22T22:21:00.083+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration OffsetDateTimeWithTimezone -> org.hibernate.type.BasicTypeReference@6a62f0832023-08-22T22:21:00.083+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration OffsetDateTimeWithoutTimezone -> org.hibernate.type.BasicTypeReference@56c66c402023-08-22T22:21:00.083+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration OffsetTime -> org.hibernate.type.BasicTypeReference@fab327b2023-08-22T22:21:00.083+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.OffsetTime -> org.hibernate.type.BasicTypeReference@fab327b2023-08-22T22:21:00.083+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration ZonedDateTime -> org.hibernate.type.BasicTypeReference@39199c342023-08-22T22:21:00.083+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.ZonedDateTime -> org.hibernate.type.BasicTypeReference@39199c342023-08-22T22:21:00.083+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration ZonedDateTimeWithTimezone -> org.hibernate.type.BasicTypeReference@4482957c2023-08-22T22:21:00.083+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration ZonedDateTimeWithoutTimezone -> org.hibernate.type.BasicTypeReference@214355c02023-08-22T22:21:00.083+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration date -> org.hibernate.type.BasicTypeReference@77ad83792023-08-22T22:21:00.083+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Date -> org.hibernate.type.BasicTypeReference@77ad83792023-08-22T22:21:00.083+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration time -> org.hibernate.type.BasicTypeReference@2a059842023-08-22T22:21:00.084+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Time -> org.hibernate.type.BasicTypeReference@2a059842023-08-22T22:21:00.084+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration timestamp -> org.hibernate.type.BasicTypeReference@52d905d92023-08-22T22:21:00.084+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Timestamp -> org.hibernate.type.BasicTypeReference@52d905d92023-08-22T22:21:00.084+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Date -> org.hibernate.type.BasicTypeReference@52d905d92023-08-22T22:21:00.084+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar -> org.hibernate.type.BasicTypeReference@690fb7172023-08-22T22:21:00.084+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Calendar -> org.hibernate.type.BasicTypeReference@690fb7172023-08-22T22:21:00.084+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.GregorianCalendar -> org.hibernate.type.BasicTypeReference@690fb7172023-08-22T22:21:00.084+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar_date -> org.hibernate.type.BasicTypeReference@722247042023-08-22T22:21:00.084+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar_time -> org.hibernate.type.BasicTypeReference@724e4cbd2023-08-22T22:21:00.084+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration instant -> org.hibernate.type.BasicTypeReference@682368e02023-08-22T22:21:00.084+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.Instant -> org.hibernate.type.BasicTypeReference@682368e02023-08-22T22:21:00.084+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration uuid -> org.hibernate.type.BasicTypeReference@7c80ddfc2023-08-22T22:21:00.084+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.UUID -> org.hibernate.type.BasicTypeReference@7c80ddfc2023-08-22T22:21:00.084+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration pg-uuid -> org.hibernate.type.BasicTypeReference@7c80ddfc2023-08-22T22:21:00.084+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration uuid-binary -> org.hibernate.type.BasicTypeReference@1c7aaf0f2023-08-22T22:21:00.084+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration uuid-char -> org.hibernate.type.BasicTypeReference@1cd133992023-08-22T22:21:00.084+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration class -> org.hibernate.type.BasicTypeReference@6fc63c8b2023-08-22T22:21:00.084+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Class -> org.hibernate.type.BasicTypeReference@6fc63c8b2023-08-22T22:21:00.084+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration currency -> org.hibernate.type.BasicTypeReference@15d363b22023-08-22T22:21:00.084+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration Currency -> org.hibernate.type.BasicTypeReference@15d363b22023-08-22T22:21:00.084+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Currency -> org.hibernate.type.BasicTypeReference@15d363b22023-08-22T22:21:00.084+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration locale -> org.hibernate.type.BasicTypeReference@5c98b4d02023-08-22T22:21:00.085+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Locale -> org.hibernate.type.BasicTypeReference@5c98b4d02023-08-22T22:21:00.085+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration serializable -> org.hibernate.type.BasicTypeReference@494009212023-08-22T22:21:00.085+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.io.Serializable -> org.hibernate.type.BasicTypeReference@494009212023-08-22T22:21:00.085+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration timezone -> org.hibernate.type.BasicTypeReference@173c56e62023-08-22T22:21:00.085+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.TimeZone -> org.hibernate.type.BasicTypeReference@173c56e62023-08-22T22:21:00.085+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration ZoneOffset -> org.hibernate.type.BasicTypeReference@197c79402023-08-22T22:21:00.085+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.ZoneOffset -> org.hibernate.type.BasicTypeReference@197c79402023-08-22T22:21:00.085+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration url -> org.hibernate.type.BasicTypeReference@db708b2023-08-22T22:21:00.085+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.net.URL -> org.hibernate.type.BasicTypeReference@db708b2023-08-22T22:21:00.085+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration row_version -> org.hibernate.type.BasicTypeReference@491b68b02023-08-22T22:21:00.091+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration dbtimestamp -> org.hibernate.type.DbTimestampType@472f3b222023-08-22T22:21:00.092+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration dbtimestamp -> org.hibernate.type.DbTimestampType@472f3b222023-08-22T22:21:00.093+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration object -> org.hibernate.type.JavaObjectType@61ffa3242023-08-22T22:21:00.093+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Object -> org.hibernate.type.JavaObjectType@61ffa3242023-08-22T22:21:00.093+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration null -> org.hibernate.type.NullType@6fc97ecb2023-08-22T22:21:00.094+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_date -> org.hibernate.type.BasicTypeReference@711d998c2023-08-22T22:21:00.094+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_time -> org.hibernate.type.BasicTypeReference@635c7de72023-08-22T22:21:00.094+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_timestamp -> org.hibernate.type.BasicTypeReference@12e52592023-08-22T22:21:00.094+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_calendar -> org.hibernate.type.BasicTypeReference@25355b912023-08-22T22:21:00.094+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_calendar_date -> org.hibernate.type.BasicTypeReference@38f967422023-08-22T22:21:00.094+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_calendar_time -> org.hibernate.type.BasicTypeReference@384a86ff2023-08-22T22:21:00.094+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_binary -> org.hibernate.type.BasicTypeReference@4b05b7352023-08-22T22:21:00.094+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_serializable -> org.hibernate.type.BasicTypeReference@44e384172023-08-22T22:21:00.153+09:00 INFO 18372 --- [ restartedMain] SQL dialect : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect2023-08-22T22:21:00.184+09:00 DEBUG 18372 --- [ restartedMain] o.h.t.d.jdbc.spi.JdbcTypeRegistry : addDescriptor(NCharTypeDescriptor) replaced previous registration(CharTypeDescriptor)2023-08-22T22:21:00.184+09:00 DEBUG 18372 --- [ restartedMain] o.h.t.d.jdbc.spi.JdbcTypeRegistry : addDescriptor(NVarcharTypeDescriptor) replaced previous registration(VarcharTypeDescriptor)2023-08-22T22:21:00.184+09:00 DEBUG 18372 --- [ restartedMain] o.h.t.d.jdbc.spi.JdbcTypeRegistry : addDescriptor(LongNVarcharTypeDescriptor) replaced previous registration(LongVarcharTypeDescriptor)2023-08-22T22:21:00.186+09:00 DEBUG 18372 --- [ restartedMain] o.h.t.d.jdbc.spi.JdbcTypeRegistry : addDescriptor(NClobTypeDescriptor(DEFAULT)) replaced previous registration(ClobTypeDescriptor(DEFAULT))2023-08-22T22:21:00.186+09:00 DEBUG 18372 --- [ restartedMain] o.h.t.d.jdbc.spi.JdbcTypeRegistry : addDescriptor(2005, ClobTypeDescriptor(STREAM_BINDING)) replaced previous registration(ClobTypeDescriptor(DEFAULT))2023-08-22T22:21:00.188+09:00 DEBUG 18372 --- [ restartedMain] o.h.t.d.jdbc.spi.JdbcTypeRegistry : addDescriptor(3003, TimestampUtcDescriptor) replaced previous registration(TimestampUtcDescriptor)2023-08-22T22:21:00.191+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration org.hibernate.type.OffsetDateTimeType -> basicType@1(java.time.OffsetDateTime,93)2023-08-22T22:21:00.192+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration OffsetDateTime -> basicType@1(java.time.OffsetDateTime,93)2023-08-22T22:21:00.192+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.OffsetDateTime -> basicType@1(java.time.OffsetDateTime,93)2023-08-22T22:21:00.192+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration org.hibernate.type.ZonedDateTimeType -> basicType@2(java.time.ZonedDateTime,93)2023-08-22T22:21:00.192+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration ZonedDateTime -> basicType@2(java.time.ZonedDateTime,93)2023-08-22T22:21:00.192+09:00 DEBUG 18372 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.ZonedDateTime -> basicType@2(java.time.ZonedDateTime,93)2023-08-22T22:21:00.193+09:00 DEBUG 18372 --- [ restartedMain] o.h.type.spi.TypeConfiguration$Scope : Scoping TypeConfiguration [org.hibernate.type.spi.TypeConfiguration@660a614d] to MetadataBuildingContext [org.hibernate.boot.internal.MetadataBuildingContextRootImpl@1bc1077a]2023-08-22T22:21:00.412+09:00 INFO 18372 --- [ restartedMain] p6spy : #1692710460411 | took 7ms | statement | connection 3| url jdbc:h2:tcp://localhost/~/jpashopselect * from INFORMATION_SCHEMA.SEQUENCESselect * from INFORMATION_SCHEMA.SEQUENCES;2023-08-22T22:21:00.559+09:00 DEBUG 18372 --- [ restartedMain] o.h.type.spi.TypeConfiguration$Scope : Scoping TypeConfiguration [org.hibernate.type.spi.TypeConfiguration@660a614d] to SessionFactoryImplementor [org.hibernate.internal.SessionFactoryImpl@11d3230f]2023-08-22T22:21:01.037+09:00 INFO 18372 --- [ restartedMain] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]2023-08-22T22:21:01.052+09:00 TRACE 18372 --- [ restartedMain] o.h.type.spi.TypeConfiguration$Scope : Handling #sessionFactoryCreated from [org.hibernate.internal.SessionFactoryImpl@11d3230f] for TypeConfiguration2023-08-22T22:21:01.055+09:00 INFO 18372 --- [ restartedMain] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'2023-08-22T22:21:01.174+09:00 WARN 18372 --- [ 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 warning2023-08-22T22:21:01.317+09:00 INFO 18372 --- [ restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html]2023-08-22T22:21:01.466+09:00 INFO 18372 --- [ restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 357292023-08-22T22:21:01.511+09:00 INFO 18372 --- [ restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path ''2023-08-22T22:21:01.521+09:00 INFO 18372 --- [ restartedMain] jpabook.jpashop.JpashopApplication : Started JpashopApplication in 3.753 seconds (process running for 4.554)2023-08-22T22:21:03.869+09:00 INFO 18372 --- [nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'2023-08-22T22:21:03.870+09:00 INFO 18372 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'2023-08-22T22:21:03.872+09:00 INFO 18372 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 2 ms2023-08-22T22:21:03.944+09:00 INFO 18372 --- [nio-8080-exec-1] j.jpashop.controller.HomeController : home controller2023-08-22T22:21:04.912+09:00 INFO 18372 --- [nio-8080-exec-2] j.jpashop.controller.HomeController : home controller2023-08-22T22:25:21.075+09:00 INFO 18372 --- [nio-8080-exec-5] j.jpashop.controller.HomeController : home controller
-
미해결스프링 핵심 원리 - 기본편
@Autowired 생성자 주입 관련 질문 있습니다.
학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요.1. 강의 내용과 관련된 질문을 남겨주세요.2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요.(자주 하는 질문 링크: https://bit.ly/3fX6ygx)3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요.(질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG)질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요.=========================================[질문 템플릿]1. 강의 내용과 관련된 질문인가요? (예/아니오)2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오)3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오)[질문 내용]여기에 질문 내용을 남겨주세요.제 MemberServiceImpl 생성자는 다음과 같습니다.그리고, MemoryMemberRepository 클래스에 임의로 생성자를 추가해주었습니다.로그에 bean 생성 순서가 어떻게 되나 찍기 위해 임의로 만들어준 것입니다.출력되는 로그는 다음과 같습니다.22:05:11.598 [main] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'memberServiceImpl'22:05:11.614 [main] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'memoryMemberRepository'122:05:11.629 [main] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Autowiring by type from bean name 'memberServiceImpl' via constructor to bean named 'memoryMemberRepository'memberRepository = hello.core.member.MemoryMemberRepository@1a45193b제가 처음에 생각했던 것은, MemberServiceImpl 객체를 생성하여 bean으로 등록하려고 하는 시점에, 생성자를 통해 객체를 생성하는 과정을 거칠텐데, 이 때 생성자에 필요한 인자인 MemberRepository 객체가 아직 bean으로 등록되어 있지 않은 상황이라, 자동 주입이 이루어지지 않아 먼저 MemberRepository 객체부터 생성하고 bean으로 등록한 이후에, 마저 MemberServiceImpl 객체 생성을 마치고 bean으로 등록하는 과정으로 생각했습니다.그런데, 로그를 찍어보니까, 일단 먼저 memberServiceImpl이 bean으로 등록되고, 그 다음 memoryMemberRepository도 bean으로 등록된 다음에, memoryMemberRepository가 생성자를 통해 (1이 로그에 출력된 것으로 확인 가능) 객체로 생성되고(?) 그 다음 @Autowired를 통해 의존관계 주입이 되고, memberServiceImpl 생성자가 실행되는 것을 확인할 수 있습니다(memberRepository = ~ 구문이 로그에 출력된 것으로 확인 가능).memberServiceImpl의 생성자가 실행되기도 전에 memberServiceImpl이 bean으로 등록되는 과정이 이해가 가지 않습니다. (Creating shared instance of singleton bean 'memberServiceImpl'). memoryMemberRepository도 마찬가지입니다.생성자가 실행되기도 전에 Creating shared instance of singleton bean 문구가 출력되는 이유를 모르겠습니다.bean으로 생성(등록)되려면, 생성자를 통해 실행되는 것 아닌가요? 왜 bean으로 먼저 생성되고, 그 이후에, 자동관계 주입이 된 후에 생성자가 실행되는 것인지 질문 드립니다.
-
미해결스프링 MVC 2편 - 백엔드 웹 개발 활용 기술
어그리거트 질문
안녕하세요. 개인프로젝트를 하면서 질문이 생겨 올립니다. 데이터베이스에게시글테이블과 첨부파일테이블이 있다면두 개는 각각 다른 어그리거트로 놓는게 좋을까요? (게시글 수정과 첨부파일 추가는) 게시글을 쓴 사람뿐만 아니라 권한이 있는 누구나 할 수 있게 구현할 예정입니다. 예를 들어, jira와 비슷하게 구현하려고 합니다.
-
미해결스프링 핵심 원리 - 고급편
안녕하세요! 김영한님 강의를 열심히 듣고 있는 학생입니다!
[질문 템플릿]1. 강의 내용과 관련된 질문인가요? (예)2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예)3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예)[질문 내용]안녕하세요. 김영한님 강의를 통해 스프링을 공부하며, 조금씩 성장중인 학생입니다. 다름이 아니라 제가 김영한님 강의를 통해 공부한 내용들을 벨로그에 작성하고 나중에 꺼내보고 싶은데 괜찮을까요?상업적 목적은 일절 없으며, 강의자료의 내용을 제 나름대로 이해하여 풀어쓰고, 적용 코드들을 예시로 기재할 예정입니다.
-
미해결스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술
name 질문
[질문 내용]여기에 질문 내용을 남겨주세요.3:00에서 MemberForm을 만들었는데 거기서 name이랑 createMemberForm.html에서 input에 name이 왜 연동이 되는지 궁금합니다ㅠㅠㅠ
-
해결됨외워서 끝내는 SSL과 최소한의 암호기술
은행예시질문
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. RA를 은행이라 가정하고 PC가 있다고 했을때요. PC들이 인터넷 뱅킹을 신청하게 되면 RA에서 등록대행을 받아주고PC들이 이제 X.509형식 인증서와 Private key를 저장한다고 했는데요. 전에 설명드렸던 CA의 키쌍 중에 public키를 포함한 ’기관인증서‘는 X.509 형식이 아닌건가요??
-
미해결10주완성 C++ 코딩테스트 | 알고리즘 코딩테스트
cin과 scanf의 차이점이 큰가요??
배열을 입력 받을 때for(int i = 0; i < N; i++){ for(int j = 0; j < N; j++){ scanf("%1d", &arr[i][j]); } }으로 하면 틀렸습니다가 뜨고for(int i = 0; i < N; i++){ for(int j = 0; j < N; j++){ cin >> arr[i][j]; } }로 하니까 바로 맞았습니다가 뜨는데 둘의 차이점이 있는지 궁금합니다!!
-
미해결10주완성 C++ 코딩테스트 | 알고리즘 코딩테스트
2-J 질문 드립니다
안녕하세요 :) 2-J 문제 관련 질문 드립니다.우선, 제 풀이를 제출했을때 맞았습니다가 뜹니다.http://boj.kr/f2ffd86d82cb42679b70ba68b633969e그런데, IDE 상에서는 아래와 같이 3개의 경고가 뜹니다. 경고 C6385 'a[y]'에서 잘못된 데이터를 읽고 있습니다. 읽기 가능한 크기는 '416'바이트인데 실제로는 'nx'바이트만 읽을 수 있습니다.경고 C6385 't[y]'에서 잘못된 데이터를 읽고 있습니다. 읽기 가능한 크기는 '416'바이트인데 실제로는 '-8'바이트만 읽을 수 있습니다.경고 C6386 't[y]'에 쓰는 동안 버퍼 오버런이 발생했습니다. 쓰기 가능한 크기는 '416'바이트인데 실제로는 'nx'바이트만 쓸 수 있습니다. 보통 배열의 잘못된 인덱스/범위에 접근했을때 이런 오류가 뜨는 것 같은데 제가 생각하기에는 범위를 벗어나는 반례가 없다고 생각되어서 질문 드립니다. 제 코드에 어떤 문제가 있는지 봐주실 수 있을까요? (왜 백준에서는 통과되는지도 궁금합니다..)감사합니다!
-
미해결Java/Spring 테스트를 추가하고 싶은 개발자들의 오답노트
서비스 레이어 끼리의 의존
안녕하세요. 강의가 너무 재미있어 시간가는 줄 모르고 1편, 2편 강의 완강 하고있습니다. 2편, 테스트 관련해서 실습을 하던 중 고민이 생겨서 질문을 올리게 되었습니다.자바/스프링으로 코딩을 하다가 A Service와 B Service가 의존관계를 갖게 된다면 어떻게 해야할지가 너무 고민이여서요.만약 2편에 있던 도메인 User, Post에 User의 프로필 이미지 업로드기능, Post의 이미지 업로드기능이 있다고 할 때, File의 정보를 저장할 수 있는 File 도메인이 있어야 한다고 생각합니다.File에 대응하는 FileService를 만든다고 가정 하였을 때 DB 등에 파일의 정보 데이터를 저장하는 FileRepository, 파일을 업로드 하는 FileUploader를 만든 후 의존관계가 이런형태로 구성 되어야 한다고 생각합니다. FileService에 saveAndUpload() 라는 메서드가 있고 이 메서드를 공통으로 사용하고 싶을 때 UserServiceFacade, PostServiceFacade와 같은 형태로 퍼사드를 써야할지, UserService, PostService 에 각각 업로드 메서드를 구현을 해야할지 고민이 됩니다. Facade와 같은 형태로 코드를 작성하게 된다면 User, Post가 아닌 파일이 필요로 하는 도메인이 추가 될 때 마다 Facade를 작성해줘야하는 번거로움이 있을 것 같고,Service 각각에 업로드 메서드를 구현하자니 반복적인 코드가 들어가는 것이 마음에 조금 걸려서 질문드립니다.
-
미해결자바(Java) 알고리즘 문제풀이 입문: 코딩테스트 대비
아래와 같이 풀었습니다! 리뷰 부탁드립니다...!
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.아래와 같이 풀었는데 이런식으로 풀어도 될까요...? 정답이긴하더라구요import java.util.*; public class Main{ public static void main(String[] args){ Main T = new Main(); Scanner in = new Scanner(System.in); String word = in.next(); String target = in.next(); System.out.println(T.solution(word, target));; } public String solution(String word, String target){ String answer = ""; char[] charArray = word.toCharArray(); List<Integer> targetAtList = new ArrayList<>(); for(int i = 0; i < charArray.length; i++){ if(Character.toString(charArray[i]).equals(target)){ targetAtList.add(i); } } for(int i = 0; i < charArray.length; i++){ List<Integer> valueList = new ArrayList<>(); for(int j : targetAtList){ valueList.add(Math.abs(i-j)); } int min = Collections.min(valueList); answer += Integer.toString(min); if(i != charArray.length-1) answer += " "; } return answer; } }
-
미해결설계독학맛비's 실전 FPGA를 이용한 HW 가속기 설계 (LED 제어부터 Fully Connected Layer 가속기 설계까지)
[15] delay valid & data 관련질문
안녕하세요, 질문을 자주드리게되네요..ㅎㅎ 고생해주셔서 감사합니다. data_mover_bram 코드를 작성 중 마지막 부분에서 delay관련 코드가 나오는데요, CORE_DELAY=5기준, 00000->00001->00011->00111->01111->11111 : r_core_delay[4]를 ce_b1에 할당하므로, r_valid가 유지되는 채로 5cycle이 지나 b1에 clock이 인가되기 시작할 것입니다. data를 delay시키는 코드 부분에서,if (|r_core_delay) r_core_data[0] <=mem_data;이므로, 1번에 제가 제시한 시퀀스 기준,r_core_delay=00001이 되고난 그 다음 clock 즉 r_core_delay=00010이 되는 clock에 r_core_data[0]에 mem data가 쓰일 것이라고 생각이되는데, 틀린 생각인가요? 만약 그것이 맞다면 이후 ->[1]->[2]->[3]->[4]와 같이 추가적으로 4cycle, 총 5cycle이 필요한데, r_core_delay 보다 한 사이클 늦게 5cycle이 시작되므로 최종적으로 delay를 미루는 시간보다 data가 한 사이클 늦게 밀릴 것이라고 코드해석이 되는데, 아마 당연히 제가 틀렸겠지요..?이 부분이 어떻게 동시에 싱크를 맞춰서 딜레이 되는 건지 궁금합니다. 감사합니다..
-
미해결10주완성 C++ 코딩테스트 | 알고리즘 코딩테스트
왜틀렸는지 알 수 있을까요,,?
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. http://boj.kr/cf2c8a947f5041b69efd55961657526c왜 틀린건가요..? ㅜㅜ 주어진 예제들은 잘 맞아서반례를 못찾겠습니다 ㅠ=> 엥...? 공유한 링크 들어가면 맞다고 뜨고 제 아이디로 백준에 들어가면 틀리다고 뜨네요아래 질문 보고 혹시나 해서 들어가봤더니...뭐죠,,,, 이렇게 나와서 제가 작성한 코드가 올바른 코드가 맞는지 알 수 있을까요,,? 알 수가 없네요,, ㅜㅜ
-
미해결설계독학맛비's 실전 FPGA를 이용한 HW 가속기 설계 (LED 제어부터 Fully Connected Layer 가속기 설계까지)
TX부분에 불빛은 들어오나 터미널 상에 문장출력이 되지 않습니다
안녕하세요 맛비님 :)제가 사용하고 있는 보드는 Z7-10입니다. HELLOWORLD 실습을 하던 중 처음에는 JTAG부분의 파랑색 블럭을 잘못 연결하여 cannot halt processor core, timeout 오류가 떴었고 JTAG로 제대로 꽂으니 HALT오류 문구 없이 모두 정상적으로 컴파일되었습니다.하지만 터미널을 통하여 숫자를 입력하여도 빨간색 동그라미 친 부분의 TX부분만 한번 깜빡이고 터미널에서 따로 출력되는 동작이 없습니다.이러한 경우 UART는 제대로 동작하는 것일까요? 다음 장의 LED BLINKING의 경우 잘 동작함을 확인하였는데 UART부분에만 문제가 있는 것일까요?다른 부분은 실습과 동일하게 진행하였습니다.*보드 초기에는 전원을 키고 FPGA에 로딩을 할 때에 특유의 LED반짝이는 동작이 나왔는데 지금은 나오지 않네요. 그것과도 관련있을까요?*hardware 빌드를 시도할 때 한번씩 다음과 같은 문구가 뜹니다
-
해결됨[코드캠프] 부트캠프에서 만든 고농축 백엔드 코스
섹션13. 마이크로서비스> Error [ERR_REQUIRE_ESM]
안녕하세요.(2022년도 강의) 섹션13. Microservice - API-Gateway 2 강의에서 질문이 있습니다.Microservice의 Graphql기반의 API 서버를 구성하는 예제에서 Gateway 서버에서 아래와 같은 에러가 발생합니다. (캡쳐 참고)const wrapAnsi = require('wrap-ansi');Error [ERR_REQUIRE_ESM]: require() of ES Module /api-gateway/node_modules/wrap-ansi/index.js from /api-gateway/node_modules/@nestjs/cli/node_modules/inquirer/lib/utils/screen-manager.js not supported.Node모듈에서 import 방식이 아닌 require 를 통해 다른 모듈을 로드해서 오류라는 것 같은데요.이 경우, 어떻게 해야할까요? ㅠ
-
해결됨스프링부트 JUnit 테스트 - 시큐리티를 활용한 Bank 애플리케이션
vs code setting에서 gradle
안녕하세요 강사님!질문 올립니다.vs code 세팅 중 3번째 gradle 설치에서 gradle for java를 설치한 뒤에 아래와 같은 문구가 뜹니다.구글링 해보니 이전에 했던 스프링 프로젝트의 gradle 버전과 겹쳐서 발생하는 에러라고 하더라고요.C:\Users\사용자\.gradle\caches에 들어가서 캐시를 전부 삭제했습니다.그런데 위 그림이 계속 떠요.다른 extensions이나 이전 스프링 프로젝트 데이터를 전부 지우고, 구글에 나온 방법은 거의 다 해봤는데 며칠동안 해결을 못했습니다. cache.propertiesgradle.version=8.2.1 build.gradleplugins { id 'java' id 'org.springframework.boot' version '2.7.14' id 'io.spring.dependency-management' version '1.0.15.RELEASE' } group = 'shop.metacoding' version = '0.0.1-SNAPSHOT' java { sourceCompatibility = '11' } configurations { compileOnly { extendsFrom annotationProcessor } } repositories { mavenCentral() } dependencies { implementation 'org.springframework.boot:spring-boot-starter-web' compileOnly 'org.projectlombok:lombok' developmentOnly 'org.springframework.boot:spring-boot-devtools' annotationProcessor 'org.projectlombok:lombok' testImplementation 'org.springframework.boot:spring-boot-starter-test' } tasks.named('test') { useJUnitPlatform() } gradle-wrapper.propertiesdistributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists 살려주십셔
-
해결됨비전공자를 위한 진짜 입문 올인원 개발 부트캠프
커밋 메시지가 잘 이해 안됩니다
커밋 메시지가 뭔가요?git commit -m "project init" 에서"project init" 대신 다른 것을 써넣어도 작동하나요?"project init" 이 어떤 역할을 하는지 잘 모르겠습니다.
-
미해결쉽게 시작하는 쿠버네티스(v1.30) - {{ x86-64, arm64 }}
cm은 pod를 생성하기 위한 설정값을 만드는 역할을 하는 것이 맞나요?
질문 답변을 제공하지만, 강의 비용에는 Q&A는 포함되어 있지 않습니다. 다만 실습이 안되거나, 잘못된 내용의 경우는 알려주시면 가능한 빠르게 조치하겠습니다![질문 전 답변]1. 강의에서 다룬 내용과 관련된 질문인가요? [예 | 아니요]2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? [예 | 아니요]3. 질문 잘하기 법을 읽어보셨나요? [예 | 아니요](https://www.inflearn.com/blogs/1719)4. 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.[질문 하기]강의 정말 잘 듣고 있습니다.3.2 강의에서 kube-system의 구성요소 중 하나인 cm이 파드를 생성한다고 말씀해주셨는데,3.3 강의를 듣고 보니 컨테이너 런타임이 실제 파드를 생성하는 역할을 담당하는 것으로 이해했습니다. 그러면 cm은 파드를 만들기 위한 설정값을 만들어 놓는 역할을 한다고 이해해도 괜찮을까요?
-
미해결파이썬/장고 웹서비스 개발 완벽 가이드 with 리액트
makemigration, migrage 실행했는데 데이터베이스 테이블 생성이 안됩니다 ㅜㅜ
makemigration, migrate 실행했는데 데이터베이스 테이블 생성이 안됩니다 ㅜㅜsettings.py 입력,urls.py 입력,instagram 앱 안의urls.py입력,models.py입력모두 다 했는데 아래와 같이 터미널창에 뜹니다 ㅠㅠ