Skip to content

Instantly share code, notes, and snippets.

@hitme
Last active August 29, 2015 14:05
Show Gist options
  • Save hitme/75f4c3760834240b62b7 to your computer and use it in GitHub Desktop.
Save hitme/75f4c3760834240b62b7 to your computer and use it in GitHub Desktop.
how to debug a spring shell project
1. TO run a spring shell project in IDEA
[edit configurations]->add Application->specify [Main class] as "org.springframework.shell.Bootstrap"
2. TO run a spring shell project with maven (exec-maven-plugin)
$ cd path/to/projectRoot (where pom.xml exists)
$ mvn exec:java -Dexec.mainClass="org.springframework.shell.Bootstrap"
reference:
http://docs.spring.io/spring-shell/docs/current/reference/htmlsingle/#d4e260
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment