`
vigosun
  • 浏览: 10907 次
  • 性别: Icon_minigender_1
  • 来自: 北京
文章分类
社区版块
存档分类
最新评论

Eclipse: Class file name must end with .class

阅读更多

问题: 在eclipse里使用ctr+shift+t打开一个类的时候,出现错误:Class file name must end with .class

解决办法:

 

  1. 关闭Eclipse
  2. 删除 workspace/.metadata/.plugins/org.eclipse.jdt.core/*.index
  3. 删除 workspace/.metadata/.plugins/org.eclipse.jdt.core/savedIndexNames.txt
  4. 重启 Eclipse

 

参考地址:

http://ruleoftech.wordpress.com/2009/11/04/eclipse-class-file-name-must-end-with-class-exception-in-search/

分享到:
评论

相关推荐

    org.eclipse.swt.win32

    org.eclipse.swt.internal.image.FileFormat.class org.eclipse.swt.internal.image.GIFFileFormat.class org.eclipse.swt.internal.image.JPEGAppn.class org.eclipse.swt.internal.image....

    org.eclipse.jdt.core_3.5.2.v_981_R35x

    at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:46) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt....

    java bcehuh

    org.eclipse.core.internal.resources.ResourceException: Resource is out of sync with the file system: '/HiTaxi-C/default.properties'. at org.eclipse.core.internal.resources.File.checkSynchronized(File...

    org.eclipse.paho.mqttv5.client-1.2.5.jar解决SSL认证连接SNIHostName类不存在的问题

    MQTTv5版的客户端库,原地址:...本资源合入了解决低于android7.0报错Caused by: java.lang.ClassNotFoundException: Didn't find class "javax.net.ssl.SNIHostName"的问题。

    hive-jdbc-1.1.0-cdh5.4.5-standalone.jar

    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) ...

    phonegap 配置文件(android+eclipse+phonegap(cordova)配置项目 .)

    5.4把 setContentView() line with super.loadUrl(“file:///android_asset/www/index.html”); 6. 打开AndroidManifest.xml,拷贝 <supports-screens android:largeScreens="true" android:normalScreens="true...

    org.eclipse.paho.client.mqttv3-1.1.0.jar

    亲测可用org,eclipse.paho.client.mqttv3,此jar适合用于开发低流量,不稳定的网络通讯,可用于服务端与用户端开发。

    eclipse安装activiti报错

    eclipse安装activiti报错,缺少jar包。具体报错如下: Cannot complete the install because one or more required items could not be ... requires 'org.eclipse.emf.transaction 1.4.0' but it could not be found

    eclipse/myeclipse 反编译插件 Eclipse Class Decompiler 2.10.0

    Eclipse Class Decompiler是一款Eclipse插件,整合了多种反编译器,和Eclipse Class Viewer无缝集成,能够很方便的使用插件查看类库源码,进行Debug调试。 同时还提供了在线自动查找源代码,查看Class二进制字节码的...

    HIbernate4.3.6整合c3p0所需jar

    at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt....

    jaxen.jar和dom4j.jar

    at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt....

    protobuf-dt com.google.eclipse.protobuf_2.3.2.201609161849.jar

    In the end I injected in an up-to-date version of the descriptor.proto file into the plugin jar under .p2\pool\plugins\com.google.eclipse.protobuf_2.3.2.201609161849.jar and restarted Eclipse which ...

    org.eclipse.jgit-5.10.0.202012080955-r-API文档-中文版.zip

    赠送jar包:org.eclipse.jgit-5.10.0.202012080955-r.jar; 赠送原API文档:org.eclipse.jgit-5.10.0.202012080955-r-javadoc.jar; 赠送源代码:org.eclipse.jgit-5.10.0.202012080955-r-sources.jar; 赠送Maven...

    jbpm4发布流程时,提示:ClassNotFoundException: javax.el.ELException

    NULL 博文链接:https://oracleabc-126-com.iteye.com/blog/970476

    org.eclipse.core.commands_3.6.1.

    java SWT 界面开发环境配置常见错误发生时,可能用到的资源, org.eclipse.core.commands_3.6.1.选用了64位机器环境下eclipse开发用到的jar包。

    hive-jdbc-2.1.0-standalone.jar

    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) ...

    org.eclipse.paho.client.mqttv3-1.2.5.zip

    mqtt3-1.2.5jar包和source包,mqttjar包更新的话可以拿去试试,带资源文件的,zip解压出两个jar包就可以用了

    org.eclipse.paho.client.mqttv3-1.2.0

    mqttjava客户端最新版 使用 MQ 提供的 MQTT 服务,首先需要核实应用中使用的 Topic 资源是否已经申请,如果没有,请先去控制台申请 Topic,Group ID 等资源。 申请资源时需要根据需求选择对应的 Region,例如 MQTT ...

    android mqtt.jar

    compile files('libs/org.eclipse.paho.client.mqttv3-1.1.1.jar')<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.WAKE_LOCK" /> ...

    Automating.ActionScript.Projects.with.Eclipse.and.Ant(2011.9)

    Automating.ActionScript.Projects.with.Eclipse.and.Ant(2011.9)

Global site tag (gtag.js) - Google Analytics