3 Replies Latest reply on Aug 20, 2018 7:08 AM by Sascha Janz

    java.lang.NoClassDefFoundError: javax/tools/JavaFileObject

    Sascha Janz Master

      i run wildfly 13 with java 10.

       

      i need to use the javax.tools.JavaFileObject class

       

      i added --add-modules java.compiler to JAVA_OPTS but without success.

       

      i modified the module for sun\jdk\main with

       

      <path name="javax/tools"/>

       

      but i still get java.lang.NoClassDefFoundError: javax/tools/JavaFileObject

       

      what am i doing wrong?

       

      regards

      Sascha