Spring Boot 프로젝트 실행 오류: Execution failed for task 해결 하기
·
🕵️에러 해결사
1. 에러 상황Spring 프로젝트를 실행하고 종료했을 때, 다음과 같은 에러가 뜨게 되었다. Execution failed for task ':~~.main()'. > Build cancelled while executing task ':~~.main()' * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. > Get more help at https://help.gradle.org. Deprecated Gradle features were used in this bu..
Spring Boot 프로젝트 실행 오류: Could not resolve all dependencies 해결하기
·
🕵️에러 해결사
1. 에러 상황Spring project를 생성하고 인텔리제이에서 실행 테스트를 하던 도중, 다음과 같은 에러가 발생했다.Could not resolve all dependencies for configuration ':compileClasspath'. Failed to calculate the value of task ':compileJava' property 'javaCompiler'. Cannot find a Java installation on your machine matching this tasks requirements: {languageVersion=21, vendor=any vendor, implementation=vendor-specific} for WINDOWS on x86_64. N..
백준 1764번 [듣보잡] 해결하기(C++)
·
🔓알고리즘/🌿백준
백준 1764: 듣보잡 [실버4]https://www.acmicpc.net/problem/1764 ✍️Point : 범위를 확인하기만약 다음과 같이 아무 생각 없이 이중 for문으로 풀게 된다면, 시간 초과를 마주할 수 있다. ??? : 배열로 입력 받고, 교집합이 있는지 이중 for문으로 확인하면 되지 않을까?#includeusing namespace std;int n,m;string s;vectornlisten;vectornsee;vectorret;int main(){ cin>>n>>m; for(int i=0;i>s; nlisten.push_back(s); } for(int i=0;i>s; nsee.push_back(s); } for(int i=0;i 그 이유는, 당연하게도 n과 m의 최대가 5..