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

  1. ,
    Expert tip

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

Solutions on the web

via Stack Overflow by prranay
, 1 year ago
via GitHub by nobeans
, 2 years ago
Only the target location may be specified
via Stack Overflow by Daris
, 2 years ago
Transaction must be running
via Spring JIRA by Tim te Beek, 1 year ago
Target bean is not of type of the persistent entity!
via Stack Overflow by Ickbinet
, 2 years ago
Target bean is not of type of the persistent entity!
java.lang.IllegalArgumentException: Only the target location may be specified	at org.springframework.util.Assert.isTrue(Assert.java:68)	at org.springframework.boot.cli.command.init.InitCommand$InitOptionHandler.createProjectGenerationRequest(InitCommand.java:218)	at org.springframework.boot.cli.command.init.InitCommand$InitOptionHandler.generateProject(InitCommand.java:209)	at org.springframework.boot.cli.command.init.InitCommand$InitOptionHandler.run(InitCommand.java:189)	at org.springframework.boot.cli.command.options.OptionHandler.run(OptionHandler.java:84)	at org.springframework.boot.cli.command.OptionParsingCommand.run(OptionParsingCommand.java:54)	at org.springframework.boot.cli.command.CommandRunner.run(CommandRunner.java:219)	at org.springframework.boot.cli.command.CommandRunner.runAndHandleErrors(CommandRunner.java:171)	at org.springframework.boot.cli.SpringCli.main(SpringCli.java:63)	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:498)	at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)	at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)	at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)	at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:58)