本帖最后由 清茶一杯 于 2016-1-29 22:59 编辑
1.问题描述:
tomcat启动后没有相关进程,配置语法检查报错:Error: Could not find or load main class org.apache.catalina.startup.Bootstr
2.详细操作过程及排错思路
[root@lab-2-C6 ~]# /etc/init.d/tomcat start
Using CATALINA_BASE: /usr/local/tomcat
Using CATALINA_HOME: /usr/local/tomcat
Using CATALINA_TMPDIR: /usr/local/tomcat/temp
Using JRE_HOME: /usr/local/jdk1.8.0_71
Using CLASSPATH:
[root@lab-2-C6 ~]# ps aux | grep tomcat | grep -v "grep tomcat"
[root@lab-2-C6 ~]# /etc/init.d/tomcat configtest
Using CATALINA_BASE: /usr/local/tomcat
Using CATALINA_HOME: /usr/local/tomcat
Using CATALINA_TMPDIR: /usr/local/tomcat/temp
Using JRE_HOME: /usr/local/jdk1.8.0_71
Using CLASSPATH: /usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar
Error: Could not find or load main class org.apache.catalina.startup.Bootstrap
Configuration error detected!
[root@lab-2-C6 ~]# ll /usr/local/tomcat/bin/bootstrap.jar
ls: cannot access /usr/local/tomcat/bin/bootstrap.jar: No such file or directory
[root@lab-2-C6 ~]# ll /usr/local/tomcat/bin/tomcat-juli.jar
ls: cannot access /usr/local/tomcat/bin/tomcat-juli.jar: No such file or directory
3.问题原因暂结:
3.1、百度和谷歌错误信息,没有发现价值线索
3.2、发现没有/usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar两个文件,正在重新下载测试
4.问题原因:
一切都在图中,此时此刻什么都不想说了,心累,RLGL错把源码包当成二进制包用
1.问题描述:
tomcat启动后没有相关进程,配置语法检查报错:Error: Could not find or load main class org.apache.catalina.startup.Bootstr
2.详细操作过程及排错思路
[root@lab-2-C6 ~]# /etc/init.d/tomcat start
Using CATALINA_BASE: /usr/local/tomcat
Using CATALINA_HOME: /usr/local/tomcat
Using CATALINA_TMPDIR: /usr/local/tomcat/temp
Using JRE_HOME: /usr/local/jdk1.8.0_71
Using CLASSPATH:
[root@lab-2-C6 ~]# ps aux | grep tomcat | grep -v "grep tomcat"
[root@lab-2-C6 ~]# /etc/init.d/tomcat configtest
Using CATALINA_BASE: /usr/local/tomcat
Using CATALINA_HOME: /usr/local/tomcat
Using CATALINA_TMPDIR: /usr/local/tomcat/temp
Using JRE_HOME: /usr/local/jdk1.8.0_71
Using CLASSPATH: /usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar
Error: Could not find or load main class org.apache.catalina.startup.Bootstrap
Configuration error detected!
[root@lab-2-C6 ~]# ll /usr/local/tomcat/bin/bootstrap.jar
ls: cannot access /usr/local/tomcat/bin/bootstrap.jar: No such file or directory
[root@lab-2-C6 ~]# ll /usr/local/tomcat/bin/tomcat-juli.jar
ls: cannot access /usr/local/tomcat/bin/tomcat-juli.jar: No such file or directory
3.问题原因暂结:
3.1、百度和谷歌错误信息,没有发现价值线索
3.2、发现没有/usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar两个文件,正在重新下载测试
4.问题原因:
一切都在图中,此时此刻什么都不想说了,心累,RLGL错把源码包当成二进制包用
编辑回复