Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用xjar编译后 无法进行标准输入操作 #110

Open
mywsat opened this issue May 19, 2022 · 2 comments
Open

使用xjar编译后 无法进行标准输入操作 #110

mywsat opened this issue May 19, 2022 · 2 comments

Comments

@mywsat
Copy link

mywsat commented May 19, 2022

Scanner scanner = new Scanner(System.in);
if (scanner.hasNextLine()) {
  licenseCode = scanner.nextLine();
}

标准输入操作 直接跳过了

@zhg595105376
Copy link

Scanner scanner = new Scanner(System.in);
if (scanner.hasNextLine()) {
  licenseCode = scanner.nextLine();
}

标准输入操作 直接跳过了

我也遇到了这个问题,我用的版本是4.0.2

@limeiyang
Copy link

XLauncher内没关闭scanner

那请问怎么解决呀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants