java.lang.IllegalArgumentException: Only the target location may be specified

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Expert tip

If you are trying to get a specific page of results, try first defining that page.

java.lang.IllegalArgumentException: Only the target location may be specified
at org.springframework.boot.cli.command.init.InitCommand$InitOptionHandler.createProjectGenerationRequest(
at org.springframework.boot.cli.command.init.InitCommand$InitOptionHandler.generateProject(
at org.springframework.boot.cli.command.init.InitCommand$
at org.springframework.boot.cli.command.CommandRunner.runAndHandleErrors(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at org.springframework.boot.loader.Launcher.launch(
at org.springframework.boot.loader.Launcher.launch(

Users with the same issue

3 times, 1 day ago
22 times, 4 days ago
3 times, 4 days ago
4 times, 1 week ago
3 times, 1 month ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.