NewBie-GPD
forjbpm Sep 29, 2005 1:26 PMHi,
I followed tutorial on JBoss jBPM GPD installation manual and created a project.
As per the document, I created a test class. (JBM.par, JBMProcessTest.java etc.)
But when I click on the JBMProcessTest.java and try to run as junit test I get following error.
java.lang.NoClassDefFoundError: org/dom4j/DocumentException
at org.jbpm.jpdl.xml.JpdlXmlReader.readProcessDefinition(JpdlXmlReader.java:107)
at org.jbpm.graph.def.ProcessDefinition.parseXmlReader(ProcessDefinition.java:145)
at org.jbpm.graph.def.ProcessDefinition.parseXmlInputStream(ProcessDefinition.java:136)
at org.jbpm.graph.def.ProcessDefinition.parseXmlResource(ProcessDefinition.java:128)
at com.JBPM.JBMProcessTest.testJBMProcess(JBMProcessTest.java:14)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
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.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
Could you please tell me what is wrong with it.
After creating project where should I put my prject so that It will be visible in browser?
If you can point me to some manual It would be g8!
Thanks,