반응형
docker run -d \ --name lolien-discord-bot \ -p 8080:8080 \ -p 443:443 \ --restart=always \ -v /etc/localtime:/etc/localtime:ro \ -v /usr/local/tomcat/lolien-discord-bot/logs:/usr/local/tomcat/logs \ -e TZ=Asia/Seoul \ tomcat:8.5.45-jdk8-adoptopenjdk-hotspot docker cp lolien-discord-bot:/usr/local/tomcat/bin/catalina.sh ./ sed -i '2iCATALINA_OPTS="$JAVA_OPTS -Dspring.profiles.active=dev -agentlib..
1. 개요 gradle v5.5에서 테스트 하였습니다. 코드에 한글을 입력하고 빌드를 하니「error: unmappable character for encoding MS949」에러가 나왔습니다. 2. 해결 방법 2.1. gradle.properties 파일에 옵션 추가 (방법 1) 프로젝트 폴더\gradle.properties 파일이 있는지 확인하고 없으면 생성 합니다. org.gradle.jvmargs=-Dfile.encoding=UTF-8 gradle.properties 파일에 위의 옵션을 추가합니다. 2.2. gradle 버전을 v6.1.1로 변경 (방법 2) distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zi..
심각: Unable to process Jar entry [org/apache/ibatis/builder/StaticSqlSource.class] from Jar [jar:file:/C:/Users/user/Documents/workspace-sts-3.5.1.RELEASE/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/TEST/WEB-INF/lib/mybatis-3.2.5.jar!/] for annotations java.util.zip.ZipException: invalid LOC header (bad signature) at java.util.zip.ZipFile.read(Native Method) at java.util.zip.Zi..
Invalid parameter index 1.. mybatis DB xml 파일에서 매개벼수의 수가 맞지 않거나, 쉼표(,)가 빠졌을때 나는 오류이다.
에러 로그 *************************** APPLICATION FAILED TO START *************************** Description: Web server failed to start. Port 8080 was already in use. Action: Identify and stop the process that's listening on port 8080 or configure this application to listen on another port. Process finished with exit code 0 Windows 해결 방법 CMD 실행 netstat -ano | findstr 포트번호 포트번호로 PID 확인 tasklist | finds..