我尝试自定义 liferay 中的默认停靠栏。
我可以将我的更改反映到停靠栏。但是当我重新启动服务器后第一次登录时,它给了我以下例外:
05:09:14,950 ERROR [http-bio-8080-exec-3][IncludeTag:253] Current URL / generates exception: java.lang.ClassNotFoundException: org.apache.jsp.html.portlet.dockbar.license_005fwarning_jsp
05:09:14,952 ERROR [http-bio-8080-exec-3][IncludeTag:154] java.lang.ClassNotFoundException: org.apache.jsp.html.portlet.dockbar.license_005fwarning_jsp
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:132)
at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:63)
at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:130)
at org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:172)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:593)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:530)
这些错误不断递归地重复并在几秒钟后停止。它显示一些许可证文件丢失。
我无法弄清楚背后的原因是什么。
我已经将 license_warning.jsp 文件与 view.jsp 文件放在一起,但它仍在触发此异常。
该功能对我来说工作正常,只是在日志/控制台中给出异常循环作为首次用户登录。
谢谢, 安基特