java.lang.NoClassDefFoundError: org/apache/velocity/context/Context

GitHub | ghost | 2 months ago
  1. 0

    NoClassDefFoundError when running fitnesse tests through jenkins

    Stack Overflow | 2 months ago | sadWal
    java.lang.NoClassDefFoundError: org/apache/velocity/context/Context
  2. 0

    NoClassDefFoundError when running fitnesse tests through jenkins

    GitHub | 2 months ago | ghost
    java.lang.NoClassDefFoundError: org/apache/velocity/context/Context
  3. 0

    Initial build failed during Hygieia build

    GitHub | 1 year ago | hongluovz
    java.lang.NoClassDefFoundError: org/apache/velocity/context/Context
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.NoClassDefFoundError: org/apache/velocity/context/Context

    GitHub | 5 years ago | kielni
    java.lang.NoClassDefFoundError: org/apache/velocity/context/Context
  6. 0

    I get the following exception after upgrading to Struts Menu 2.4. Apparently, it is caused by java.lang.NoClassDefFoundError: org/apache/velocity/context/Context 12:23:38,630_PM | ERROR [Digester] End event threw exception java.lang.reflect.InvocationTargetException 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 org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216) at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:208) at org.apache.commons.digester.Rule.end(Rule.java:228) at org.apache.commons.digester.Digester.endElement(Digester.java:1067) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:633) at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:221) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:872) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1693) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242) at org.apache.commons.digester.Digester.parse(Digester.java:1591) at net.sf.navigator.menu.MenuRepository.load(MenuRepository.java:202) at net.sf.navigator.menu.MenuContextListener.contextInitialized(MenuContextListener.java:62) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4183) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013) at org.apache.catalina.core.StandardHost.start(StandardHost.java:718) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) at org.apache.catalina.core.StandardService.start(StandardService.java:450) at org.apache.catalina.core.StandardServer.start(StandardServer.java:709) at org.apache.catalina.startup.Catalina.start(Catalina.java:551) 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 org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Caused by: java.lang.NoClassDefFoundError: org/apache/velocity/context/Context at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:164) at net.sf.navigator.menu.MenuRepository.class$(MenuRepository.java:31) at net.sf.navigator.menu.MenuRepository.addMenuDisplayerMapping(MenuRepository.java:164) ... 35 more 12:23:38,646_PM | FATAL [MenuContextListener] Failure initializing struts-menu: Error parsing resource file: /WEB-INF/menu-config.xml nested exception is: Error at (8, 62: null

    AppFuse JIRA | 1 decade ago | Tony Ugando
    java.lang.reflect.InvocationTargetException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      org/apache/velocity/context/Context

      at fitnesse.FitNesseContext.<init>()
    2. FitNesse
      FitNesseMain.main
      1. fitnesse.FitNesseContext.<init>(FitNesseContext.java:83)
      2. fitnesse.ContextConfigurator.makeFitNesseContext(ContextConfigurator.java:125)
      3. fitnesseMain.FitNesseMain.launchFitNesse(FitNesseMain.java:65)
      4. fitnesseMain.FitNesseMain.launchFitNesse(FitNesseMain.java:54)
      5. fitnesseMain.FitNesseMain.main(FitNesseMain.java:34)
      5 frames