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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 807581, 1 year ago
javax.servlet.ServletContext.getResourcePaths(Ljava/lang/String;)Ljava/util/Set;
via Oracle Community by 843833, 1 year ago
javax.servlet.ServletContext.getResourcePaths(Ljava/lang/String;)Ljava/util/Set;
via Oracle Community by 843835, 1 year ago
javax.servlet.ServletContext.getResourcePaths(Ljava/lang/String;)Ljava/util/Set;
via Oracle Community by 843840, 1 year ago
javax.servlet.ServletContext.getResourcePaths(Ljava/lang/String;)Ljava/util/Set;
via Oracle Community by 807581, 1 year ago
javax.servlet.ServletContext.getResourcePaths(Ljava/lang/String;)Ljava/util/Set;
via Coderanch by raj guntupalli, 11 months ago
javax.servlet.ServletContext.getResourcePaths(Ljava/lang/String Ljava/util/Set;
java.lang.NoSuchMethodError: javax.servlet.ServletContext.getResourcePaths(Ljava/lang/String;)Ljava/util/Set;
at org.apache.jasper.compiler.TldLocationsCache.processJars(TldLocationsCache.java:238)
at org.apache.jasper.compiler.TldLocationsCache.(TldLocationsCache.java:140)
at com.iplanet.ias.tools.forte.compile.WMDataCache.getTldLocationsCache(WMDataCache.java:87)
at com.iplanet.ias.tools.forte.compile.TomcatOptionsImpl.initialize(TomcatOptionsImpl.java:85)
at com.iplanet.ias.tools.forte.compile.TomcatOptionsImpl.(TomcatOptionsImpl.java:70)
at com.iplanet.ias.tools.forte.compile.TomcatCompileContext$TomcatDevelopmentCompilation.initialize(TomcatCompileContext.java:209)
at com.iplanet.ias.tools.forte.compile.TomcatCompileContext$TomcatDevelopmentCompilation.(TomcatCompileContext.java:193)
at com.iplanet.ias.tools.forte.compile.TomcatCompileContext.getDevelopmentCompilation(TomcatCompileContext.java:122)
at org.netbeans.modules.web.core.jsploader.JspDataObject.getCookie(JspDataObject.java:173)
at org.openide.actions.AbstractCompileAction.resolveCookie(AbstractCompileAction.java:468)
at org.openide.actions.AbstractCompileAction.processObject(AbstractCompileAction.java:410)
at org.openide.actions.AbstractCompileAction.access$100(AbstractCompileAction.java:39)
at org.openide.actions.AbstractCompileAction$1.alter(AbstractCompileAction.java:391)
at org.openide.util.enum.AlterEnumeration.nextElement(AlterEnumeration.java:55)
at org.openide.util.enum.SequenceEnumeration.nextElement(SequenceEnumeration.java:88)
at org.openide.util.enum.FilterEnumeration.hasMoreElements(FilterEnumeration.java:64)
at org.openide.actions.AbstractCompileAction.prepareJobFor(AbstractCompileAction.java:359)
at org.openide.actions.AbstractCompileAction.access$000(AbstractCompileAction.java:39)
at org.openide.actions.AbstractCompileAction$Cmp.addToJob(AbstractCompileAction.java:281)
at org.netbeans.modules.web.context.WebInfObject$WebInfCompilerCookie.addToJob(WebInfObject.java:215)
at org.openide.actions.AbstractCompileAction.prepareJobFor(AbstractCompileAction.java:361)
at org.openide.actions.AbstractCompileAction.createJob(AbstractCompileAction.java:198)
at org.netbeans.modules.web.context.PackageWar.doCompile(PackageWar.java:104)
at org.netbeans.modules.web.context.PackageWar.doCompile(PackageWar.java:98)
at org.netbeans.modules.web.war.WarPackagerSupport.getFile(WarPackagerSupport.java:93)
at com.sun.portal.ffj.actions.PortletXMLExportWarAction.performAction(Unknown Source)
at com.sun.portal.ffj.actions.PortletXMLExportWarAction.performAction(Unknown Source)
at org.openide.util.actions.NodeAction.performAction(NodeAction.java:184)
at org.openide.util.actions.NodeAction.actionPerformed(NodeAction.java:175)
at org.netbeans.core.ModuleActions$1.run(ModuleActions.java:97)
at org.openide.util.Task.run(Task.java:136)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:328)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:670)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.