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

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

    Error classCast Element to ExecutableElement

    Stack Overflow | 7 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