java.lang.reflect.InvocationTargetException

Exception #2562096

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web2

  • via GitHub by sammefford
    ,
  • Stack trace

    • java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:294) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.RuntimeException: Failed to create REST server: 400 Bad Request Please check the server log for detail at com.marklogic.client.example.util.Bootstrapper.makeServer(Bootstrapper.java:170) at com.marklogic.client.example.util.Bootstrapper.makeServer(Bootstrapper.java:106) at com.marklogic.client.example.util.Bootstrapper.main(Bootstrapper.java:89) at com.marklogic.client.test.util.TestServerBootstrapper.bootstrapRestServer(TestServerBootstrapper.java:53) at com.marklogic.client.test.util.TestServerBootstrapper.main(TestServerBootstrapper.java:124) ... 6 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

    We couldn't find other users who have seen this exception.