1 Reply Latest reply on Jul 6, 2015 11:36 PM by Ferdinand Limandibrata

    Question getting started appclient

    Ferdinand Limandibrata Newbie

      Hello, I still new using wildfly and I have problem using appclient.bat My problem is i can't load method that come from lib.

       

      this is my simple code

       

      import com.test.otherMe.otherLib;

       

       

      public class Main extends OtherLib {

          public static void main(String[] args) {

              System.out.println("Yahooooo......");

          }

      }

       

      When i run appclient using this command

       

      C:\wildfly-8.2.0.Final\bin>appclient.bat --host=127.0.0.1 d:\target\SimpleProjectMaven.jar

       

      i get this error

       

      Caused by: java.lang.NoClassDefFoundError: com/test/otherMe/otherLib

       

      My directory structure

      wildfly-8.2.0.Final/bin

            |

           ------> lib

                     |

                     ------> otherLib.jar

           ------>appclient.bat

           ------>SimpleProjectMaven.jar

       

       

      I already make sure that MANIFEST.MF in SimpleProjectMaven.jar load the /lib/otherLib.jar