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 talman, 1 year ago
No such accessible method: addWatchedResource() on object: com.sun.enterprise.web.WebModule >
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)