-----javaBean
public class Test { public Test() {
}
public void Show(){
System.out.println("aaa");
}}------jsp
<body>
<jsp:useBean id="kk" class="Test" scope="session">
<%kk.Show(); %>
</jsp:useBean>
</body>------运行后跳的断点
Source not found for JspServletWrapper.handleJspException(Exception) line: 489--------这个是运行后后台显示的
log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources).
log4j:WARN Please initialize the log4j system properly.
2011-5-24 1:08:37 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2011-5-24 1:08:38 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2011-5-24 1:08:38 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/62 config=null
2011-5-24 1:08:38 org.apache.catalina.startup.Catalina start
信息: Server startup in 15672 ms提问:这是什么问题呢
public class Test { public Test() {
}
public void Show(){
System.out.println("aaa");
}}------jsp
<body>
<jsp:useBean id="kk" class="Test" scope="session">
<%kk.Show(); %>
</jsp:useBean>
</body>------运行后跳的断点
Source not found for JspServletWrapper.handleJspException(Exception) line: 489--------这个是运行后后台显示的
log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources).
log4j:WARN Please initialize the log4j system properly.
2011-5-24 1:08:37 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2011-5-24 1:08:38 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2011-5-24 1:08:38 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/62 config=null
2011-5-24 1:08:38 org.apache.catalina.startup.Catalina start
信息: Server startup in 15672 ms提问:这是什么问题呢
或直接配置你的服务器, 跟你选择服务器 JDK同级的菜单中Launch 选择 run modedebug mode 当然就是调试了。
引用 1 楼 wei880826 的回复:
Preferences ->MyEclipse->Servers-> Tomcat->Tomcat 5.X ->Launch 选中run mode 即可
或直接配置你的服务器, 跟你选择服务器 JDK同级的菜单中Launch 选择 run modedebug mode 当然就是调试了。
我按照上面的一步一步的做可是我发现我的只能点到tomcat6.x那 后面你们说的选项几乎没有!晕