당신을 다른 사람과 비교하지 말고, 오직 어제의 당신하고만 비교하라.
close
프로필 배경
프로필 로고

당신을 다른 사람과 비교하지 말고, 오직 어제의 당신하고만 비교하라.

    • 전체글 (92)
      • 서울살이 정보 (6)
      • Programming (64)
        • spring (7)
        • java (10)
        • DB (1)
        • javascript (4)
        • react (10)
        • error (7)
        • toy_project (12)
        • trouble_shooting (11)
      • it 지식, 정보 (20)
  • mode_edit_outline글작성
  • settings환경설정
  • 홈
  • 태그
  • 방명록
  • 글쓰기
  • 관리
  • 로그인
[JAVA] Mac os m2 JAVA 개발환경 구축

[JAVA] Mac os m2 JAVA 개발환경 구축

Mac os에서 JAVA 개발환경을 구축해보자! 1. JAVA 설치https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html Java Archive Downloads - Java SE 17WARNING: Older versions of the JDK are provided to help developers debug issues in older systems. They are not updated with the latest security patches and are not recommended for use in production. For production use Oracle recommends downloading t..

  • format_list_bulleted Programming/java
  • · 2024. 9. 7.
  • textsms
이클립스 콘솔 영영 사라져서 안돌아올때

이클립스 콘솔 영영 사라져서 안돌아올때

이클립스 Console 콘솔이 사라져서 window - Show View - console 눌러도 안돌아올때가 있다. 그럴땐 Window - Perspective - Reset Perspective 하면 이클립스에 켜있던 창 셋팅이 초기화 되면서 돌아온다.

  • format_list_bulleted Programming
  • · 2023. 12. 29.
  • textsms
javascript ?. Optional chaining

javascript ?. Optional chaining

언제? 존재하지 않는 메서드를 호출 할때 사용할 수 있다. const str = null; console.log(str?.indexOf('a')); //undefined 에러를 리턴하는 대신 undefined를 리턴한다. ?.를 사용하지 않았을때 const str = null; if(str.indexOf('a') > 0){ console.log('얏호'); }else{ console.log('유후'); } "TypeError: Cannot read properties of null (reading 'indexOf') at decujogaba.js:3:8 at https://static.jsbin.com/js/prod/runner-4.1.8.min.js:1:13924 at https://static.jsb..

  • format_list_bulleted Programming/javascript
  • · 2023. 12. 29.
  • textsms
[JAVA] 문자열 숫자만 남기고 다 제거, replaceAll

[JAVA] 문자열 숫자만 남기고 다 제거, replaceAll

문자열 숫자만 남기고 다 제거해버림 str.replaceAll("[^0-9]", "");

  • format_list_bulleted Programming/java
  • · 2023. 2. 27.
  • textsms
form.serialize() 할때 trim() 공백제거 사용

form.serialize() 할때 trim() 공백제거 사용

이게 제일 간편하다. serialize() 함수 사용하기 전에 전체적으로 trim 없애주기 $('input, textarea').each(function(){ $(this).val(jQuery.trim($(this).val())); }); 출처 https://stackoverflow.com/questions/218794/is-there-a-way-to-use-jquerys-serialize-form-fields-and-trim-the-value-in-the-f Is there a way to use jQuery's serialize form fields and trim the value in the fields? I have a form that uses jQuery to submit an ajax po..

  • format_list_bulleted Programming/javascript
  • · 2023. 2. 24.
  • textsms
[thymleaf] 타임리프 키값이 없을때 #maps.containsKey()

[thymleaf] 타임리프 키값이 없을때 #maps.containsKey()

Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/quality/qualityInspectionRequestList.html]")] with root cause org.springframework.expression.spel.SpelEvaluationException: EL1..

  • format_list_bulleted Programming/trouble_shooting
  • · 2023. 2. 24.
  • textsms
[Spring] 배치(Batch) 프로그램(일괄처리)

[Spring] 배치(Batch) 프로그램(일괄처리)

* 스프링부트에는 쿼츠 라이브러리가 들어가있다. ​ 배치 프로그램 컴퓨터 프로그램 흐름에 따라 순차적으로 자료를 처리하는 방식일괄적으로 대량건을 처리하는 프로그램. 요청이 아닌 정해진 일정 시간에 실행되는 프로그램. 많은 데이터양을 쿼리로 한꺼번에 보여주기 위해서는 상당한 시간이 소요된다. -> 데이터를 정리해서 보여주기 위해 배치 프로그램을 쓴다. 또는 데이터를 정리를 해야할때 DB, shell 스크립트(OS), Server Language에서 처리 가능 ​ ​ 스프링 부트에서의 배치 @EnableScheduling-> 스프링 부트 파일(시작파일)에 어노테이션 추가 배치 전용 java 파일에 @component 어노테이션 추가하여 빈등록 @Scheduled(cron=“식”) -> 배치 java 파일의 ..

  • format_list_bulleted Programming/spring
  • · 2023. 2. 23.
  • textsms
[배포오류] No compiler is provided in this environment

[배포오류] No compiler is provided in this environment

jre의 경로를 보이는 바와 같이 jdk안의 jre로 경로를 잡아주면 해결된다. ​

  • format_list_bulleted Programming/trouble_shooting
  • · 2023. 2. 22.
  • textsms
[Mybaits] 비교연산자, 특수기호 부등호 처리 <=, <, >=, >

[Mybaits] 비교연산자, 특수기호 부등호 처리 <=, <, >=, >

Mybatis에선 = & & " " 2. 사용 SELECT USER FROM USERTABLE WHERE NUM 5 이렇게 특수문자 쪽에만 감싸줄 수가 있고 10 ]]> 이렇게 쿼리 전체에 감싸는 방법도 있습니다. 그러나 이 방법은 정적 쿼리에만 사용해야합니다. *주의할 점: CDATA안에서는 동적 SQL 사용 불가

  • format_list_bulleted Programming/error
  • · 2023. 2. 20.
  • textsms
[Tibero] Expression is not in a GROUP BY clause.

[Tibero] Expression is not in a GROUP BY clause.

에러 ELECT 문에 아스테리스크를 쓰고 GROUP BY를 쓰면 아스테리스크가 모든 컬럼을 가져오는 뜻이어도 오류가 난다. Expression is not in a GROUP BY clause. 문제코드 SELECT * FROM USER GROUP BY AGE 해결법 명확하게 필요한 컬럼을 써준다 SELECT AGE FROM USER GROUP BY AGE

  • format_list_bulleted Programming/error
  • · 2023. 2. 16.
  • textsms
  • 1
  • 2
  • 3
  • 4
  • ···
  • 7
반응형
공지사항
  • 前 블로그
카테고리
  • 전체글 (92)
    • 서울살이 정보 (6)
    • Programming (64)
      • spring (7)
      • java (10)
      • DB (1)
      • javascript (4)
      • react (10)
      • error (7)
      • toy_project (12)
      • trouble_shooting (11)
    • it 지식, 정보 (20)
최근 글
인기 글
최근 댓글
태그
  • #mybatis비교연산자처리
  • #mac이클립스
  • #챗gpt사용
  • #챗gpt
  • #챗gpt용량
  • #리액트
  • #평생교육바우처온라인발급
  • #정보처리기사
  • #자격증
  • #ChatGPT
전체 방문자
오늘
어제
전체
250x250
Copyright © 쭈미로운 생활 All rights reserved.
Designed by JJuum

티스토리툴바