java.lang.ClassCastException: com.sun.tools.javac.code.Symbol$ClassSymbol cannot be cast to javax.lang.model.element.ExecutableElement

Stack Overflow | warorc | 8 months 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

    Error classCast Element to ExecutableElement

    Stack Overflow | 8 months ago | warorc
    java.lang.ClassCastException: com.sun.tools.javac.code.Symbol$ClassSymbol cannot be cast to javax.lang.model.element.ExecutableElement

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.sun.tools.javac.code.Symbol$ClassSymbol cannot be cast to javax.lang.model.element.ExecutableElement

      at org.warorc.webdriver.findbyhelper.XpathHelper.run()
    2. org.warorc.webdriver
      XpathHelper.run
      1. org.warorc.webdriver.findbyhelper.XpathHelper.run(XpathHelper.java:40)
      1 frame