Skip to content

Instantly share code, notes, and snippets.

@hongyangqin
Created January 6, 2018 05:27
Show Gist options
  • Save hongyangqin/e4743f42af4f34f5282fb49c50ee5ba9 to your computer and use it in GitHub Desktop.
Save hongyangqin/e4743f42af4f34f5282fb49c50ee5ba9 to your computer and use it in GitHub Desktop.
Error: Selection does not contain a main type

Error: Selection does not contain a main type

导入一个包的时候,无法运行程序,也没有常见的package目录

是因为builtpath不包含导入的源代码

snipaste_2017-12-21_14-30-18

snipaste_2017-12-21_14-30-31

snipaste_2017-12-21_14-31-13

snipaste_2017-12-21_14-31-29

snipaste_2017-12-21_14-31-40

snipaste_2017-12-21_14-31-54

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment