- 1. tomcat启动正常,但访问不了
原因还是配置文件的不对
unset i unset -f pathmunge export JAVA_HOME=/usr/local/java/jdk1.8.0_181 export PATH=$PATH:$JAVA_HOME/bin export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar export JAVA_HOME=/usr/java/jdk1.8.0_181 export CATALINA_HOME=/usr/local/tomcat/apache-tomcat-8.5.39 export PATH=$PATH:$JAVA_HOME/bin:$CATALINA_HOME/bin export CLASSPATH=.:$JAVA_HOME/lib:$CATALINA_HOME/lib export JAVA_HOME PATH CLASSPATH CATALINA_HOME
错误的地方是 java_home 改正后 /usr/local/java/jdk1.8.0_181
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)