henryyan
4/11/2013 - 12:57 PM

can't get instance of ProcessEngineConfiguration

can't get instance of ProcessEngineConfiguration

<property name="activityFontName" value="simsun"/>

Can't get instance of ProcessEngineConfiguration by Context.getProcessEngineConfiguration() in Controller(Spring MVC) when invode codes bellow:

InputStream imageStream = ProcessDiagramGenerator.generateDiagram(bpmnModel, "png", activeActivityIds);

The activityFontName should be "simsun", but is "Arial" (default font name).

can you help me ?