简体   繁体   English

Eclipse不会启动应用程序。 Java类更改了吗?

[英]Eclipse won't boot application. Java classes changed?

I just attempted to update an existing project to use Maven dependencies as oppose to existing jars that were stored in /lib/ . 我只是尝试更新现有项目,以使用Maven依赖项来反对存储在/lib/现有jar。 However upon doing so, I found that my class images have changed from: 但是,这样做后,我发现我的班级图片已从以下内容更改:

在此处输入图片说明

And I don't know why, or what the de-coloured J means. 而且我不知道为什么,或者脱色的J是什么意思。 I haven't encountered this in Eclipse before. 我以前在Eclipse中从未遇到过。 Can anyone offer any advice? 谁能提供任何建议?

All of a sudden my application wont boot because it can't find main() . 突然我的应用程序无法启动,因为找不到main()

The icon means the file is recognised as Java source, but no longer as part of your project. 该图标表示该文件被识别为Java源,但不再作为项目的一部分。 Check the build path (and maybe you need to reload from the POM if it is incorrect). 检查构建路径(如果不正确,可能需要从POM重新加载)。

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

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