zoukankan      html  css  js  c++  java
  • eclipse启动tomcat错误:A Java Exception has occurred(转)

    在tomcat bin目录下执行startup.bat可以正常启动,但在eclipse下安装了tomcat插件并且配置tomcat路径后启动且报错:A Java Exception has occurred

    解决方法,在eclipse中[window][Preferences]找到[tomcat][JVM Settings],在右边的配置页中找到[Classpath (Before generated classpath)],点击[jar/Zip]在弹出的文件选择框中选择tomcat目录下的bin/tomcat-juli.jar文件,如图:

    启动tomcat,错误解决!

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    2013-11-20 21:53:56 [I]-[INFO] [FileOperationFactory] Read the ci base configuration file success!
    2013-11-20 21:53:56 [I]-[INFO] [FileOperationFactory] Read the ci fields configuration file success!
    2013-11-20 21:53:56 [I]-[INFO] [FileOperationFactory] Read the database configuration file success!
    2013-11-20 21:53:56 [I]-[INFO] [FileOperationFactory] Read the ci relation configuration file success!
    2013-11-20 21:53:57 [I]-[INFO] [FileServer] Neo4j Server started.
    十一月 20, 2013 9:53:58 下午 org.apache.catalina.startup.HostConfig deployDirectory
    INFO: Deploying web application directory D: omcatwebappsmxgraph
    十一月 20, 2013 9:53:58 下午 org.apache.catalina.startup.HostConfig deployDirectory
    INFO: Deploying web application directory D: omcatwebappsmxGraphExamples
    十一月 20, 2013 9:53:58 下午 org.apache.catalina.startup.HostConfig deployDirectory
    INFO: Deploying web application directory D: omcatwebappsROOT
    十一月 20, 2013 9:53:58 下午 org.apache.coyote.AbstractProtocol start
    INFO: Starting ProtocolHandler ["http-nio-8080"]
    十一月 20, 2013 9:53:58 下午 org.apache.coyote.AbstractProtocol start
    INFO: Starting ProtocolHandler ["ajp-nio-8009"]
    十一月 20, 2013 9:53:58 下午 org.apache.catalina.startup.Catalina start
    INFO: Server startup in 12930 ms
  • 相关阅读:
    编程小技巧之 Linux 文本处理命令(二)
    基金投资经验总结
    基金投资需要掌握的几个基本概念
    动目标指示MTI和动目标检测MTD
    雷达信号处理基础-快时间维和慢时间维
    信号处理第二篇——接着谈正弦信号
    毫米波雷达第一篇——测距篇
    信号处理第一篇——浅谈正弦信号
    python学习总结篇(3)——类
    python中的if __name__ == '__main__' 如何正确理解?
  • 原文地址:https://www.cnblogs.com/zhangmingcheng/p/5689363.html
Copyright © 2011-2022 走看看