简体   繁体   中英

Eclipse the declared package does not match

I have an error on the package route, but this only happen on the main class, the others classes are fine, i tried everything but i dont know what is wrong here, and when i used the quickfix, this happened.

Error

在此处输入图片说明

You have set wrong "source folder". Now the "src" is a "package" but not a "source folder"

Please add "src" as "source folder" in project properties.

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