In JShell, how to import classpath from a Maven project

后端 未结 3 618
借酒劲吻你
借酒劲吻你 2020-12-05 03:14

I have a local Maven project under development. How can I launch jshell with the project class path with all the dependencies, so that I can test project or dep

3条回答
  •  心在旅途
    2020-12-05 03:47

    See In Maven, how to output the classpath being used?.

    According to:

    jshell --help
    

    run JShell with:

    jshell --class-path 
    

提交回复
热议问题