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

Oracle Community | talman | 10 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Unreliable deployment of war files

    Oracle Community | 10 years ago | talman
    java.lang.NoSuchMethodException: No such accessible method: addWatchedResource() on object: com.sun.enterprise.web.WebModule >

    Root Cause Analysis

    1. java.lang.NoSuchMethodException

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

      at com.sun.org.apache.commons.beanutils.MethodUtils.invokeMethod()
    2. Grizzly HTTP
      MethodUtils.invokeMethod
      1. com.sun.org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:250)
      1 frame
    3. com.sun.org
      Digester.endElement
      1. com.sun.org.apache.commons.digester.CallMethodRule.end(CallMethodRule.java:505)
      2. com.sun.org.apache.commons.digester.Rule.end(Rule.java:276)
      3. com.sun.org.apache.commons.digester.Digester.endElement(Digester.java:1058)
      3 frames
    4. Java RT
      SAXParserImpl$JAXPSAXParser.parse
      1. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601)
      2. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1772)
      3. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2923)
      4. com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:645)
      5. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:508)
      6. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
      7. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
      8. com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
      9. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
      10. com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
      10 frames
    5. com.sun.org
      Digester.parse
      1. com.sun.org.apache.commons.digester.Digester.parse(Digester.java:1548)
      1 frame
    6. Glassfish Core
      ContextConfig.processContextConfig
      1. org.apache.catalina.startup.ContextConfig.processContextConfig(ContextConfig.java:864)
      1 frame