Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

I tried building the source as mentioned in the Build from source and able to build the wflow-apps directory and then when i tried building the wflow-plugins directory, Im getting build error while its building the wflow-plugin-report directory and the below is the stack trace I got,unmigrated

-wiki-markup\------------------------------------------------------\-  T E S T S \
 T E S T S
------------------------------------------------------\-
Running org.joget.plugin.report.TestReportPlugin
Configuration read for sharkdb failed\!
SharkEngineManager \ -> Shark engine is being initialized ...
SharkEngineManager \ -> Problems instantiating core managers - Can't find ToolActivityHandler class 'org.joget.workflow.shark.WorkflowToolActivityHandler' in classpath\!
org.apache.maven.surefire.booter.SurefireExecutionException: javax/servlet/http/HttpServletRequest; nested exception is java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest
java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest         at
        at java.lang.Class.getDeclaredMethods0(Native Method)         at Method)
        at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)         at
        at java.lang.Class.getDeclaredMethods(Class.java:1791)         at
        at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:396)         at
        at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:379)         at
        at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.buildLifecycleMetadata(InitDestroyAnnotationBeanPostProcessor.java:202)         at
        at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.findLifecycleMetadata(InitDestroyAnnotationBeanPostProcessor.java:190)         at
        at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessMergedBeanDefinition(InitDestroyAnnotationBeanPostProcessor.java:119)         at
        at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessMergedBeanDefinition(CommonAnnotationBeanPostProcessor.java:276)         at
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyMergedBeanDefinitionPostProcessors(AbstractAutowireCapableBeanFactory.java:743)         at
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:447)         at
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)         at
        at java.security.AccessController.doPrivileged(Native Method)         at Method)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)         at
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)         at
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:220)         at
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)         at
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)         at
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)         at
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)         at
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)         at
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)         at
        at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:96)         at
        at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:44)         at
        at org.springframework.test.context.TestContext.loadApplicationContext(TestContext.java:173)         at
        at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:199)         at
        at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109)         at
        at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75)         at
        at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:255)         at
        at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:93)         at
        at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.invokeTestMethod(SpringJUnit4ClassRunner.java:130)         at
        at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)         at
        at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)         at
        at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)         at
        at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)         at
        at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)         at
        at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)         at
        at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)         at
        at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)         at
        at org.apache.maven.surefire.Surefire.run(Surefire.java:177)         at
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)         at Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)         at
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)         at
        at java.lang.reflect.Method.invoke(Method.java:597)         at
        at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)         at
        at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
Caused by: java.lang.ClassNotFoundException: javax.servlet.http.HttpServletRequest         at
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)         at
        at java.security.AccessController.doPrivileged(Native Method)         at Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)         at
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)         at
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:289)         at
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)         at
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)        
        ... 46 more \
[INFO\] \ -----------------------------------------------------------------------\- \
[ERROR\] BUILD FAILURE \
[INFO\] \ -----------------------------------------------------------------------\- \
[INFO\] There are test failures.unmigrated-wiki-markup

Please refer to D:\Joget Source\wflow-plugins\wflow-plugin-report\target\surefire-reports for the individual test results. \
[INFO\] \ -----------------------------------------------------------------------\- \
[INFO\] For more information, run Maven with the \ -e switch \
[INFO\] \ -----------------------------------------------------------------------\- \
[INFO\] Total time: 41 seconds \
[INFO\] Finished at: Wed Apr 27 09:53:56 GMT+05:30 2011 \
[INFO\] Final Memory: 27M/63M \
[INFO\] \ -----------------------------------------------------------------------\-\\

Am I missing anything here or anyone faced similar issue while building the wflow-plugins, please help in this regards.

...