초보적이 실수 같은데 오랜기간 해결법을 몰라 질문드립니다. 상황1: 코드A 와 코드B를 같은 폴더에 작성합니다. 코드B에는 에러가 있습니다. 코드 A 를 실행 (ctrl+shift+F10) 시키면 코드B에 에러가 있다고 메세지를 보냅니다. 상황2: 코드A는 패키지A에 있고 같은 레벨에 패키지B가 있고 에러가 있는 코드B가 있습니다. 코드A를 실행 시키면 다른 패키지에 있는 코드B에 에러가 있다고 메세지를 보냅니다. 분명한것은 A 와 B 사이에는 아무 연관성이 없습니다. 아무 파일로 실행키켜 보시면 같은 상황이 연출 될것입니다. 왜그럴까요? 가끔씩 정말 귀찮게 하는 에러인데 파일을 코치거나 지우는 방법외에는 아직 해결책을 찾지 못했습니다. 도와주세요^^
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! (스크린샷이 있으면 더더욱 좋습니다) - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 선생님 화면에서는 한 셀을 실행하면 s3, s4 둘다 출력되는데요... 제 화면에서는...아래와 같이 두번째 s4에 대해서만 출력을 하는데 왜 그런지 아시나요...ㅠㅠ
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 이런 오류가 뜨는데, 재설치도 해보고 파일 경로도 바꿔서 해봤는데 해결이 안됩니다. 저장도 제대로 되어있고해도 안되는 이유가 뭘까요? ㅠㅠ
안녕하세요. 프로젝트를 열고 HelloSpringApplication.java의 main함수를 실행시키고 싶은데 함수 좌측에 실행버튼이 안뜹니다. Configurations에서 Application을 추가하여 main class를 지정하려고해도 해당 main 함수를 찾을 수 없습니다.(아래사진) 아무설정 없이 기본으로 사진과 같이 settings.gradle의 해당프로젝트를 run하면 아래와 같이 출력됩니다. 실행설정을 어떻게 해야할까요? rootProject.name = 'hello-spring' 오후 3:46:51: Executing task ' --scan --scan --scan'... > Task :help Welcome to Gradle 6.8.3. To run a build, run gradle <task> ... To see a list of available tasks, run gradle tasks To see a list of command-line options, run gradle --help To see more detail about a task, run gradle help --task <task> For troubleshooting, visit https://help.gradle.org BUILD SUCCESSFUL in 922ms 1 actionable task: 1 executed Publishing a build scan to scans.gradle.com requires accepting the Gradle Terms of Service defined at https://gradle.com/terms-of-service. Do you accept these terms? [yes, no] yes Gradle Terms of Service accepted. Publishing build scan... A network error occurred. A valid SSL connection could not be established. This is likely due to the server presenting an invalid or untrusted certificate. Please consult the following URL for more information: https://gradle.com/help/plugin-ssl If you require assistance with this problem, please report it via https://gradle.com/help/plugin and include the following information via copy/paste. ---------- Gradle version: 6.8.3 Plugin version: 3.5 Request URL: https://scans-in.gradle.com/scans/publish/gradle/3.5/token Request ID: a5cf95a0-2899-469e-9927-20c63a7a403f Exception: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target ---------- 오후 3:47:05: Task execution finished ' --scan --scan --scan'.