반응형
보안 뭐시기 하면서 연결이 안된다면..
entity class 하나 맹글어주고 application.yml 에 jpa 설정 추가해주면 해결 끝
application.yml
jpa:
hibernate:
ddl-auto: create-drop
show-sql: true
User.class
@Entity
public class User {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
}
반응형
'연구개발 > MSA' 카테고리의 다른 글
04. spring cloud config (0) | 2024.01.18 |
---|---|
gateway (0) | 2024.01.17 |
'io.netty:netty-resolver-dns-native-macos'. Use DEBUG level to see the full stack: java.lang.UnsatisfiedLinkError: failed to load the required native library (0) | 2024.01.15 |
03. API Gateway Service (0) | 2024.01.15 |
02. user service (0) | 2024.01.15 |