java.lang.NoClassDefFoundError: jxl.Workbook错误的解决
2015-11-26 10:28
531 查看
今天做android读取excel 使用到了jxl包
选定工程->右键属性->Java Build Path->Add External Jars->选定你下载的Jar包的位置
运行报错:
解决方案:
在Order and Export 勾选
Order and Export
1、Determine in which order projects and libraries appear in the classpath. If there are any duplicate classes, this determines which version is loaded
2、Determine which projects and libraries will be exported and thus available in other projects that depend on this one.
Order and Export tab
In the Build class path order list, you can click the Up and Down buttons to move the selected path entry up or down in the build path order for this new project.
Checked list entries are marked as exported. Exported entries are visible to projects that require the project. Use the Select All and Deselect All to change the checked state of all entries. Source folders are always exported, and can not be deselected.
选定工程->右键属性->Java Build Path->Add External Jars->选定你下载的Jar包的位置
运行报错:
01-20 14:35:10.184: E/AndroidRuntime(886): java.lang.NoClassDefFoundError: jxl.Workbook
解决方案:
在Order and Export 勾选
Order and Export
1、Determine in which order projects and libraries appear in the classpath. If there are any duplicate classes, this determines which version is loaded
2、Determine which projects and libraries will be exported and thus available in other projects that depend on this one.
Order and Export tab
In the Build class path order list, you can click the Up and Down buttons to move the selected path entry up or down in the build path order for this new project.
Checked list entries are marked as exported. Exported entries are visible to projects that require the project. Use the Select All and Deselect All to change the checked state of all entries. Source folders are always exported, and can not be deselected.
相关文章推荐
- Spring源码阅读一——IOC
- [Java代码] JDBC分页工具类
- Spring MVC 多文件上传大小限制及异常处理
- java多线程之Executors线程池
- android NDK 学习笔记(3)---eclipse 环境自动创建头文件.h ---javah
- 最全 Eclipse 快捷键
- Spring配置事务
- 在struts2中重定向加参数
- java笔记--关于线程同步(5种同步方式)【转】
- java调用外部exe程序并传参
- JAVA的数据存储
- 解决Maven工程中报 Missing artifact jdk.tools:jdk.tools:
- Spring MVC+MyBatis框架使用多个数据源以及之间的切换
- java cookies session 的思考。
- Java算法---发工资
- eclipse报错:发现了以元素 'd:skin' 开头的无效内容。此处不应含有子元素
- Java并发编程:线程池的使用
- Spring REST for DELETE Request Method Not Supoorted
- Java算法---杨辉三角的打印输出
- Spring注解@Component、@Repository、@Service、@Controller区别