java.lang.reflect.InvocationTargetException

tip

org.apache.http.config.Lookup class is in httpcore-4.3.jar not in httpclient-4.3.1.jar

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • JDBC Realm in AS8
    via by 807581,
  • sjsas 8 class path problems
    via by 843833,
    • java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269) Caused by: java.lang.NoClassDefFoundError: com/sun/enterprise/security/auth/realm/IASRealm at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:539) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at java.net.URLClassLoader.defineClass(URLClassLoader.java:251) at java.net.URLClassLoader.access$100(URLClassLoader.java:55) at java.net.URLClassLoader$1.run(URLClassLoader.java:194) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:187) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) at java.lang.ClassLoader.loadClass(ClassLoader.java:282) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:141) at com.sun.enterprise.security.auth.realm.Realm.doInstantiate(Realm.java:193) at com.sun.enterprise.security.auth.realm.Realm.instantiate(Realm.java:129) at com.sun.enterprise.security.RealmConfig.createRealms(RealmConfig.java:93) at com.sun.enterprise.security.RealmManager.init(RealmManager.java:60) at com.sun.enterprise.server.J2EEServer.startAuthenticationService(J2EEServer.java:514) at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:231) at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:600) at com.sun.enterprise.server.ApplicationServer.onInitialization(ApplicationServer.java:232) at com.sun.enterprise.server.PEMain.run(PEMain.java:210) at com.sun.enterprise.server.PEMain.main(PEMain.java:172) ... 5 more

    Users with the same issue

    Unknown visitor1 times, last one,
    pulse00
    6 times, last one,
    guizmaii
    2 times, last one,
    andyglick
    1 times, last one,
    serious2monkeys
    60 times, last one,
    58 more bugmates