java.lang.NoSuchMethodError: javax.servlet.ServletContext.getResourcePaths(Ljava/lang/String;)Ljava/util/Set;

Oracle Community | 807581 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Portlet Builder 2.0 and JSP Exception in 5u1

    Oracle Community | 1 decade ago | 807581
    java.lang.NoSuchMethodError: javax.servlet.ServletContext.getResourcePaths(Ljava/lang/String;)Ljava/util/Set;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      javax.servlet.ServletContext.getResourcePaths(Ljava/lang/String;)Ljava/util/Set;

      at org.apache.jasper.compiler.TldLocationsCache.processJars()
    2. GWT dev
      TldLocationsCache.<init>
      1. org.apache.jasper.compiler.TldLocationsCache.processJars(TldLocationsCache.java:238)
      2. org.apache.jasper.compiler.TldLocationsCache.<init>(TldLocationsCache.java:140)
      2 frames
    3. com.iplanet.ias
      TomcatCompileContext.getDevelopmentCompilation
      1. com.iplanet.ias.tools.forte.compile.WMDataCache.getTldLocationsCache(WMDataCache.java:87)
      2. com.iplanet.ias.tools.forte.compile.TomcatOptionsImpl.initialize(TomcatOptionsImpl.java:85)
      3. com.iplanet.ias.tools.forte.compile.TomcatOptionsImpl.<init>(TomcatOptionsImpl.java:70)
      4. com.iplanet.ias.tools.forte.compile.TomcatCompileContext$TomcatDevelopmentCompilation.initialize(TomcatCompileContext.java:209)
      5. com.iplanet.ias.tools.forte.compile.TomcatCompileContext$TomcatDevelopmentCompilation.<init>(TomcatCompileContext.java:193)
      6. com.iplanet.ias.tools.forte.compile.TomcatCompileContext.getDevelopmentCompilation(TomcatCompileContext.java:122)
      6 frames
    4. org.netbeans.modules
      JspDataObject.getCookie
      1. org.netbeans.modules.web.core.jsploader.JspDataObject.getCookie(JspDataObject.java:173)
      1 frame
    5. org.openide.actions
      AbstractCompileAction$1.alter
      1. org.openide.actions.AbstractCompileAction.resolveCookie(AbstractCompileAction.java:468)
      2. org.openide.actions.AbstractCompileAction.processObject(AbstractCompileAction.java:410)
      3. org.openide.actions.AbstractCompileAction.access$100(AbstractCompileAction.java:39)
      4. org.openide.actions.AbstractCompileAction$1.alter(AbstractCompileAction.java:391)
      4 frames
    6. org.openide.util
      FilterEnumeration.hasMoreElements
      1. org.openide.util.enum.AlterEnumeration.nextElement(AlterEnumeration.java:55)
      2. org.openide.util.enum.SequenceEnumeration.nextElement(SequenceEnumeration.java:88)
      3. org.openide.util.enum.FilterEnumeration.hasMoreElements(FilterEnumeration.java:64)
      3 frames
    7. org.openide.actions
      AbstractCompileAction$Cmp.addToJob
      1. org.openide.actions.AbstractCompileAction.prepareJobFor(AbstractCompileAction.java:359)
      2. org.openide.actions.AbstractCompileAction.access$000(AbstractCompileAction.java:39)
      3. org.openide.actions.AbstractCompileAction$Cmp.addToJob(AbstractCompileAction.java:281)
      3 frames
    8. org.netbeans.modules
      WebInfObject$WebInfCompilerCookie.addToJob
      1. org.netbeans.modules.web.context.WebInfObject$WebInfCompilerCookie.addToJob(WebInfObject.java:215)
      1 frame
    9. org.openide.actions
      AbstractCompileAction.createJob
      1. org.openide.actions.AbstractCompileAction.prepareJobFor(AbstractCompileAction.java:361)
      2. org.openide.actions.AbstractCompileAction.createJob(AbstractCompileAction.java:198)
      2 frames
    10. org.netbeans.modules
      WarPackagerSupport.getFile
      1. org.netbeans.modules.web.context.PackageWar.doCompile(PackageWar.java:104)
      2. org.netbeans.modules.web.context.PackageWar.doCompile(PackageWar.java:98)
      3. org.netbeans.modules.web.war.WarPackagerSupport.getFile(WarPackagerSupport.java:93)
      3 frames
    11. com.sun.portal
      PortletXMLExportWarAction.performAction
      1. com.sun.portal.ffj.actions.PortletXMLExportWarAction.performAction(Unknown Source)
      2. com.sun.portal.ffj.actions.PortletXMLExportWarAction.performAction(Unknown Source)
      2 frames
    12. org.openide.util
      NodeAction.actionPerformed
      1. org.openide.util.actions.NodeAction.performAction(NodeAction.java:184)
      2. org.openide.util.actions.NodeAction.actionPerformed(NodeAction.java:175)
      2 frames
    13. org.netbeans.core
      ModuleActions$1.run
      1. org.netbeans.core.ModuleActions$1.run(ModuleActions.java:97)
      1 frame
    14. org.openide.util
      RequestProcessor$Processor.run
      1. org.openide.util.Task.run(Task.java:136)
      2. org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:328)[catch]
      3. org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:670)
      3 frames