본문 바로가기

문제 발생 및 해결

(17)
미해결 / Eclipse에서 PowerShell 실행 결과 보기 import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.stream.Stream; public class project { public static void main(String[] args) throws IOException { // TODO Auto-generated method stub String command = "powershell.exe Get-Entity -Collection openrpa -Type workflow"; // Executing the command Process powerShellProcess = Runtime.getRuntime()...
PowerShell에서 Node-RED 실행할 때 에러 발생 node-red 실행할 때 cmd에서는 문제 없었음. PowerShell에서 실행하려니 아래처럼 에러 발생 node-red : 이 시스템에서 스크립트를 실행할 수 없으므로 C:\Users\user\AppData\Roaming\npm\node-red.ps1 파일을 로드할 수 없습니다. 자세한 내용은 about_Execution_Policies(https://go.microsoft.com/fwlink/?LinkID=135170)를 참조하십시오. 위치 줄:1 문자:1 + node-red + ~~~~~~~~ + CategoryInfo : 보안 오류: (:) [], PSSecurityException + FullyQualifiedErrorId : UnauthorizedAccess 1. 현재 상태 확인 > Get-..
원격 서버 에러났을 때 D:\apache-tomcat-9.0.27-all-refresh\apache-tomcat-9.0.27\logs 로 들어가서 수정한 날짜 순으로 정렬한 후, 로그들 하나씩.. 보기...
java.io.FileNotFoundException (지정된 경로를 찾을 수 없습니다) 아래의 에러가 계속 떠서 경로를 복붙했더니 [log4j]2020-12-14 13:01:56,908 DEBUG [egovframework.com.cmm.service.EgovProperties] Property file not found. java.io.FileNotFoundException: C:\Program%20Files\Apache%20Software%20Foundation\Tomcat%209.0\wtpwebapps\project\WEB-INF\classes\egovframework\egovProps\globals.properties (지정된 경로를 찾을 수 없습니다) 위와 같은 창이 떴다. 구글에 검색한 결과 글(참고)을 발견하여 해당 부분을 고쳤더니 해결. //public static final..
eclipse에서 git push할 때 파일 내용 전체가 교체될 경우 eclipse에서 commit한 걸 확인할 때 위의 사진처럼 바뀐 부분만 체크되어 있는데 push 했더니 수정한 파일들이 전체가 바뀌는 대참사 발생... 해결방법은 Window > Preferences > Workspace 위 사진에서 'New text file line delimiter' 부분이 원래 Default(Windows)로 되어있었는데 이걸 'Unix'로 바꿨더니 해결됨. 참고 : yrseo.tistory.com/m/8
jre로 설정되어 있는 거 jdk로 수정 1. 실행 프로젝트 우클릭 > Build Path > Configure Build Path... 2. JRE System Library 클릭 > Edit (기존에 JRE System Library [jre1.8~~~]로 되어 있었음.) 3. Workspace default JRE (jdk1.8.0_271) 클릭 (기존에 Execution environment로 되어 있었음.) 여기까지 마치면 다시 build 시작함. jre는 실행환경이라 딱! 실행만. jdk는 개발할 때 필요!
eclipse import 실패 (해결) 문제상황 : git에서 pull한 파일을 import하는데 실패 (에러창도 뜨지 않음) 문제해결 과정 1. 문제 프로젝트 폴더에서 Git Bash를 하고, ls -alh로 확인 > .classpath > .project > .settings/ > build/ 위의 파일 및 폴더들이 포함되어 있음을 확인 2. 쓸데없는 파일들을 git rm -rf .classpath > git add . >> git commit -m "쓸데없는 파일 지우기" >> git push origin master
톰캣 에러 (해결) Server Tomcat v9.0 Server at localhost failed to start. 요약 : 매핑된 URL이 같은 서블릿이 두 개 이상 존재했기 때문. 참고 : http://www.newlecture.com/answeris/1