본문 바로가기
SMALL

오류해결5

[오류해결]gcc.exe: error: {파일주소}: No such file or directorygcc.exe: fatal error: no input filescompilation terminated. 1. 오류발생 { "label": "save and compile for C", "command": "gcc", "args": [ "${file}", "-o", "${fileDirname}/${fileBasenameNoExtension}" ], "group": "build", "problemMatcher": { "fileLocation": [ "relative", "${workspaceRoot}" ], "pattern": { "regexp": "^(.*):(\\d+):(\\d+):\\s+(warning error):\\s+(.*)$", "file": 1, "line": 2, "column": 3, "severity": 4, "message": 5 } } }, { "label": "execute", "co.. 2024. 3. 27.
[오류해결]Exception java.lang.ExceptionInInitializerError: Cannot access defaults field of Properties [in thread "Worker-1: Building"] 문제 server 실행시 Exception java.lang.ExceptionInInitializerError: Cannot access defaults field of Properties [in thread "Worker-1: Building"] 에러가 발생 했다. 해결 org.apache.maven.plugins maven-compiler-plugin 2.5.1 11 11 -Xlint:all true true --------- 내용 추가 ---------- org.apache.maven.plugins maven-war-plugin 3.3.2 maven-war-plugin을 추가 한다. 2024. 3. 26.
[오류해결] jakarta.servlet.ServletException: Handler dispatch failed: java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter 유튜브 서타몽님의 https://www.youtube.com/@jiraynorprogramming1589 서타몽 www.youtube.com SpringBoot + Reactjs(ts) + MySQL] 로그인 API 구현을 따라하면서 마지막 PostMan으로 로그인을 했을시 아래와 같은 에러가 뜬다. (jdk 17사용) 에러를 검색 해보니 JAXB API가 java11에서부터는 완전히 제거 되었다고한다. 그래서 의존성 주입으로 인해 모듈을 추가를 해줘야 했다. dependencies { implementation 'org.springframework.boot:spring-boot-starter-data-jpa' implementation 'org.springframework.boot:spring-boot.. 2024. 1. 6.
[오류해결]org.hibernate.boot.registry.selector.spi.StrategySelectionException: Unable to resolve name [org.hibernate.dialect.MySQL5InnoDBDialect] as strategy [org.hibernate.dialect.Dialect] 프로젝트 만드는 중에 Mysql8.0.33 버전을 사용중에 평소와 다른 오류가 생겼다. org.hibernate.boot.registry.selector.spi.StrategySelectionException: Unable to resolve name [org.hibernate.dialect.MySQL5InnoDBDialect] as strategy [org.hibernate.dialect.Dialect] spring: datasource: driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://localhost:3306/board username: root password: 1234 jpa: database-platform: org.hibernat.. 2023. 12. 21.
LIST