Java(159)
-
STS에서 생성한 Spring boot 프로젝트 git에 등록하기
정상적인 경우# 프로젝트 디렉토리로 이동하여 Git 초기화git init# 원격 저장소 생성https://github.com/username/my-springboot-app.git# 프로젝트 Git에 등록# 변경 사항 추가 및 커밋git add .git commit -m "Initial commit"# 원격 저장소 연결git remote add origin https://github.com/username/my-springboot-app.git# 최초 pullgit pull origin main --allow-unrelated-histories# 최초 푸시git branch -M maingit push -u origin main rejected 오류 발생하는 경우# 현재 브랜치 확인 (main인지)git..
2025.08.14 -
Missing artifact io.confluent:kafka-avro-serializer:jar:7.6.1
Confluent Maven 저장소를 추가하지 않아서 발생하는 전형적인 문제해결 방법 ... confluent https://packages.confluent.io/maven/ io.confluent kafka-avro-serializer 7.6.1
2025.08.13 -
우분투에 JDK17 설치
sudo apt-get updatesudo apt-get install -y openjdk-17-jdksudo update-alternatives --config javasudo update-alternatives --config javacexport JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64export PATH="$JAVA_HOME/bin:$PATH"
2025.08.10 -
[YAML_SHOULD_ESCAPE] 경고
경고This key is used in a map and contains special characters. It is recommended to escape it by surrounding it with '[]' [YAML_SHOULD_ESCAPE] application.ymlapplication.yml# 경고가 발생하는 상태spring: kafka: properties: schema.registry.url: ${SCHEMA_REGISTRY_URL:http:/localhost:8081} # 경고를 조치한 경우spring: kafka: properties: '[schema.registry.url]': ${SCHEMA_REGISTRY_URL:http:/localho..
2025.07.15 -
application.yml이 기술된 패키지를 못 찾아서 서비스가 안되는 경우
application.yml producer: key-serializer: org.apache.kafka.common.serialization.StringSerializer value-serializer: io.confluent.kafka.serializers.KafkaAvroSerializer에러Description Resource Path Location Typeio.confluent:kafka-avro-serializer:jar:7.5.1 was not found in https://repo.maven.apache.org/maven2 during a previous attempt. This failure was cached in the local repository and r..
2025.07.13 -
STS에서 maven 프로젝트로 인식하게 하기
Project에서 Maven 메뉴가 나오지 않는 경우Project > 마우스 오른쪽 버튼 > Configure > Convert to Maven Project
2025.06.28