2 Replies Latest reply on Jan 16, 2018 8:34 AM by desmond95

    Roaster 2.20.1.final: java.lang.NoClassDefFoundError:


      Hello guys,


      I have an issue with Roaster 2.20.1.final.. when I try to run this code..


      final JavaClassSource javaClass = Roaster.create(JavaClassSource.class);


      .. i get following error:


      java.lang.NoClassDefFoundError: org/jboss/forge/roaster/model/source/JavaClassSource


      My pom.xml looks like:






















      I checked the build path of my project and it looks fine.

      When I'm using the version "2.20.0.final" the error is not present.

      I'm using JDK 1.8 but it doesn't work in 1.7 as well.

      The compiler knows the right class (since its not marking any errors)


      Did I miss something in my properties?

      Thank you very much for your help!