strut1.1+jakarta-tomcat-5.0.28报错. struts.jar会用到很多commons-xxx.jar,所以会报NoClassDefFoundError."不装载我的应用了."什么意思? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 struts.jar会用到很多commons-xxx.jar,所以会报NoClassDefFoundError."不装载我的应用了."什么意思? 不装载我的应用就是在日志里没有我的web项目装载的信息看看日志.没有我项目名称而struts-example都有另外.struts1.1不能只使用struts.jar了????????还得加很多别的jar????2004-10-14 11:40:01 StandardContext[/balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]2004-10-14 11:40:10 StandardContext[/struts-example]action: []: Verifying ModuleConfig for this application module2004-10-14 11:40:10 StandardContext[/struts-example]action: []: Verification of ModuleConfig has been completed2004-10-14 11:40:14 StandardContext[/jsp-examples]ContextListener: contextInitialized()2004-10-14 11:40:14 StandardContext[/jsp-examples]SessionListener: contextInitialized()2004-10-14 11:40:14 StandardContext[/servlets-examples]ContextListener: contextInitialized()2004-10-14 11:40:14 StandardContext[/servlets-examples]SessionListener: contextInitialized() 我想因为struts example都能正常运行.而我的项目不行.应该就是配置问题.帮我看看web.xml和struts-config有什么问题?BTW:struts-config的action配置中attribute属性是作用域的含义(struts-example就用的这个属性),而网上有的项目又用的formbean的名字.也就是action的name属性. 区别在哪? struts-config的action配置中attribute属性是作用域的含义(struts-example就用的这个属性),而网上有的项目又用的formbean的名字.也就是action的name属性. 区别在哪?还有.为什么tomcat不输出System.out的日志?我已经把控制台的log level设置为debug了why 你的web.xml有配制问题,,,,楼主应把<welcome-file-list> <welcome-file>index.jsp</welcome-file> </welcome-file-list> <error-page> <error-code>404</error-code> <location>/error.jsp</location> </error-page>放在<taglib...>前,, Hibernate Bean转换 jxl操作excel 问题!搞定结! struts2+spring+json问题 JAVAMAIL, 无法发送附件 耶鲁cas获取session的username值后乱码 Hibernate聚合查询的问题 struts中bean标签的问题?? hibernate保存到数据库中,主键重复的问题 spring与hibernate整合,如何配置与多个数据库连接的事务? 高手请教 :) (探讨类)散分 请问一个关于weblogic下运行servlet中的一个奇怪问题。 用JBoss生成EJB的一个问题。
看看日志.没有我项目名称而struts-example都有另外.struts1.1不能只使用struts.jar了????????还得加很多别的jar????
2004-10-14 11:40:01 StandardContext[/balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
2004-10-14 11:40:10 StandardContext[/struts-example]action: []: Verifying ModuleConfig for this application module
2004-10-14 11:40:10 StandardContext[/struts-example]action: []: Verification of ModuleConfig has been completed
2004-10-14 11:40:14 StandardContext[/jsp-examples]ContextListener: contextInitialized()
2004-10-14 11:40:14 StandardContext[/jsp-examples]SessionListener: contextInitialized()
2004-10-14 11:40:14 StandardContext[/servlets-examples]ContextListener: contextInitialized()
2004-10-14 11:40:14 StandardContext[/servlets-examples]SessionListener: contextInitialized()
而我的项目不行.应该就是配置问题.帮我看看web.xml和struts-config有什么问题?
BTW:struts-config的action配置中attribute属性是作用域的含义(struts-example就用的这个属性),而网上有的项目又用的formbean的名字.也就是action的name属性. 区别在哪?
还有.为什么tomcat不输出System.out的日志?
我已经把控制台的log level设置为debug了why
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<error-page>
<error-code>404</error-code>
<location>/error.jsp</location>
</error-page>
放在<taglib...>前,,