java.lang.NoSuchMethodException

No such accessible method: addWatchedResource() on object: com.sun.enterprise.web.WebModule

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web288

  • via Oracle Community by talman, 11 months ago
    No such accessible method: addWatchedResource() on object: com.sun.enterprise.web.WebModule >
  • No such accessible method: addWatchedResource() on object: com.sun.enterprise.web.WebModule at com.sun.org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:250) at com.sun.org.apache.commons.digester.CallMethodRule.end(CallMethodRule.java:505)
  • via Coderanch by Vinicius Carvalho, 7 months ago
    No such accessible method: addForwardConfig() on object: com.acme.AcmeAction
  • Stack trace

    • java.lang.NoSuchMethodException: No such accessible method: addWatchedResource() on object: com.sun.enterprise.web.WebModule at com.sun.org.apache.commons.digester.Digester.createSAXException(Digester.java:2540) at com.sun.org.apache.commons.digester.Digester.createSAXException(Digester.java:2566) at com.sun.org.apache.commons.digester.Digester.endElement(Digester.java:1061) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1772) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2923) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:645) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:508) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522) at com.sun.org.apache.commons.digester.Digester.parse(Digester.java:1548) at org.apache.catalina.startup.ContextConfig.processContextConfig(ContextConfig.java:864) at org.apache.catalina.startup.ContextConfig.contextConfig(ContextConfig.java:810) at org.apache.catalina.startup.ContextConfig.init(ContextConfig.java:949) at com.sun.enterprise.web.WebModuleContextConfig.lifecycleEvent(WebModuleContextConfig.java:160) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:143) at org.apache.catalina.core.StandardContext.init(StandardContext.java:6342) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4840) at com.sun.enterprise.web.WebModule.start(WebModule.java:327) at com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58) at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:296) at com.sun.appserv.management.util.misc.RunnableBase.run(RunnableBase.java:330) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.