Liferay7和Vaadin8安装ProoTools Vaadin图表4.0.5

时间:2018-09-12 03:21:41

标签: liferay vaadin liferay-7 vaadin8

我最近迁移到Liferay 7.0,正在尝试安装Vaadin Charts,但没有成功。 我在应用程序管理器中安装了关注jar  vaadin-charts-4.0.5.jar,jackson-annotations-2.5.0.jar,jackson-core-2.5.1.jar,jackson-databind-2.5.2.jar

然后,当我访问使用Chart组件的portlet时会抛出异常:

2018-09-12 03:11:05.023 ERROR [http-nio-8080-exec-10][PortletServlet:112] javax.portlet.PortletException: com.vaadin.server.ServiceException: java.lang.NoClassDefFoundError: com/vaadin/addon/charts/model/Series
javax.portlet.PortletException: com.vaadin.server.ServiceException: java.lang.NoClassDefFoundError: com/vaadin/addon/charts/model/Series
    at com.vaadin.server.VaadinPortlet.handleRequest(VaadinPortlet.java:552)
    at com.vaadin.server.VaadinPortlet.serveResource(VaadinPortlet.java:633)
    at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:122)
    at com.liferay.portlet.ScriptDataPortletFilter.doFilter(ScriptDataPortletFilter.java:85)
    at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:116)
    at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:71)
    at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:108)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:153)
    at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.java:62)
    at org.eclipse.equinox.http.servlet.internal.context.DispatchTargets.doDispatch(DispatchTargets.java:118)
    at org.eclipse.equinox.http.servlet.internal.servlet.RequestDispatcherAdaptor.forward(RequestDispatcherAdaptor.java:40)
    at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:532)
    at com.liferay.portlet.InvokerPortletImpl.invokeResource(InvokerPortletImpl.java:635)
    at com.liferay.portlet.InvokerPortletImpl.serveResource(InvokerPortletImpl.java:471)
    at com.liferay.portal.monitoring.internal.portlet.MonitoringInvokerPortlet.serveResource(MonitoringInvokerPortlet.java:303)
    at com.liferay.portlet.PortletContainerImpl._serveResource(PortletContainerImpl.java:848)
    at com.liferay.portlet.PortletContainerImpl.serveResource(PortletContainerImpl.java:188)
    at com.liferay.portlet.SecurityPortletContainerWrapper.serveResource(SecurityPortletContainerWrapper.java:173)

因此,我在应用程序管理器中安装了vaadin-charts-model-4.0.5.jar,但是vaadin-chart-model的模块尚未激活,也没有出现在托管安装的应用程序中。

如何使用ProoTools Vaadin图表?

0 个答案:

没有答案