java.lang.reflect.InvocationTargetException

Exception #2490395

Samebug tips1

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


rafaelrafael

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

Solutions on the web1546

  • via Unknown by 807607,
  • via Stack Overflow by ashgromnies
    ,
  • Stack trace

    • 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:585) at com.sun.enterprise.server.PELaunch.main(PELaunch.java:272) Caused by: java.lang.NoClassDefFoundError: javax/security/jacc/PolicyContextException at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:164) at com.sun.enterprise.security.PolicyLoader.loadPolicy(PolicyLoader.java:133) at com.sun.enterprise.security.SecurityLifecycle.onInitialization(SecurityLifecycle.java:96) at com.sun.enterprise.server.ApplicationServer.onInitialization(ApplicationServer.java:240) at com.sun.enterprise.server.ondemand.OnDemandServer.onInitialization(OnDemandServer.java:93) at com.sun.enterprise.server.PEMain.run(PEMain.java:316) at com.sun.enterprise.server.PEMain.main(PEMain.java:260) ... 5 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

    Unknown visitor
    Unknown visitorOnce,
    pulse00pulse00
    6 times, last one
    guizmaiiguizmaii
    2 times, last one
    andyglickandyglick
    Once,
    serious2monkeysserious2monkeys
    60 times, last one
    66 more bugmates