2016-07-25 110 views
1

我正在嘗試在Ubuntu 14 LTS和Tomcat上安裝Activiti引擎& MySql。到目前爲止,我還沒有改變任何設置,這是我在tomcat中部署的默認戰爭。如何當我試圖訪問activiti-explorer我得到的錯誤以下。它在當地具有相同配置的景觀中工作得很好,但是當我嘗試在客戶端環境中部署它時,這是我得到的錯誤。任何人都可以幫忙嗎?在Ubuntu上安裝Activiti BPM引擎時出錯 - MySql

org.springframework.beans.factory.BeanCreationException: 
Error creating bean with name 'explorerApp': Scope 'session' is not active for the current thread; 
consider defining a scoped proxy for this bean if you intend to refer to it from a singleton; nested exception is java.lang.IllegalStateException: 
No thread-bound request found: Are you referring to request attributes outside of an actual web request, or processing a request outside of the originally receiving thread? 
If you are actually operating within a web request and still receive this message, your code is probably running outside of DispatcherServlet/DispatcherPortlet: 
In this case, use RequestContextListener or RequestContextFilter to expose the current request. 
com.vaadin.terminal.gwt.server.AbstractApplicationServlet.handleServiceException(AbstractApplicationServlet.java:1010) 

回答

2

如果有人在那裏尋找答案,我通過將Tommy服務器替換爲tomcat來解決問題。似乎有一些版本與Activiti最新版本和Tomee Server最新版本衝突。它適用於Tomcat 8.