Java scratch file does not run in 2019.1
已回答
I have a Java scratch file to handle concatenating and signing string values. Its a pretty simple program that was running fine as of last week on 2018.2. However, I tried to run it today in 2019.1 and there are compile errors relating to import statements: `Error:(3, 32) package org.apache.commons.lang3 does not exist`. Furthermore, the editor window shows no errors and I can click through to the imported method implementations.
I restarted IntelliJ, but that did not help. Below is the output from the build window.

请先登录再写评论。
Please see https://intellij-support.jetbrains.com/hc/en-us/community/posts/360003349919-Cannot-resolve-package-from-Scratch-file?page=1#community_comment_360000430280.
Thank you! I needed to set "use classpath of module" in the run config.