java.lang.NoClassDefFoundError

com/codeborne/selenide/SelenideElement

Samebug tips4

Needs to add netty-transport-native-epoll with a OS classifier to the classpath, it's not included in netty-all

I had to build one fat jar that will include all dependencies from the other jars that i wanted to use.


ThZoisThZois

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

Solutions on the web5129

  • via Unknown by Unknown author,
  • via Unknown by Andy Wilkinson,
  • Stack trace

    • java.lang.NoClassDefFoundError: com/codeborne/selenide/SelenideElement at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) at java.lang.Class.getDeclaredMethods(Class.java:1975) at taurusjunit.CustomRunner.has_annotations(CustomRunner.java:126) at taurusjunit.CustomRunner.processJAR(CustomRunner.java:115) at taurusjunit.CustomRunner.getClasses(CustomRunner.java:89) at taurusjunit.CustomRunner.getClasses(CustomRunner.java:79) at taurusjunit.CustomRunner.main(CustomRunner.java:37) Caused by: java.lang.ClassNotFoundException: com.codeborne.selenide.SelenideElement at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 8 more

    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

    marcbouvierdavmarcbouvierdav
    364 times, last one
    Unknown visitor
    Unknown visitorOnce,
    batwalrus76batwalrus76
    5 times, last one
    tomthomastomthomas
    Once,
    jpveejpvee
    4 times, last one
    1519 more bugmates