电脑重装了系统,所以之前已经安装好了的程序得全部重新安装.
昨天晚上安装J2sdk1.4和Tomcat5,可是不管我怎么修改配置环境总是打不开http://localhost:8080这个默认页,到网上搜索了一下,还是没有找到解决问题的根本办法.只能自己试着去寻找问题的根源.
安装绝对不会出错,我想问题肯定是处在环境的配置上,后来查看了下tomcat下logs日志,才恍然大悟,原来,Tomcat5要求的是jdk1.5以上环境:
This release of Apache Tomcat was packaged to run on J2SE 5.0 or later. It can be run on earlier JVMs by downloading andinstalling a compatibility package from the Apache Tomcat binary download page.can’t open C:\j2sdk\lib\tzmappings.
This release of Apache Tomcat was packaged to run on J2SE 5.0 or later. It can be run on earlier JVMs by downloading and installing a compatibility package from the Apache Tomcat binary download page.can’t open C:\j2sdk\lib\tzmappings.
This release of Apache Tomcat was packaged to run on J2SE 5.0 or later. It can be run on earlier JVMs by downloading and installing a compatibility package from the Apache Tomcat binary download page.can’t open C:\j2sdk\lib\tzmappings.
This release of Apache Tomcat was packaged to run on J2SE 5.0 or later. It can be run on earlier JVMs by downloading and installing a compatibility package from the Apache Tomcat binary download page.
于是到官方网站下载了jdk1.5,重新安装和配置好了jdk1.5和tomcat环境,OK,终于能正常启动tomcat了.
jdk 1.5官方下载地址在这里:
http://192.18.108.149/ECom/EComTicketServlet/BEGIN5E06442D0764D5FA5236906C02524B0C/-2147483648/2478728319/1/869090/868922/2478728319/2ts+/westCoastFSEND/jdk-1.5.0_14-oth-JPR/jdk-1.5.0_14-oth-JPR:3/jdk-1_5_0_14-windows-i586-p.exe