0
我在Tomcat 8.0.11和JRE 1.8.0_20中部署了儀表板構建器6.1.0.Final.war應用程序。 最初有ClassNotFoundException這是很好,我找到了所需的依賴關係,並將它們給它。在我的情況下是slf4j-api-1.7.7.jar和cdi-api-1.2.jar。JBPM儀表板構建器應用程序不會啓動
不幸的是得到的東西更加混亂時,試圖通過http://myhost.com:8080/dashboard-builder/打開JBPM儀表板:
org.apache.jasper.JasperException: An exception occurred processing JSP page /login.jsp at line 162
159:
160: <div id="login-content">
161: <%
162: LocaleManager localeManager = LocaleManager.lookup();
163: Locale currentLocale = localeManager.getCurrentLocale();
164: SessionInitializer.PreferredLocale preferredLocale = SessionInitializer.getPreferredLocale(request);
165: if (preferredLocale != null) currentLocale = preferredLocale.asLocale();
Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:568)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:470)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:405)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:349)
javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
root cause
java.lang.NullPointerException
org.jboss.dashboard.commons.cdi.CDIBeanLocator.getBeanByName(CDIBeanLocator.java:50)
org.jboss.dashboard.LocaleManager.lookup(LocaleManager.java:37)
org.apache.jsp.login_jsp._jspService(login_jsp.java:214)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:405)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:349)
javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
我實在看不出是有原因的。任何想法將不勝感激,謝謝!