JBPM开发中常用问题

问题:今天做流程时用eclipse中的jbpm插件,新建的文件刚开始还是正常的,后来多关了几次再开,节点中文的部分全都成了乱码了。设置项目中的xml为utf-8格式还是不行。

 解决办法:1、修改eclipse安装跟目录下的eclipse.ini文件,文件的最后添加:

-Dfile.encoding=UTF-8

2、再次启动eclipse,打开文件显示正常

 

如我添加后为:

-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.0.v20100503
-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx384m
-Dfile.encoding=UTF-8

 

 

参考:http://yufenfei.iteye.com/blog/411569

猜你喜欢

转载自2594082lhj.iteye.com/blog/1952540
今日推荐