2 Replies Latest reply on Apr 11, 2011 12:01 PM by Santosh Inamdar

    Newbie in jbpm :unable to run examples

    Santosh Inamdar Newbie

      Hello,

       

      I am taking my baby steps in to jBPM 4.4. I going through the User Guide and setting up workspace accordingly.

      http://docs.jboss.org/jbpm/v4/userguide/html_single/

       

      I have imported the example source code that comes through standard download.

       

      When I try to run the examples , i get the below error . Pls help  ,what I am missing.

       

      java.lang.NoClassDefFoundError: javax/el/FunctionMapper

          at java.lang.Class.forName0(Native Method)

          at java.lang.Class.forName(Class.java:247)

          at org.jbpm.pvm.internal.util.ReflectUtil.classForName(ReflectUtil.java:434)

          at org.jbpm.pvm.internal.wire.descriptor.ObjectDescriptor.getType(ObjectDescriptor.java:241)

          at org.jbpm.pvm.internal.wire.WireDefinition.addDescriptor(WireDefinition.java:88)

          at org.jbpm.pvm.internal.wire.xml.WireParser.parseDocumentElement(WireParser.java:208)

          at org.jbpm.pvm.internal.cfg.ConfigurationParser.parseDocument(ConfigurationParser.java:101)

          at org.jbpm.pvm.internal.xml.Parser.execute(Parser.java:432)

          at org.jbpm.pvm.internal.xml.Parse.execute(Parse.java:158)

          at org.jbpm.pvm.internal.cfg.ConfigurationParser.parseDocument(ConfigurationParser.java:86)

          at org.jbpm.pvm.internal.xml.Parser.execute(Parser.java:432)

          at org.jbpm.pvm.internal.xml.Parse.execute(Parse.java:158)

          at org.jbpm.pvm.internal.cfg.ConfigurationImpl.parse(ConfigurationImpl.java:137)

          at org.jbpm.pvm.internal.cfg.ConfigurationImpl.setResource(ConfigurationImpl.java:116)

          at org.jbpm.pvm.internal.cfg.ConfigurationImpl.setResource(ConfigurationImpl.java:50)

          at org.jbpm.api.Configuration.setResource(Configuration.java:79)

          at org.jbpm.api.Configuration.getProcessEngine(Configuration.java:126)

          at org.jbpm.test.JbpmTestCase.buildProcessEngine(JbpmTestCase.java:98)

          at org.jbpm.test.JbpmTestCase.setUp(JbpmTestCase.java:87)

          at org.jbpm.examples.bpmn.usertask.taskform.TaskFormTest.setUp(TaskFormTest.java:17)

          at junit.framework.TestCase.runBare(TestCase.java:125)

          at junit.framework.TestResult$1.protect(TestResult.java:106)

          at junit.framework.TestResult.runProtected(TestResult.java:124)

          at junit.framework.TestResult.run(TestResult.java:109)

          at junit.framework.TestCase.run(TestCase.java:118)

          at junit.framework.TestSuite.runTest(TestSuite.java:208)

          at junit.framework.TestSuite.run(TestSuite.java:203)

          at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)

          at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)

          at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)

          at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)

          at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)

          at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)

      Caused by: java.lang.ClassNotFoundException: javax.el.FunctionMapper

          at java.net.URLClassLoader$1.run(URLClassLoader.java:200)

          at java.security.AccessController.doPrivileged(Native Method)

          at java.net.URLClassLoader.findClass(URLClassLoader.java:188)

          at java.lang.ClassLoader.loadClass(ClassLoader.java:307)

          at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

          at java.lang.ClassLoader.loadClass(ClassLoader.java:252)

          at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)

          ... 33 more