配置好Tomcat java 路径后 在浏览器中输入:
http://localhost:8080或http://127.0.0.1:8080
什么也得不到
然而打开Eclipse 编写一个简单的jsp程序时 神奇的可以运行,此时把运行得来的http://localhost:8080/hello/test.jsp
输入浏览器 得到和Eclipse运行的到的是同样的结果 关掉Eclipse之后刷新浏览器,有回到了先前的空白。
和以前的版本不一样啊 以前的Tomcat里面有startup和shutdown 而今却没有了
在安装的Tomcat目录下bin目录下有两个exe 一个是tomcat6.exe 一个是tomcat6w.exe tomcat6w.exe打开得到Tomcat启动的界面 而tomcat6w.exe打开后进入doc 里面显示一个异常:Exception in thread "main" java.lang .NoClassFoundError:org/apche/catalina/startup/Bootstrap
Caused by:java.lang.NoClassFoundException:org/apche/catalina/startup/Bootrap
...
...
...
不知道我描述得清楚不?
大家帮帮看看 谢谢了
在安装的Tomcat目录下bin目录下有两个exe 一个是tomcat6.exe
====================================================
这个怎么会没有startup和shutdown呢?
我下的7.08都有啊!你要不要到apache那里下个,重新安装下!
2.难倒你吧tomcat中的东西误删了
3.重装tomcat
因为你的tomcat不是安装版的(安装版的在安装的时候会让你配置jdk) eclipse也是配置了jdk的
这样如果不配置JAVA_HOME的话 tomcat就找不到jdk
应该是tomcat启动异常了,重新装下吧。
bin目录下的确没有啊 没办版本我都试过了 5.0 6.0 7.0 安装了试试还是不行 系统环境变量也配置了啊 无语了
把你那个版本的发给我用下 可以吗 我看看行不行?[email protected]
release version 5.0 or later, from http://java.sun.com/j2se.(1.2) Install the JRE according to the instructions included with the
release.
(1.3) Set an environment variable named JRE_HOME to the pathname of
the directory into which you installed the JRE, e.g. c:\jre5.0
or /usr/local/java/jre5.0.NOTE: You may also use the full JDK rather than just the JRE. In this
case set your JAVA_HOME environment variable to the pathname of
the directory into which you installed the JDK, e.g. c:\j2sdk5.0
or /usr/local/java/j2sdk5.0.
(2) Download and Install the Tomcat Binary DistributionNOTE: As an alternative to downloading a binary distribution, you can create
your own from the Tomcat source repository, as described in "BUILDING.txt".
If you do this, the value to use for "${catalina.home}" will be the "dist"
subdirectory of your source distribution.(2.1) Download a binary distribution of Tomcat from: http://tomcat.apache.org(2.2) Unpack the binary distribution into a convenient location so that the
distribution resides in its own directory (conventionally named
"apache-tomcat-[version]"). For the purposes of the remainder of this document,
the symbolic name "$CATALINA_HOME" is used to refer to the full
pathname of the release directory.
(3) Start Up Tomcat(3.1) Tomcat can be started by executing the following commands: $CATALINA_HOME\bin\startup.bat (Windows) $CATALINA_HOME/bin/startup.sh (Unix)(3.2) After startup, the default web applications included with Tomcat will be
available by visiting: http://localhost:8080/(3.3) Further information about configuring and running Tomcat can be found in
the documentation included here, as well as on the Tomcat web site: http://tomcat.apache.org
(4) Shut Down Tomcat(4.1) Tomcat can be shut down by executing the following command: $CATALINA_HOME\bin\shutdown (Windows) $CATALINA_HOME/bin/shutdown.sh (Unix)