Server, Servlet / error: cannot find symbol 에러문구HelloServlet.java:3: error: cannot find symbol의미 현재 패키지를 모른다.해결방법 import 해준다.Java 확장 -> javax import javax.servlet.http.HttpServlet;import javax.servlet.http.HttpServletRequest;import javax.servlet.http.HttpServletResponse; 오류 해결 완료~ 오류/Server 2024.09.09
JQuery, load() - url 읽어오기 / html 파일 내용 읽어서 보기 HTML동적 드롭다운 JavaScript// 파일 로드 1 depth$('#category1').load('../txt/category-data.html #category1-1', function(){ $(this).show()})//2 depth$(document).on('change', '#category1 > select', function(){ $('#category2, .console').empty(); $('#category3').empty(); //data-target의 속성을 꺼내와라 var target = $(this).find('option:selected').attr('data-target'); console.log('target = ' + target); $('#.. 오류/JQuery 2024.08.27
JQuery, Checkbox 전체 선택/해제 Checkbox 전체 선택/해제 전체선택 축구 야구 농구오류 1$('#all_check').change(function(){ $('.hobby_check').attr('checked', true); }); 전체 체크는 되는데 해제가 적용이 되지 않는다. 이유 : #all_check가 false가 되어도 checked가 true이기 때문에 해결방안 all_check의 상태에 따라 변경되도록 한다.$('#all_check').change(function(){ let isChk = $(this).is(':checked') //checked가 있냐 없냐 (true, false) $('.hobby_check').attr('checked', isChk);}) all_check가 true가 되어 있으면 hobb.. 오류/JQuery 2024.08.26
Git, pull 오류 (Already up to date) 오류사항 > git pull origin main From https://github.com/계정이름/파일이름 * branch main -> FETCH_HEAD Already up to date. 이러고 안올라간다. 이유 버전을 여러 개 쌓아놔서 다운받을 때 오류가 뜨게된다.해결방법 받지 않아서 쌓여있던 버전들 말고 가장 최신꺼로 땡겨서 받아줘야함 > git fetch --all or> git fetch origin > git reset --hard origin/main 버전이 최신으로 잘 되어있는지 확인> git log --online 다시 다운받기> git pull origin main 잘 다운받아진다!! * fetch만 해도 되는 경우도 있다 오류/Git 2024.08.06
Git, 토큰 만들기(Access Denied 에러) 에러 사항 git push origin main Username for 'http://github.com' : Password for 'https://hyeon@github.com' : push를 하려고 하면 이렇게 이름과 비밀번호를 입력하라고 뜬다.계정 이름과 비밀번호를 넣으면 되는것 처럼 보이지만 안된다... Access Denied 에러 이유 1. 계정 비밀번호를 직접 인증하는 기능이 제거되어 토큰으로 인증해야한다. 2. GitHub 계정이 등록되어 있지 않을 상태면 Commit 할때 오류가 발생된다. 해결 토큰 생성하기1. github.com에서 [sttings] 클릭 2. 왼쪽 하단에 [Developer settings] 클릭 3. 왼쪽 하단에 [Personal access tokens]에.. 오류/Git 2024.08.06
Oracle, Lock 걸린 계정 Lock 풀기 / 계정 삭제 계정 Lock 계정 비밀번호 3회 이상 틀려서 계정 Lock 걸렸다.. 계정 별 상태 조회하기SELECT USERNAME, ACCOUNT_STATUS, LOCK_DATE FROM DBA_USERS; 계정이 잠겨있을 경우 LOCKED 로 표시되어 있다.계정 Lock 풀기 Lock을 풀려면 관리자 계정으로 로그인 후 사용자 계정에 걸린 Lock을 풀어줘야한다. 방법1. 비밀번호 알고 있는 경우2. 비밀번호 모르고 있는 경우 1. 비밀번호 알고 있는 경우 Lock 풀기 1.C > sqlplus system/[비밀번호]또는 C > sqlplus "/as sysdba" 로 Oracle 로그인 한다.2. 계정 LOCK 해제 SQL > ALTER USER [계정명] ACCOUNT UNLOCK IDENTIFIED.. 오류/Oracle 2024.07.26
Oracle, hr 계정 오류 수정 설치 오류 문구 SP2-0310: unable to open file "__SUB__CWD__/human_resources/hr_cre.sql"SP2-0310: unable to open file "__SUB__CWD__/human_resources/hr_popul.sql"SP2-0310: unable to open file "__SUB__CWD__/human_resources/hr_idx.sql"SP2-0310: unable to open file "__SUB__CWD__/human_resources/hr_code.sql"SP2-0310: unable to open file "__SUB__CWD__/human_resources/hr_comnt.sql"SP2-0310: unable to open file.. 오류/Oracle 2024.07.25