▶실행시 cmd 창 바로 꺼짐 현상
▶환경변수 설정이 문제 였던것으로 판단 또는
server.xml
▶안정성 (호환)문제때문에 9버전으로
▶기존 환경변수 설정
<환경변수>
CLASSPATH
%JAVA_HOME%\lib;.;%CATALINA_HOME%\lib;
========================
JAVA_HOME
C:\Program Files\Java\jdk1.8.0_321
==========================
JRE_HOME
C:\Program Files\Java\jre1.8.0_321
==========================
Tomcat_Home
C:\Users\hijic\Desktop\apache\apache-tomcat-9.0.52-windows-x64\apache-tomcat-9.0.52
===========================
Path
C:\Program Files\Amazon Corretto\jdk11.0.14_10\bin
C:\Program Files\Java\jdk1.8.0_144\bin
%CATALINA_HOME%\bin;
"%CATALINA_HOME%\bin;";C:\Program Files\Java\jdk1.8.0_321\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;%SYSTEMROOT%\System32\OpenSSH\;C:\Program Files\Bandizip\;C:\Program Files\MariaDB\MariaDB Connector C 64-bit\lib\;C:\Program Files\MariaDB\MariaDB Connector C 64-bit\lib\plugin\;
▶변경 후
======================환경 변수 [시스템]========================
Apache_Home
C:\Users\aaa\Desktop\Spring\httpd-2.4.53-win64-VS16\Apache24
CATALINA_BASE
C:\Users\aaa\Desktop\Spring\apache-tomcat-9.0.60
CATALINA_HOME
C:\Users\aaa\Desktop\Spring\apache-tomcat-9.0.60
CATALINA_TMPDIR
C:\Users\aaa\Desktop\Spring\apache-tomcat-9.0.60\temp
CLASSPATH
%JAVA_HOME%\lib;.;%CATALINA_HOME%\lib;
JAVA_HOME
C:\Program Files\Java\jdk1.8.0_321
JRE_HOME
C:\Program Files\Java\jre1.8.0_321
Path
"%CATALINA_HOME%\bin;.;C:\Program Files\Java\jdk1.8.0_321\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;%SYSTEMROOT%\System32\OpenSSH\;C:\Program Files\Bandizip\;C:\Program Files\MariaDB\MariaDB Connector C 64-bit\lib\;C:\Program Files\MariaDB\MariaDB Connector C 64-bit\lib\plugin\;
Tomcat_Home
C:\Users\aaa\Desktop\Spring\apache-tomcat-9.0.60
'[Problem&Solve]' 카테고리의 다른 글
[이클립스] Eclipse에서 Tomcat 서버 목록이 안 뜰때 (0) | 2022.03.19 |
---|---|
[SQL]세션관리자 접근 에러/Access denied for user ~ (0) | 2022.03.19 |
Exception in thread "main" java.lang.ClassNotFoundException: org.mariadb.jdbc.Driver (0) | 2022.03.17 |
[이클립스] is already defined Error (0) | 2022.03.11 |
Exception in thread "main" java.lang.NullPointerException (0) | 2022.03.06 |
댓글