Solution for eclipse NoClassDefFoundError
来源:互联网 发布:微信跳转到淘宝app 编辑:程序博客网 时间:2024/05/22 14:17
I encountered the problem of NoClassDefFoundError when run the newly established java project.
I searched on the Internet, but none of those solution works on me.
After several tests, I found that I set wrong .project and .classpath file.
So I put the well configured files in the following:
FileName: .classpath
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="output" path="bin"/>
</classpath>
FileName: .project
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>YOURPROJECTNAME</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
- Solution for eclipse NoClassDefFoundError
- Solution Accelerator for Intranets
- GAMS Solution for Ex5.
- Index for WC Solution
- Datameer for Hadoop Solution
- Codeforces887C-Solution for Cube
- Solution for "Could not initialize class org.eclipse.jface.preference.PreferenceConverter"
- Android Eclipse NoClassDefFoundError
- perfect solution for playing heroes3
- ExtMail Solution HOWTO for Linux
- Record for windows thread solution
- linux command solution for problems
- Capture Text solution for Qt
- codeforces C. Solution for Cube
- solution to maven + lombok + eclipse
- NoClassDefFoundError - Eclipse添加jar包后报错
- My solution for SRM 306 DIV2 [250]
- Which EII Solution is Right for You
- awk中打印双引号和单引号的方式和分析
- ios图形优化
- 将资源优化到最小
- Centos上用c语言连接mysql
- [leet code] Validate Binary Search Tree
- Solution for eclipse NoClassDefFoundError
- mysql的tmp_table_size和max_heap_table_size
- 用getchar()和putchar()加速IO(含整型快速IO和浮点型快速IO)
- 建立简单DLL流程(二)
- Android学习小Demo(8)SQLiteDatabase的使用
- 物理优化
- 适合企业管理环境的手持/平板电脑
- poj1312 dfs 深度优先搜索
- 继承与多态(下)