inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

묻고 답해요

173만명의 커뮤니티!! 함께 토론해봐요.

오류 질문드립니다.

미해결

Execution failed for task ':JpashopApplication.main()'. > Build cancelled while executing task ':JpashopApplication.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 build, making it incompatible with Gradle 9.0. You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. For more on this, please refer to https://docs.gradle.org/8.7/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. BUILD FAILED in 1m 6s 3 actionable tasks: 1 executed, 2 up-to-date JpashopApplication을 실행하면, 이런 오류가 나오는데 어떻게 해결하나요?

  • 강의
  • 김영한강사님
  • 오류
  • 질문
  • 에러
  • 실행
whdk333 댓글 1 좋아요 0 조회수 589

엉뚱한 코드 실행 될때

해결됨

나도코딩의 자바 기본편 - 풀코스 (20시간)

초보적이 실수 같은데 오랜기간 해결법을 몰라 질문드립니다. 상황1: 코드A 와 코드B를 같은 폴더에 작성합니다. 코드B에는 에러가 있습니다. 코드 A 를 실행 (ctrl+shift+F10) 시키면 코드B에 에러가 있다고 메세지를 보냅니다. 상황2: 코드A는 패키지A에 있고 같은 레벨에 패키지B가 있고 에러가 있는 코드B가 있습니다. 코드A를 실행 시키면 다른 패키지에 있는 코드B에 에러가 있다고 메세지를 보냅니다. 분명한것은 A 와 B 사이에는 아무 연관성이 없습니다. 아무 파일로 실행키켜 보시면 같은 상황이 연출 될것입니다. 왜그럴까요? 가끔씩 정말 귀찮게 하는 에러인데 파일을 코치거나 지우는 방법외에는 아직 해결책을 찾지 못했습니다. 도와주세요^^

  • java
  • 객체지향
  • 실행
  • run
smhanphd 댓글 1 좋아요 0 조회수 436

에러가 발생하여 질문 작성합니다.

미해결

[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!

정상적인 실행이 안 되어 위 두 이미지 내용처럼 gradle 버전을 변경하였더니 정상 실행되었습니다. 다만 하단 이미지와 같이 경고문구가 발생합니다. 위 경고문구를 확인 후 어떻게 해결해야 경고문구가 사라지는에 대한 답변을 듣고 싶습니다. 감사합니다.

  • 실행
  • 에러
  • Flutter
  • 클론코딩
귀염둥이 댓글 1 좋아요 0 조회수 630

칼리리눅스 실행이 안됩니다.

미해결

칼리리눅스 연습용 파일 반디집으로 압축풀어서 버추얼박스열어서 설정맞추고 실행하니간 실행이 안된다고 합니다.

  • 실행
ehdrmfahd 댓글 0 좋아요 0 조회수 282

실행이 안되요

미해결

[개정판 2023-11-27] Spring Boot 3.x 를 이용한 RESTful Web Services 개발

그동안 잘 연습하고 있었는뎅 갑자기 실행 시키면 2021-09-28 23:40:44.477 INFO 3339 --- [ionShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... 2021-09-28 23:40:44.483 INFO 3339 --- [ionShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. 실행이 안됩니다.

  • 실행
  • rest-api
  • spring-boot
신헤정 댓글 1 좋아요 0 조회수 294

@SpringBootApplication 을 써서 AutoAppConfig를 만들 필요 없을 때

미해결

스프링 핵심 원리 - 기본편

[질문 템플릿] 1. 강의 내용과 관련된 질문인가요? (예) 2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예) 3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예) [질문 내용] 1) 결국 컴포넌트 스캔만 이용한다고 했을 때, @SpringBootApplication에 이미 @Configuration이 있으니까, 굳이 메인메소드에서 ApplicationContext ac = new AnnotationConfigApplicationContext(AppConfig.class);를 쓰지 않아도 된다는 거죠? 2) 위와 같은 상황에서 @Autowired로 등록이 되어있다면, 메인 메소드에서 OrderService 불러올 때는 어떻게 쓰면 될까요? ApplicationContext ac = new AnnotationConfigApplicationContext(AppConfig.class); 없으면 OrderService orderService = new OrderService(?????) 이 ????부분에 MemberService와 DiscountPolicy의 구현체가 어떤 형태로 들어가면 될까요?

  • 실행
  • spring
  • oop
DONGSOO KIM 댓글 1 좋아요 0 조회수 344

실행이 안됩니다.

미해결

파이썬 무료 강의 (활용편1) - 추억의 오락실 게임 만들기 (3시간)

