锘??xml version="1.0" encoding="utf-8" standalone="yes"?>
榪炴帴Mysql5鏃訛紝jBPM4榪愯鍒?End緇撶偣鏃剁殑閿欒錛屾妸 hibernate.dialect 鏀逛負 org.hibernate.dialect.MySQLInnoDBDialect
2銆侀棶
棰橈細org.hibernate.HibernateException: instance not of expected entity
type: org.jbpm.pvm.internal.type.variable.UnpersistableVariable is not
a: org.jbpm.pvm.internal.type.Variable
In case you still got the problem. I also had this error due to the
fact the Object I was adding as a variable was not Serializable.
Implementing java.io.Serializable should fix this error.
鎰忔濇槸鍘嬪叆涓婁笅鏂囩殑瀵硅薄瑕佸疄鐜?Serializable鎺ュ彛
3銆侀棶棰橈細Caused by: java.lang.ClassNotFoundException: de.odysseus.el.util.SimpleResolver
Requirements
JUEL requires Java 5 or later.
鍔犲叆juel.jar
-------------------------
I think I get same problem when trying to integrate JBPM4 into my app. And I find out why.
Because you're using Tomcat 6.0... The lib el-api.jar in
%tomcat_home%/lib conflicts with juel.jar, which exists in
%jbpm4_home%/lib.
juel: <http://juel.sourceforge.net/> You will find the 2 jars define the same api for javax/el/ExressionFactory.
The solution is that you use Tomcat 5.5 instead of Tomcat 6.0. Because tomcat 5.5 uses commons-el.jar (Tomcat5.5/common/lib)
Or you can still use Tomcat 6.0, but you must replace el-api.jar
with juel.jar. And don't forget to remove juel.jar from your app lib(A
duplicate import, if you don't remove).
Try it!
---------------------------------------------------------
鎬葷粨錛氬垹鎺塼omcat6鐨別l.jar錛屽姞鍏uel.jar,juel-impl.jar,juel-engine.jar
]]>
1.灝嗘枃浠?nbsp;JbpmLocationPage.java 鏀懼叆eclipse"plugins"org.jboss.tools.jbpm.common.source_鏃ユ湡.jar鐨刼rg"jboss"tools"jbpm"preferences鐩綍涓?/p>
2.灝嗘枃浠?a title="JbpmLocationsPage%241.class" target="_blank">JbpmLocationsPage%241.class銆?a title="JbpmLocationsPage%242.class" target="_blank">JbpmLocationsPage%242.class銆?a title="JbpmLocationsPage%243.class" target="_blank">JbpmLocationsPage%243.class銆?a title="JbpmLocationsPage%244.class" target="_blank">JbpmLocationsPage%244.class銆?a title="JbpmLocationsPage.class" target="_blank">JbpmLocationsPage.class鏀懼叆eclipse"plugins"org.jboss.tools.jbpm.common_鏃ユ湡.jar鐨刼rg"jboss"tools"jbpm"preferences鐩綍涓?/p>
3.NewJpdl4FileWizardPage.java鏀懼叆org.jboss.tools.flow.jpdl4.source_1.2.0.v鏃ユ湡.jar涓璷rg"jboss"tools"flow"jpdl4"wizard
4.NewJpdl4FileWizardPage.class鏀懼叆org.jboss.tools.flow.jpdl4_1.2.0.v鏃ユ湡.jar涓璷rg"jboss"tools"flow"jpdl4"wizard
5.JpdlSerializer.java銆?a title="ProcessSerializer.java" target="_blank">ProcessSerializer.java 鏀懼叆org.jboss.tools.flow.jpdl4.source_1.2.0.v鏃ユ湡.jar涓璷rg"jboss"tools"flow"jpdl4"io
6.JpdlSerializer.class銆?a title="ProcessSerializer.class" target="_blank">ProcessSerializer.class 鏀懼叆org.jboss.tools.flow.jpdl4_1.2.0.v鏃ユ湡.jar涓璷rg"jboss"tools"flow"jpdl4"io
鍦ㄥ睘鎬ame涓緭鍏ュ瓧姣嶆椂鎬繪槸瑕佽繑鍥炵涓涓綅緗緢鏄儲浜恒?/p>
瑙e喅錛氫富瑕佹槸鍦ㄨ緭鍏ュ畬瀛楁瘝鍚庯紝鎻掍歡浼氬埛鏂頒竴涓嬭緭鍏ユ銆傛妸榪欎釜鍘繪帀灝卞ソ浜嗐?/p>
灝?a title="NameSection.java" target="_blank">NameSection.java鏀懼叆org.jboss.tools.flow.jpdl4.source_1.2.0.v鏃ユ湡.jar涓璷rg"jboss"tools"flow"jpdl4"properties"
灝?a title="NameSection.class" target="_blank">NameSection.class銆?a title="NameSection%241.class" target="_blank">NameSection%241.class銆?a title="NameSection%242.class" target="_blank">NameSection%242.class鏀懼叆org.jboss.tools.flow.jpdl4_1.2.0.v鏃ユ湡.jar涓?br />2. 瀵艱埅鍒?jbpm-db 瀛愮洰褰曘傚湪璇ョ洰褰曚笅鍙互鎵懼埌 build.properties 鏂囦歡銆傝繖涓枃浠墮渶瑕佷綔涓瀹氫慨鏀規墠鑳戒嬌鐢ㄣ?鎵懼埌涓嬮潰鐨勮繖孌典唬鐮侊細
娉ㄦ剰絎竴琛岋紝灝?“C:/jbpm-x.x” 鏀規垚 "${jbpm.starters.kit}/jbpm"銆?/p>
3. 瀵艱埅鍒?nbsp;jbpm 瀛愮洰褰曘傚湪 jbpm"src"config.files 璺緞涓嬪彲浠ユ壘鍒?hibernate.cfg.xml 鏂囦歡銆傝繖涓枃浠墮渶瑕佷慨鏀瑰拰鏁版嵁搴撹繛鎺ョ浉鍏崇殑閮ㄥ垎銆傛壘鍒頒笅闈㈣繖琛屼唬鐮侊細
灝嗗叾淇敼鎴?Oracle 鐨勬牸寮忥細
濂戒簡錛岀幇鍦ㄤ竴鍒囬兘瀹岀編浜嗐傛垜浠帴涓嬫潵鎵ц鏈鍚庝竴姝ワ紝鐢熸垚鎴戜滑闇瑕佺殑鑴氭湰銆?/p>
6. 鎵撳紑鍛戒護琛屾彁紺虹紿楀彛騫跺湪鍛戒護琛屼腑瀵艱埅鍒板瓙鐩綍 jbpm-db錛岄敭鍏ュ懡浠?nbsp; ant oracle.scripts銆傜瓑鍛戒護鎵ц瀹屾瘯浠ュ悗錛屼細鍙戠幇鍦ㄨ礬寰?jbpm-db"build"oracle"scripts 涓嬬敓鎴愪簡鎴戜滑闇瑕佺殑鑴氭湰鏂囦歡錛?br />
oracle.clean.sql
oracle.create.sql
oracle.drop.create.sql
oracle.drop.sql