I have put together a simple junit test.  Part of this test defines an action 
that performs the following:

            ContextInstance instance = executionContext.getContextInstance() ;
            instance.setVariable("id","1") ;

When I'm running it I'm getting


  | Exception in thread "Main Thread" java.lang.Error: Unresolved compilation 
problems: 
  |     The import javax.jcr cannot be resolved
  |     Node cannot be resolved to a type
  | 
  |     at 
org.jbpm.context.exe.matcher.JcrNodeMatcher.<init>(JcrNodeMatcher.java:24)
  |     at java.lang.Class.newInstance(I)Ljava.lang.Object;(Unknown Source)
  |     at org.jbpm.configuration.BeanInfo.createObject(BeanInfo.java:86)
  |     at 
org.jbpm.configuration.ObjectFactoryImpl.getObject(ObjectFactoryImpl.java:154)
  |     at 
org.jbpm.configuration.ObjectFactoryImpl.createObject(ObjectFactoryImpl.java:103)
  |     at 
org.jbpm.configuration.JbpmTypeObjectInfo.createObject(JbpmTypeObjectInfo.java:100)
  |     at 
org.jbpm.configuration.ObjectFactoryImpl.getObject(ObjectFactoryImpl.java:154)
  |     at org.jbpm.configuration.ListInfo.createObject(ListInfo.java:51)
  |     at 
org.jbpm.configuration.ObjectFactoryImpl.getObject(ObjectFactoryImpl.java:146)
  |     at 
org.jbpm.configuration.ObjectFactoryImpl.createObject(ObjectFactoryImpl.java:103)
  |     at 
org.jbpm.configuration.ObjectFactoryImpl.createObject(ObjectFactoryImpl.java:78)
  |     at org.jbpm.context.exe.JbpmType.getDefaultJbpmTypes(JbpmType.java:88)
  |     at org.jbpm.context.exe.JbpmType.getJbpmTypes(JbpmType.java:76)
  |     at 
org.jbpm.context.exe.VariableInstance.createVariableInstance(VariableInstance.java:81)
  |     at 
org.jbpm.context.exe.VariableInstance.create(VariableInstance.java:65)
  |     at 
org.jbpm.context.exe.VariableContainer.setVariableLocally(VariableContainer.java:173)
  |     at 
org.jbpm.context.exe.VariableContainer.setVariable(VariableContainer.java:45)
  |     at 
org.jbpm.context.exe.ContextInstance.setVariable(ContextInstance.java:212)
  |     at 
org.jbpm.context.exe.ContextInstance.setVariable(ContextInstance.java:202)
  | 

Does anyone know the jar I am missing?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128818#4128818

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128818
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to