
tomcat can startup for remote debug, just set a little parameters and environment variables as follows: set JPDA_ADDRESS=8000 set JPDA_TRANSPORT=dt_socket catalina jpda start the tomcat faq document also said that you can pass these parameters to the JVM, "-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n" , i tried, it didn't work out. so i'll just use first method . 本文...
我用eclipse build后启动tomcat,出现这个界面(进入debug模式,我什么也没有设置): 写一步份debug显示代码: tomcat 5.x[Java Application] org.apache.catalina.startup.Bootstrap at localhost:3695 Thead [main] (Suspend (exception NullPointException)) StandardContext.start() line:4085 .............. 请问怎么把这个去掉, 我不想让它debug,我想启动tomcat后,通过就可以访问http://localhost:8080/了,...
我在eclipse中写了一个很简单的java程序: public class HelloWorld { public static void main(String[] args) { System.out.println("abc"); System.out.println("abc"); } } ///:~ 我在第一个println处设置了断点,然后启动debug。可我发现此时debug操作中,step over,step out, pause, resume等都是禁用的!只有run to line可以使用,这是怎么回事?
安装: Windows 2000/XP Unzip the distribution archive, i.e. apache-maven-2.0.10-bin.zip to the directory you wish to install maven 2.0.10. These instructions assume you chose C:\Program Files\Apache Software Foundation. The subdirectory apache-maven-2.0.10 will be created from the archive. Add the M2_HOME environment variable by opening up the system properties (WinKey + Pause), selecting the "Ad...
昨天安装maven2.6之后出现了一个问题.在eclipse control出现如下问题.并且我的JDK环境配置都是对的.. 每次开eclipse后都会出现下面的问题 4/19/08 2:40:55 PM PDT: eclipse is running in a JRE, but a JDK is required Some maven plugins may not work when importing projects or updating source folders. 解决办法 打到Shortcut eclipse-->properties--->ShortCut--->Target 加上JDK D:\eclipse\eclipse.exe -vm "...
对于eclipse和tomcat的安装与使用,现在总结一下 1. 在eclipse中默认编译的,SRC的目录如下 Seller/build --> 编译存放的目录 /SRC /WebContent/WEB-INF 2. 要将Web 应用发布到tomcat中。必须把WebContent和build中目录打成包,放进如下文件结构中 Seller/WebContent/index.jsp web.xml /WEB-INF/classes --> 将build中编译好的文件移入classes中 3. 我使用ant 进...
一阵子没用eclipse了,今天在里面启动tomcat的时候发现启动失败。 显示: log4j:WARN No appenders could be found for logger (org.apache.catalina.startup.Embedded). log4j:WARN Please initialize the log4j system properly. 据说这可以忽略,但是这样就浏览器打不开的亚。谢谢。
我照着书说的去做,可书上介绍的是eclipse3.0版本eclipse3.1.2版本,所以有些不同,不知道该怎么做,请大家帮一下忙。 我现在已把tomcatpluginV31.zip解压放到了eclipse安装目录下的\plugins下 但在eclipse的“窗口”->“定制透视图”时出现的窗口同书上的不一样。
小弟配了一个上午的eclipse+tomcat都没成功,就是把com.sysdeo.eclipse.tomcat_3.1.0插件放到 eclipse的plugins目录下后,在“Window”菜单的“Customize Perspective…”里看不到tomcat,这是什么原因呢, eclipse版本为3.1.2 tomcat版本为5.5.16 先谢谢各位了!!!