配置好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
           ...
           ...
           ...
不知道我描述得清楚不?
大家帮帮看看  谢谢了

解决方案 »

  1.   

    没有使用Eclipse时,tomcat没有运行,所以输什么都没有显示了使用了Eclipse可以有结果是因为Eclipse把Tomcat启动了。
      

  2.   

    以前的Tomcat里面有startup和shutdown 而今却没有了 
    在安装的Tomcat目录下bin目录下有两个exe 一个是tomcat6.exe 
    ====================================================
    这个怎么会没有startup和shutdown呢?
    我下的7.08都有啊!你要不要到apache那里下个,重新安装下!
      

  3.   

    tomcat没有配置好 你陪JAVA_HOME没有 eclipse能启动是因为你在里面配好了
      

  4.   

    1.tomcat启动了没有
    2.难倒你吧tomcat中的东西误删了
    3.重装tomcat
      

  5.   

         配置环境变量JAVA_HOME就行了   tomcat里边就会有startup了
     因为你的tomcat不是安装版的(安装版的在安装的时候会让你配置jdk) eclipse也是配置了jdk的
    这样如果不配置JAVA_HOME的话  tomcat就找不到jdk  
      

  6.   

    你关了myEclipse好像把tomcat服务器也关了
      

  7.   

    你的tomcat还没启动,看到的页面当然是空白的,你可以先启动一下tomcat试试……
      

  8.   

    tomcat不启动的话,不会出现空白页面,
    应该是tomcat启动异常了,重新装下吧。
      

  9.   

    双击tomcat6.exe,启动tomcat,然后输入http://localhost:8080  就应该有了。估计你的tomcat是6.0
      

  10.   

    命令提示行netstat -/all监听下端口,看看关掉Eclipse后8080端口是不是还开着,如果不是,那说明关掉Eclipse后tomcat也关掉了。在tomcat目录下tomcat6.exe 手动启动tomcat 就可以了的。
      

  11.   

    如果是白版,不是错误的话。说明是启动了,是页面没有东西,看一下你tomcat的webapps下有些什么吧
      

  12.   


    bin目录下的确没有啊  没办版本我都试过了  5.0 6.0 7.0  安装了试试还是不行 系统环境变量也配置了啊   无语了
      

  13.   


    把你那个版本的发给我用下 可以吗  我看看行不行?[email protected]
      

  14.   

    你说的问题都很正常,exe格式的tomcat安装版两个的确是只有tomcat6.exe 和tomcat6w.exe
      

  15.   

    Exception in thread "main" java.lang .NoClassFoundError:org/apche/catalina/startup/Bootstrap这个异常是Bootstrap类没有找到,安装的时候在tomcat根目录/bin/目录下会有bootstrap.jar这个文件,看你是不是没了
      

  16.   

    配置环境变量JAVA_HOME就行了 tomcat里边就会有startup了
      

  17.   

    奇怪了 我在Eclipse里面可以运行jsp程序 在网页中输入127.0.0.1:8080显示得出那只猫  可是我在任务管理器查看进程Tomcat却没有启动  这是什么原因呢?
      

  18.   

    tomcat 根目录下有个文档 RUNNING.txt ,看看,需要配置几个地方呢: CATALINA_HOME   JRE_HOME/JAVA_HOME(一般配后者)(1) Download and Install the J2SE Runtime Environment (JRE)(1.1) Download the Java 2 Standard Edition Runtime Environment (JRE),
          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)
      

  19.   

    tomcat6w.exe ,打开开始菜单里找 tomcat 的 Monitor Tomcat,然后在任务栏右下角有个图标,双击打开配置窗口,里面有列出 ....Bootstrap 这个类,类名没有错,现在要确认的是 classpath 里面填的东西,和其它的 -Dcatalina.base, -Dcatalina.home 之类的参数,以前启用时的工作目录。
      

  20.   

    Myeclipse里面可以配置Tomcat,当发布项目时会重启Tomcat,所以在Myeclipse IDE下可以不去另外启动Tomcat。如果没使用Myeclipse配置的Tomcat就要手动启动。建议不要使用Tomcat6.0.exe命令文件,因为这样好像没有缩小到后台的图标。
      

  21.   

    这个问题很简单 可能是你把tomcat中的东西误删了,所以你打http://localhost:8080或http://127.0.0.1:8080什么也得不到   这个不影响程序运行的 我以前遇到过  如果非要打http://localhost:8080出来东西 你在Tomcat里的webapps文件夹下把别人的Tomcat系统文件复制过来就行了