본문 바로가기

오류74

the import javax.servlet cannot be resolved https://stackoverflow.com/questions/4076601/how-do-i-import-the-javax-servlet-jakarta-servlet-api-in-my-eclipse-project How do I import the javax.servlet / jakarta.servlet API in my Eclipse project? I want to develop with Servlets in Eclipse, but it says that the package javax.servlet / jakarta.servlet cannot be resolved. How can I add javax.servlet / jakarta.servlet package to my Eclipse proj.... 2022. 12. 3.
ORA-03115: 지원되지 않은 네트워크 데이터 유형 또는 표현이 있습니다 오류 : ORA-03115: 지원되지 않은 네트워크 데이터 유형 또는 표현이 있습니다 원인 : - Statement 형식 : Statement stmt = con.createStatement(); ResultSet rs = stmt.executeQuery(sql); - PreparedStatement 형식 : PrepareStatement pstmt = conn.prepareStatement(sql); ResultSet rs = pstmt.executeQuery(); 해결 : preparedsteatement(query); 괄호 안의 query 삭제 2022. 12. 1.
GitBash_Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Integrate the remote changes (e.g. hint: 'git pull ...') before pushing again. 에러 : failed to push some refs to '레파지토리 주소' Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Integrate the remote changes (e.g. hint: 'git pull ...') before pushing again. 원인 : push 하려고 할 때 원격 저장소와 로컬 저장소 내용이 같지 않아서 발생 원격저장소에서 파일을 삭제해버림 해결 : git pull origin master : 작업한 내용과 합쳐서 올리거나 git pull --rebase origin master 후 git push origin master 하면 다시.. 2022. 11. 17.
GitBash_error: src refspec master does not match any, error: failed to push some refs to 'https://github.com/y.git' git commit 없이 push 하려고 해서 발생 -다시 remote 하려고 함 $ git remote add origin https://github.com/yourim0/HTMLCSS.git error: remote origin already exists. - remote 삭제 $ git remote remove origin $ git remote add origin https://github.com/yourim0/HTMLCSS.git $ git remote -v 그래도 안됨 1. 폴더 내 .git 삭제 2. 다시 git init 3. git add . 4. git commit -m "메세지" 5. $ git remote add origin https://github.com/yourim0/HTMLCS.. 2022. 10. 31.
ERROR 1452 (23000): Cannot add or update a child row: a foreign key constraint fails (외래키 지정) ERROR 1452 (23000): Cannot add or update a child row: a foreign key constraint fails (`testdb`.`#sql-1_9`, CONSTRAINT `CarCustomer_ibfk_1` FOREIGN KEY (`CustomerId`) REFERENCES `Customer` (`CustomerId`)) 발생원인 : 외래 키로 지정하고자 했던 Customer 테이블의 CustomerId 값과 CarCustomer의 CustomerId 데이터가 달라서 발생 해결: 자식 테이블 CarCustomer 데이터 삭제 후 지정 2022. 10. 25.
GitBash_Everything up-to-date https://kotlinworld.com/m/281 [Git] git restore 사용해 파일 단위 제어하기(git add 취소, 특정 커밋으로 되돌리기 등) git restore이란? git checkout은 하나의 키워드에 많은 기능이 들어있다. 때문에 checkout의 브랜치와 관련된 기능이 git switch 명령어로 새로 나오게 됐다. git restore 또한 새로 나온 키워드로 git의 파일 조 kotlinworld.com $ git restore --staged Sqldate1019.sql git을 조작하다 보면 파일을 잘못 add 할 때가 있다. 이때 add된 파일은 Staging Area로 올라가게 되는데, 이를 다시 Unstaged Area로 옮기기 위한 키워드가 바로 git re.. 2022. 10. 19.