에러모음집
-
스프링 부트 에러 Execution failed for task에러모음집 2023. 1. 9. 10:57
https://milenote.tistory.com/63 [Intellij / 인텔리제이] 프로젝트 버전 안맞는 현상 ( Execution failed for task ':compileJava'. ) 원인 - intellij를 설정할 때 기본 jdk 버전에 차이 때문에 빌드 에러가 발생했다. 집 - jdk 11 회사 - jdk 1.8 해결 1. File > Project Settings > Project > Project SDK SDK 버전을 새로 다운로드 받아서 버전을 맞춘다. milenote.tistory.com 여기 티스토리 대로 한 다음 , 창 닫고 다시 시작하니 제대로 돌아갔다
-
스프링부트 에러 @PostMapping에러모음집 2023. 1. 9. 10:15
WARN 7012 --- [nio-8080-exec-1] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'POST' not supported] package com.example.firstproject.controller; import com.example.firstproject.dto.ArticleForm; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.GetMapping; import or..
-
함수 에러_내 임의대로 만든 함수에러모음집 2022. 8. 4. 21:52
def open_account(p): for i in p: print("새로운 계좌가 생성 되었습니다") open_account(10) C:\Users\katy2\anaconda3\python.exe C:/Users/katy2/Desktop/pyhton_gra/main.py Traceback (most recent call last): File "C:\Users\katy2\Desktop\pyhton_gra\main.py", line 6, in open_account(10) File "C:\Users\katy2\Desktop\pyhton_gra\main.py", line 2, in open_account for i in p: TypeError: 'int' object is not iterable Proce..
-
구구단 멍청한 에러에러모음집 2022. 7. 19. 09:45
j = 0 for j in range(1, 11): # j 가 아닌 i 를 넣어야 한다 i 가 정의 되지 않아서 에러 j = j + i print(j) C:\Users\ms\Desktop\python.exe "C:/Users/ms/Desktop/회사업무공부/파이썬_구구단/for 구구단.py" Traceback (most recent call last): File "C:\Users\ms\Desktop\회사업무공부\파이썬_구구단\for 구구단.py", line 3, in j = j + i NameError: name 'i' is not defined. Did you mean: 'id'? j = 0 for i in range(1, 11): j = j + i print(j)
-
초보자를 위한 파이썬 300제 09. 파이썬 함수 215에러모음집 2022. 7. 11. 11:28
1.내가 모르는 것 input의 개념혼동 2. string 매개 변수 사용 3. 문자열을 함수에서 사용 -형변환 에러 def print_with_smile(a, b): input(a) print(a + b) print_with_smile() C:\Users\HS\Desktop\python.exe "C:/Users/HS/Desktop/회사업무공부/python100제/211~ 220.py" Traceback (most recent call last): File "C:\Users\HS\Desktop\회사업무공부\python100제\211~ 220.py", line 5, in print_with_smile() TypeError: print_with_smile() missing 2 required position..
-
초보자를 위한 파이썬 300제 09. 파이썬 함수 214에러모음집 2022. 7. 11. 11:20
def 함수(a, b): print(a + b) 함수("안녕",3) C:\Users\HS\Desktop\python.exe "C:/Users/HS/Desktop/회사업무공부/python100제/211~ 220.py" Traceback (most recent call last): File "C:\Users\HS\Desktop\회사업무공부\python100제\211~ 220.py", line 4, in 함수("안녕",3) File "C:\Users\HS\Desktop\회사업무공부\python100제\211~ 220.py", line 2, in 함수 print(a + b) TypeError: can only concatenate str (not "int") to str Process finished with ..
-
초보자를 위한 파이썬 300제 09. 파이썬 함수 213에러모음집 2022. 7. 11. 11:13
def 함수(문자열): print(문자열) 함수() C:\Users\HS\Desktop\python.exe "C:/Users/HS/Desktop/회사업무공부/python100제/211~ 220.py" Traceback (most recent call last): File "C:\Users\HS\Desktop\회사업무공부\python100제\211~ 220.py", line 4, in 함수() TypeError: 함수() missing 1 required positional argument: '문자열' Process finished with exit code 1