简体   繁体   English

Eclipse声明的包不匹配

[英]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. 我在打包路线上有一个错误,但是这只会在主类上发生,其他类都很好,我尝试了一切,但是我不知道这里出了什么问题,而当我使用quickfix时,这发生了。

Error 错误

在此处输入图片说明

You have set wrong "source folder". 您设置了错误的“源文件夹”。 Now the "src" is a "package" but not a "source folder" 现在,“ src”是“包”,而不是“源文件夹”

Please add "src" as "source folder" in project properties. 请在项目属性中将“ src”添加为“源文件夹”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Eclipse声明的软件包与预期的软件包不匹配 - Eclipse declared package does not match expected package Eclipse:声明的包与预期的包不匹配 - Eclipse: The declared package does not match the expected package 如何在Eclipse中自动修复“已声明的软件包不匹配……”错误? - How do I autofix “The declared package does not match…” errors in Eclipse? Java-Eclipse-声明的软件包“ edu.uci.ics.crawler4j.examples.basic”与预期的软件包“”不匹配 - Java - Eclipse - The declared package “edu.uci.ics.crawler4j.examples.basic” does not match the expected package “” 如何修复 Eclipse 上的“声明的包与预期的包不匹配”错误? - How do I fix a “declared package does not match the expected package” error on Eclipse? 声明的包“”与预期的包不匹配 - The declared package "" does not match the expected package libgdx:声明的软件包与预期的软件包“”不匹配 - libgdx: The declared package does not match the expected package “” 声明的包与预期的包“”不匹配 - The declared package does not match the expected package “” 声明的 package "a" 与预期的 package "" 不匹配 - The declared package "a" does not match the expected package "" 声明的软件包测试与预期的软件包不匹配 - The declared package test does not match the expected package
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM