书第四章调试问题

04-07-22 oldbird

我的运行环境是jbuilder+weblogic8.1

运行web/index.jsp出现的错误提示是:(我怀疑是tiles的配置信息缺了,造成所谓的“定义工厂找不到”,可不知道怎么改,求助!!)

Error 500--Internal Server Error

javax.servlet.jsp.JspException: Can't get definitions factory from context.

at org.apache.struts.taglib.tiles.InsertTag.processDefinitionName(InsertTag.java:583)

at org.apache.struts.taglib.tiles.InsertTag.createTagHandler(InsertTag.java:487)

at org.apache.struts.taglib.tiles.InsertTag.doStartTag(InsertTag.java:451)

at jsp_servlet.__index._jspService(__index.java:141)

at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)

at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)

at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)

at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)

at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6297)

at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)

at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)

at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3575)

at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2573)

at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)

at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)

banq
2004-07-26 15:38

需要在struts-config.xml定义tile-def.xml