AnsweredAssumed Answered

Error: unknown property used in expression.

Question asked by kairos on May 10, 2012
Latest reply on May 10, 2012 by kairos

I have my XXXX.bpmn20.xml file as shown below

<process id="SProcess">
<startEvent id="start"/>
<sequenceFlow id="flow1" sourceRef="start" targetRef="createApplication" />
<serviceTask id="createApplication" activiti:expression="#{printer.printMessage()}" />
<sequenceFlow id="flow2" sourceRef="createApplication" targetRef="end" />
<endEvent id="end" />

and I have a Class as shown below

public class Printer {
public void printMessage()
{ System.out.println("hello world………………");

and I have a bean as shown below

<bean id="printer" class="org.activiti.Printer" />

Error with Explorer:

unknown property used in expression.

Also i am unable to access the bean…..
Can anybody help why it is showing this error.