안녕하세요 강사님. 현재 axios 이용해서 백엔드로 이미지 전송하기 강의 수강 중 npm i axios로 Axios 모듈 설치 후 다음과 같이 코드 작성, npm run start 후 제출 버튼 누를 때 계속하여 새로고침이 됩니다.. ㅠ 원래라면 preventDefault로 새로고침이 되지 않아야 할텐데 계속해서 새로고침이 되는 문제입니다. 혹시 문제가 뭘까요? ㅠ
무슨 소리인지 헷갈려서 ECS 직접 실습을 하려는데.. Q. 서버리스인 Fargate로 어떻게 ECS 클러스터를 서로 다른 여러 가용 영역에 사용자 임의로 각각 생성할 수 있는건가요? Q. 테스크를 n개 만들면 로드벨런서가 n개의 테스크를 번갈아가면서 사용하기 때문에 이것이 가용성을 보장한다는 것 인가요? ->이 n개의 테스크는 자동으로 서로 다른 가용영역에 생성되나요? ->그렇다면 테스크가 1개일 때는 가용성이 없는건가요? Q. 문제 조건이 '세 가지 인스턴스가 항상 같이 실행되야 한다는 것' 아닌가요? 세 개가 아닌 세 가지면, 응용 프로그램의 각자 다른 기능을 가진 인스턴스 인것 같은데 이것들을 각각 다른 가용 영역에서 뿔뿔이 실행하는 것이 가용성을 만족하는 것맞나요? 문제가 정확히 뭘 묻는지, A와 C가 구조적으로 어떻게 다른건지 확실하게 정리가 안돼요ㅠ
자바와 스프링 부트로 생애 최초 서버 만들기, 누구나 쉽게 개발부터 배포까지! [서버 개발 올인원 패키지]
위험한 컨텐츠라그런지 localhost 로 바뀌어버립니다. 어떻게 하면 이 사이트의 서비스를 이용할 수 있을까요? 다 허용으로 바꾸었는데도 그럽니다 ㅠㅠ ++보니까 제가 url에 일일이 넣어주면 이동이 되는데 아니면 local host 로 변경이 됩니다 이유가 뭘까요> ㅠㅠ
자바와 스프링 부트로 생애 최초 서버 만들기, 누구나 쉽게 개발부터 배포까지! [서버 개발 올인원 패키지]
안녕하세요 멘토님! 프로젝트앱을 다운받아 열었더니 빌드후에 다음과 같이 오류가 나타납니다.. 전에 프로젝트를 3.xx버전으로 했어서 이 경우에 java 17이상만 가능하기 때문에 java11을 사용하지 못해 나는 오류인것 같은데 어떻게 진행하면 될까요? problem occurred configuring root project 'library-app'. > Could not resolve all files for configuration ':classpath'. > Could not resolve org.springframework.boot:spring-boot-gradle-plugin:3.0.1. Required by: project : > org.springframework.boot:org.springframework.boot.gradle.plugin:3.0.1 > No matching variant of org.springframework.boot:spring-boot-gradle-plugin:3.0.1 was found. The consumer was configured to find a runtime of a library compatible with Java 8, packaged as a jar, and its dependencies declared externally, as well as attribute 'org.gradle.plugin.api-version' with value '7.5' but: - Variant 'apiElements' capability org.springframework.boot:spring-boot-gradle-plugin:3.0.1 declares a library, packaged as a jar, and its dependencies declared externally: - Incompatible because this component declares an API of a component compatible with Java 17 and the consumer needed a runtime of a component compatible with Java 8 - Other compatible attribute: - Doesn't say anything about org.gradle.plugin.api-version (required '7.5') - Variant 'javadocElements' capability org.springframework.boot:spring-boot-gradle-plugin:3.0.1 declares a runtime of a component, and its dependencies declared externally: - Incompatible because this component declares documentation and the consumer needed a library - Other compatible attributes: - Doesn't say anything about its target Java version (required compatibility with Java 8) - Doesn't say anything about its elements (required them packaged as a jar) - Doesn't say anything about org.gradle.plugin.api-version (required '7.5') - Variant 'mavenOptionalApiElements' capability org.springframework.boot:spring-boot-gradle-plugin-maven-optional:3.0.1 declares a library, packaged as a jar, and its dependencies declared externally: - Incompatible because this component declares an API of a component compatible with Java 17 and the consumer needed a runtime of a component compatible with Java 8 - Other compatible attribute: - Doesn't say anything about org.gradle.plugin.api-version (required '7.5') - Variant 'mavenOptionalRuntimeElements' capability org.springframework.boot:spring-boot-gradle-plugin-maven-optional:3.0.1 declares a runtime of a library, packaged as a jar, and its dependencies declared externally: - Incompatible because this component declares a component compatible with Java 17 and the consumer needed a component compatible with Java 8 - Other compatible attribute: - Doesn't say anything about org.gradle.plugin.api-version (required '7.5') - Variant 'runtimeElements' capability org.springframework.boot:spring-boot-gradle-plugin:3.0.1 declares a runtime of a library, packaged as a jar, and its dependencies declared externally: - Incompatible because this component declares a component compatible with Java 17 and the consumer needed a component compatible with Java 8 - Other compatible attribute: - Doesn't say anything about org.gradle.plugin.api-version (required '7.5') - Variant 'sourcesElements' capability org.springframework.boot:spring-boot-gradle-plugin:3.0.1 declares a runtime of a component, and its dependencies declared externally: - Incompatible because this component declares documentation and the consumer needed a library - Other compatible attributes: - Doesn't say anything about its target Java version (required compatibility with Java 8) - Doesn't say anything about its elements (required them packaged as a jar) - Doesn't say anything about org.gradle.plugin.api-version (required '7.5')
자바와 스프링 부트로 생애 최초 서버 만들기, 누구나 쉽게 개발부터 배포까지! [서버 개발 올인원 패키지]
연결이 위험하다면서 자꾸 제 local로 바뀌네요 전 여기서 해결하고싶은데 ... 어떻게 하면 다음페이지인 인덱스들도 접속 가능하게 할까요?? 그 url에서 http://localhost:8081/start.html 이런식으로 url 이 변경되며 화면이 전환되는 스타일인데 그게 안됩니다 ㅠㅠ
자바와 스프링 부트로 생애 최초 서버 만들기, 누구나 쉽게 개발부터 배포까지! [서버 개발 올인원 패키지]
강사님 화면을 보면 addTwoNumbers, multiplyTwoNumbers 같은 메서드명 (메서드가 맞나요.. 제가 자바가 아직 서툴러서😅) 이 노란색으로 표시되는데 저는 회색으로 표시됩니다. 이거 글자 색에 어떤 의미가 따로 있나요? 그리고 터미널에도 강사님은 INFO나 WARN 같은 글자들이 컬러로 표시되는데 저는 그냥 다 하얗게 보여서요. 강사님과 똑같이 세팅하려면 어떻게 해야 하나요? 검색해서 settings에 있는 semantic highlighting 적용해 봤는데 똑같이 안되는 거 같아요
강사님, 안녕하세요 수업 강의 질문드립니다. 강의대로 따라했지만 영상과 동일한 결과가 나오지 않는 부분이 많아서 문의드립니다. 일단 /var 아래 폴더가 www 폴더가 설치되어 있지 않아서 ssh창에서 다시 httpd를 설치했습니다. 그리고 두번째 root전환 시 비밀번호를 물어봐서 root비밀번호를 설정해줬습니다. 세번째는 index.php 파일을 만들고 public ip로 접속해보니 index.php 파일 내용이 아닌 it works! 라는 페이지가 뜹니다.. 이건 왜그럴까요? ㅠㅠ 확인 부탁드립니다. 감사합니다.
자바와 스프링 부트로 생애 최초 서버 만들기, 누구나 쉽게 개발부터 배포까지! [서버 개발 올인원 패키지]
안녕하세요. 강의 보면서 잘 따라가는 중인데요 인텔리제이 화면 모습이 강사님 화면이랑 좀 다른데 혹시 테마가 달라서 그런 걸까요? 강사님 화면 제 화면 아 그리고 강사님 화면 보면 "/add" 앞에 지구 모양이 생겨있는데 저는 이런게 안생겨요.. 이건 뭔가 설정을 해줘야하는건가요? 그리고 지구 모양이 있는게 무슨 의미인가요?
좋은 강의 정말 감사드립니다. 호돌맨님 강의덕분에 기존에 공부했던 지식들 정리도 하고 더 좋은 설계가 어떤건지 잘 배우고 있습니다. 제가 예외처리2 강의를 보고 컨트롤러 테스트를 하다가 게시글 작성 실패케이스에서 오류가 생겨서 질문드립니다. PostController PostCreate PostControllerTest 글 작성 요청 시 제목, 내용 모두 null 인 케이스 테스트입니다. 이 테스트에서 실패합니다. 로그는 아래와 같습니다. 응답 바디에도 아무것도 오지 않습니다. 로그를 쫓아서 ErrorResponse 에 브레이크 포인트를 찍어봤습니다. ErrorResponse 여기서 validation 이 null로 잡힙니다. PostControllerAdvice 이쪽 ExceptionHandler 작성할 시점에 생성자에 validation 을 매개변수로 받지 않았을땐 오류가 발생하지 않았는데 validation 을 매개변수로 받고 나서 오류가 생기는거면 @Builder 가 ErrorResponse 의 validation 초기화를 무시하고 null 값으로 생기는 현상 같습니다. 그래서 따로 빌더 안붙인 validation 을 받지 않는 생성자를 만드니 잘 돌아갑니다. 그런데 강의 마지막에 전체 테스트 한번 돌리고 마무리 하신것 같은데 호돌맨님은 어떻게 테스트 실패가 안뜬건지 궁금합니다. 그리고 혹시 더 좋은 방법이 있는지 방향을 알려주시면 감사하겠습니다.
ImageList 컴포넌트 안에 있는 useEffect 종속배열 안에 images를 넣게 되면 images가 변경될 때마다 get을 호출해서 사진을 불러오기 때문에 결과적으로 사진을 업로드하면 리스트에 바로 보여지긴 하는데 안 좋은 방법인가요? 선생님께서 ContextAPI를 사용해 관리하는 것과 제가 생각한 방법의 장단점이 궁금해요 const [images, setImages] = useState([]); useEffect(() => { axios .get("/images") .then((res) => setImages(res.data)) .catch((err) => console.log(err)); }, [images]); // images 추가!