简体   繁体   中英

Imported Java classes cannot run

在此处输入图片说明

在此处输入图片说明

在此处输入图片说明

I imported a project from someone but when i open it the java files cannot run usually they appear as java class (as shown in the last snip) but instead they have an orange j symbol (as shown in the first snip) and cannot run how to fix this

Right click on the src directory and then mark the directory as Source Root

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM