3.7K Star 11.4K Fork 4.5K

卓源软件 / JeeSite 4.2

 / 详情

Websphere9下部署jeesite4,打开页面报错

Done
Opened this issue  
2021-03-18 20:52

该问题是怎么引起的?

重现步骤

报错信息

08:47:26:该方法未注册(FUNCTION_NOT_FOUND):form.attrs 位于23行 资源:/htmltags/form/form.html
20|};
21|
22|// 编译属性参数
23|form.attrs(p);
24|
25|%><form id="${p.id}" action="${p.action}" method="${p.method}"${p.attrs}>
26|${tagBody}
========================



Comments (3)

好大的棉花糖 created任务
展开全部操作日志

========================
调用栈:
/htmltags/form/form.html 行:23
/modules/sys/sysLogin.html 行:19

at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1235)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:779)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:179)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:143)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:96)
at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:124)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:197)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:90)
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:450)
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387)
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
at com.jeesite.common.shiro.web.iIIIIiiIIIIi.char(js:160)
at com.jeesite.common.shiro.web.iIIIIiiIIIIi.doFilterInternal(js:110)
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:197)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:90)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:197)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:90)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:979)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1119)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:82)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:963)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1817)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:382)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:532)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:318)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:289)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1909)

Caused by:

Caused by: org.beetl.core.exception.BeetlException: null
at org.beetl.core.statement.FunctionExpression.evaluate(FunctionExpression.java:70)
at org.beetl.core.statement.StatementExpression.execute(StatementExpression.java:22)
at org.beetl.core.statement.Program.run(Program.java:69)
at org.beetl.core.statement.Program.execute(Program.java:61)
at org.beetl.core.Template.renderTo(Template.java:153)
at com.jeesite.common.beetl.ext.tag.HTMLTag.char(uha:164)
at com.jeesite.common.beetl.ext.tag.HTMLTag.callHtmlTag(uha:118)
at org.beetl.core.tag.HTMLTagSupportWrapper.render(HTMLTagSupportWrapper.java:44)
at com.jeesite.common.beetl.ext.tag.HTMLTag.render(uha:34)
at org.beetl.core.statement.TagStatement.runTag(TagStatement.java:95)
at org.beetl.core.statement.TagStatement.execute(TagStatement.java:78)
at org.beetl.core.statement.BlockStatement.execute(BlockStatement.java:58)
at org.beetl.core.tag.Tag.doBodyRender(Tag.java:73)
at org.beetl.core.tag.Tag.getBodyContent(Tag.java:85)
at org.beetl.ext.tag.LayoutTag.render(LayoutTag.java:98)
at org.beetl.core.statement.TagStatement.runTag(TagStatement.java:95)
at org.beetl.core.statement.TagStatement.execute(TagStatement.java:78)
at org.beetl.core.statement.Program.run(Program.java:69)
at org.beetl.core.statement.Program.execute(Program.java:61)
at org.beetl.core.Template.renderTo(Template.java:153)
... 69 common frames omitted

1\按照这种方法部署的:https://blog.csdn.net/weixin_34032779/article/details/94645452?utm_medium=distribute.pc_relevant.none-task-blog-baidujs_title-0&spm=1001.2101.3001.4242
2\并在共享库里去掉了tomcat相关的几个包

出现如上错误

今天把 jeesite-framework-4.2.3-SNAPSHOT下的views是全部复制到web项目下,页面出来了,不容易啊~!~

卓源软件 changed issue state from 待办的 to 已完成

Sign in to comment

状态
Assignees
Labels
Milestones
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
Branches
Planed to start   -   Planed to end
-
Top level
Priority
参与者(1)
Java
1
https://gitee.com/thinkgem/jeesite4.git
git@gitee.com:thinkgem/jeesite4.git
thinkgem
jeesite4
JeeSite 4.2

Search