작성한 코드 import pygame pygame . init () # 초기화 (반드시 필요) # 화면 크기 설정 screen_width = 480 # 가로 크기 screen_height = 640 # 세로 크기 screen = pygame .display.set_mode(( screen_width , screen_height )) # 화면 타이틀 설정 pygame .display.set_caption( "dddd" ) # 게임 이름 # FPS clock = pygame .time.Clock() # 배경 이미지 불러오기 background = pygame .image.load( "C:/Users/zxc65/OneDrive/바탕 화면/PythonWorkspace/pygame_basic/background.png" ) # 캐릭터(스프라이트) 불러오기 character = pygame .image.load( "C:/Users/zxc65/OneDrive/바탕 화면/PythonWorkspace/pygame_basic/character.png" ) character_size = character .get_rect().size # 이미지의 크기를 구해옴 character_width = character_size [ 0 ] # 캐릭터의 가로 크기 character_height = character_size [ 1 ] # 캐릭터의 세로 크기 character_x_pos = ( screen_width / 2 ) - ( character_width / 2 ) # 화면 가로의 절반 크기에 해당하는 곳에 위치 (가로) character_y_pos = screen_height - character_height # 화면 세로 크기 가장 아래에 해당하는 곳에 위치 (세로) # 이동할 좌표 to_x = 0 to_y = 0 # 이동 속도 character_speed = 0.6 # 적 캐릭터 enemy = pygame .image.load( "C:/Users/zxc65/OneDrive/바탕 화면/PythonWorkspace/pygame_basic/enemy.png" ) enemy_size = enemy .get_rect().size # 이미지의 크기를 구해옴 enemy_width = enemy_size [ 0 ] # 캐릭터의 가로 크기 enemy_height = enemy_size [ 1 ] # 캐릭터의 세로 크기 enemy_x_pos = ( screen_width / 2 ) - ( enemy_width / 2 ) # 화면 가로의 절반 크기에 해당하는 곳에 위치 (가로) enemy_y_pos = ( screen_height / 2 ) - ( enemy_height / 2 ) # 화면 세로 크기 가장 아래에 해당하는 곳에 위치 (세로) # 이벤트 루프 running = True # 게임이 진행중인가? while running : dt = clock .tick( 60 ) # 게임화면의 초당 프레임 수를 설정 for event in pygame .event.get(): # 어떤 이벤트가 발생하였는가? if event .type == pygame . QUIT : # 창이 닫히는 이벤트가 발생하였는가? running = False # 게임이 진행중이 아님 if event .type == pygame . KEYDOWN : # 키가 눌러졌는지 확인 if event .key == pygame . K_LEFT : # 캐릭터를 왼쪽으로 to_x -= character_speed # to_x = to_x - 5 elif event .key == pygame . K_RIGHT : # 캐릭터를 오른쪽으로 to_x += character_speed elif event .key == pygame . K_UP : # 캐릭터를 위로 to_y -= character_speed elif event .key == pygame . K_DOWN : # 캐릭터를 아래로 to_y += character_speed if event .type == pygame . KEYUP : # 방향키를 때면 멈춤 if event .key == pygame . K_LEFT or event .key == pygame . K_RIGHT : to_x = 0 elif event .key == pygame . K_UP or event .key == pygame . K_DOWN : to_y = 0 character_x_pos += to_x * dt character_y_pos += to_y * dt # 가로 경계값 처리 if character_x_pos < 0 : character_x_pos = 0 elif character_x_pos > screen_width - character_width : character_x_pos = screen_width - character_width # 세로 경계값 처리 if character_y_pos < 0 : character_y_pos = 0 elif character_y_pos > screen_height - character_height : character_y_pos = screen_height - character_height # 충돌 처리를 위한 rect 정보 업데이트 character_rect = character .get_rect() character_rect .left = character_x_pos character_rect .top = character_y_pos enemy_rect = enemy .get.rect() # enemy_rect.left = enemy_x_pos # enemy_rect.top = enemy_y_pos # 충돌 체크 if character_rect .colliderect( enemy_rect ): print ( "충돌했어요" ) running = False screen .blit( background , ( 0 , 0 )) # 배경 그리기 screen .blit( character , ( character_x_pos , character_y_pos )) # 캐릭터 그리기 screen .blit( enemy , ( enemy_x_pos , enemy_y_pos )) # 적 그리기 pygame .display.update() # 게임화면을 다시 그리기 # pygame 종료 pygame . quit () 터미널 출력 File "c:/Users/zxc65/OneDrive/바탕 화면/PythonWorkspace/pygame_basic/6_collision.py", line 88, in <module> enemy_rect = enemy.get.rect() AttributeError: 'pygame.Surface' object has no attribute 'get' PS C:\Users\zxc65\OneDrive\바탕 화면\PythonWorkspace> 싱행을 하면 꺼집니다 5.frame per second py는 작동 잘됩니다. 틀린 부분이 있으면 지적 부탁드립니다. 또는 자체의 문제라면 이 진도까지의 파일 부탁드립니다. email: dbxbqm6531@gmail.com (영어로 한글 자판 그대로 유튜브6531@gmail.com)

  • 실행
  • GUI
  • pygame
  • python
가드올려 댓글 0 좋아요 0 조회수 336

main 함수 실행 버튼

미해결

스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술

안녕하세요. 프로젝트를 열고 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'.

  • 실행
  • java
  • run
  • MVC
  • spring
  • spring-boot
김소젬 댓글 3 좋아요 0 조회수 1162

인기 태그

인프런 TOP Writers

주간 인기글