zoukankan      html  css  js  c++  java
  • Cannot start Tomcat to debug in Eclips tomcat localhostconfig is missing, 'Starting Tomcat v7.0 Server at localhost' has encountered a problem.

    在Eclipse的JavaEE环境中,点击run下拉run as- run on server, 选择index.jsp,启动tomcat调试失败,错误信息:Tomcat localhost-config is missing, 'Starting Tomcat v7.0 Server at localhost' has encountered a problem.如何解决?

    1. Services,stop Tomcat service,otherwise the port will be in using。
    2. JavaEE Servers tab page, remove all existing...then create a new server of Tomcat7.0 server, finish
    3. Double click on the "Tomcat7" entry to see the configuration.
    4. Then click on the "Open launch configuration" link in the "General information" block.
    5. In the dialog, select the "Classpath" tab.
    6. At "Bootstrap entries", Click the "Add external jar" button.
    7. Select the file "/usr/share/tomcat6/bin/tomcat-juli.jar" (Use Everything to locate the file)
    8. Click "Apply", Close the dialog.
    9. Start tomcat 7 from Eclipse.10. Debug breakpoints: 

          Select index.jsp,

          set break point in controller classes.

          Click eclips menu: "Run - Debug as - Debug on server"



  • 相关阅读:
    008 WEBmvc的自动配置
    007 springboot的日志问题
    006 自动配置
    005 profile
    004 引入spring的xml配置文件
    003 场景启动器
    002 依赖管理
    001-属性文件
    TypeError: FileBox.fromUrl is not a function
    npm 的是报错 @XXXXX postinstall 处理
  • 原文地址:https://www.cnblogs.com/Mainz/p/2501107.html
Copyright © 2011-2022 走看看