Skip to content

Instantly share code, notes, and snippets.

@henryyan
Created April 11, 2013 12:57
Show Gist options
  • Save henryyan/5363163 to your computer and use it in GitHub Desktop.
Save henryyan/5363163 to your computer and use it in GitHub Desktop.
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 ?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment