机器学习:weka源码在eclipse的配置和异常VerifyError的解决
今天把weka源码导入eclipse,打算学习下weka源码,遇到一些问题,网上资料不足,自己总结下,希望为后来人铺路。
1)新建java项目,命名weka3-6
2)把weka-src.jar解压,再把src\main\java\weka文件拽到项目的src目录
3)把weka-src\lib目录的三个jar包引进
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAATAAAADECAIAAACX7eofAAAUEElEQVR4nO2db2wTZ57H/abv86LSLe96/Xe8ShGKKp1fcLy5ht4ibQ8JaYUuWq7Xzm2l065aVjLomjuTLRJNqepmY5yVSkh0RxRYfArk8CW0PSBLs9kt2wYK3uxGkISUI4sTCEkxju3w3IvxzDzPzPOMx/Z45sn4+9EjcMbP/LE1n/ye+fdNiAAApCHk9wYAAAwgJAASUZOQv18IcgPAeyAkhAQS4Z2QhJDNrx+tdC4ICRoKCAkhgUS4LOTV5AG91U3I6X0toV0DEBIEEDeFnDx9gH538vR+027th5CpXSEVpcum24ASsnQDwHv4Qj558qTsFKKpFT/4fvzg+/GDh/N/7s3/uTc7c3Tx6gfzl9r/ePbt+MHDhJAf/NtJtb/nQk7vaykJ1tUWCrWlhDa2xIZQIYEEcIQ8fvx4JBIpFAr6lEKhEIlE+vr6TD3VHff9f/3w0McT5OEYv2keEn+HrALrfr8wva8lvG+CMwsA3mMWslgsRiKR7du3606qNqpTisUi3Vnfd995+xckM8xvhPxq7A+bXz+6+fWjx89fJRYhu9pCzR3T+vCyZJrhjz7m1LtRQk7EmkNa6VNfh0KhEEdXai1sm4g1t8T2tZlWASGBP3AqZD6f1w3MZrMmP2n0ffef/vmX5M5/ChtvFr0NdYRLRg0ozS1hVQnNn9SukF6+dA+1FwNKiH63TSuAA4pxKKhZKqyoA4rx7kSs2VhgHb90AETwjyH1qrhz506RjYSyixBy77fH507svvfb44SQvW/07n3jmNp+9MaxvW8e+5H6+s1je984xqlRIaVrgXS1hfdNpHa1xIb0YaRxroWuYNP7WkK72hTreZqhjrD13IxeIS0lV1sFNZSlC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qJKB1E6egESUjiTaaOkwppBFtVJKT2E6J0qlzRho3S0QmSkB5l6tRPSETpNGyUjk5ghPQuU4fxx5TGQSoQElE6iNKxEgwhvczUMTtlTr6xF1KbhU65QpQOonR0giEk8TJTx/UrF4jSkQ/fNjUwQhKvMnVcv69GgjvnEKVjxadNDZKQlVJxpo7ryTeI0gEmGllIAKQDQgIgERASAImAkABIBIQEQCIgJAASASEBkAgICYBEbDAh0dAapFUnirveidfj97eDhuZxq04Ud70Tr8fvbwcNzeNWnSjuegcAqAUICYBEQEgAJAJCAiAREBIAiYCQAEgEhARAIiAkABIBIQGQCAgJgERASAAkAkICIBEQEgCJgJAASASEBEAiICQAEgEhAZAICAmAREBIACQCQgIgERASAImAkABIBIQEQCIgJAASASEBkAgICYBEQEgAJAJCAiAREBIAiYCQAEgEhARAIiAkABIBIQGQCAgJgERASAAkAkICIBEQEgCJgJAASASEBEAiICQAEgEhAZAICAmAREBIACQCQgIgERASAIn4fzN5PE+QsjNSAAAAAElFTkSuQmCC" alt="" />
运行main函数出现VerifyError异常,如下:
java.lang.VerifyError: Expecting a stackmap frame at branch target in method com.abc.domain.myPackage.MyClass$JaxbAccessorM_getDescription_setDescription_java_lang_String.get(Ljava/lang/Object;)Ljava/lang/Object; at offset
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:)
at java.lang.Class.getConstructor0(Class.java:)
at java.lang.Class.newInstance0(Class.java:)
at java.lang.Class.newInstance(Class.java:)
at com.sun.xml.internal.bind.v2.runtime.reflect.opt.OptimizedAccessorFactory.instanciate(OptimizedAccessorFactory.java:)
at com.sun.xml.internal.bind.v2.runtime.reflect.opt.OptimizedAccessorFactory.get(OptimizedAccessorFactory.java:)
at com.sun.xml.internal.bind.v2.runtime.reflect.Accessor$GetterSetterReflection.optimize(Accessor.java:)
at com.sun.xml.internal.bind.v2.runtime.property.SingleElementLeafProperty.<init>(SingleElementLeafProperty.java:)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:)
at java.lang.reflect.Constructor.newInstance(Constructor.java:)
at com.sun.xml.internal.bind.v2.runtime.property.PropertyFactory.create(PropertyFactory.java:)
at com.sun.xml.internal.bind.v2.runtime.ClassBeanInfoImpl.<init>(ClassBeanInfoImpl.java:)
at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.getOrCreate(JAXBContextImpl.java:)
at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:)
at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:)
at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:)
at com.sun.xml.internal.bind.v2.ContextFactory.createContext(ContextFactory.java:)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:)
at java.lang.reflect.Method.invoke(Method.java:)
at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:)
at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:)
at javax.xml.bind.ContextFinder.find(ContextFinder.java:)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:)
at com.abc.domain.myPackage.MyClass.marshalFacetsTest(MyClass.java:)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:)
at java.lang.reflect.Method.invoke(Method.java:)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:)
at org.testng.TestRunner.privateRun(TestRunner.java:)
at org.testng.TestRunner.run(TestRunner.java:)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:)
at org.testng.SuiteRunner.run(SuiteRunner.java:)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:)
at org.testng.TestNG.runSuitesLocally(TestNG.java:)
at org.testng.TestNG.run(TestNG.java:)
at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:)
解决方案:把jdk7改成jdk6,并把complier的jdk7编译器改成6
机器学习:weka源码在eclipse的配置和异常VerifyError的解决的更多相关文章
- spring源码解析——spring源码导入eclipse
一.前言 众所周知,spring的强大之处.几乎所有的企业级开发中,都使用了spring了.在日常的开发中,我们是否只知道spring的配置,以及简单的使用场景.对其实现的代码没有进行深入的了 ...
- 将struts源码导入eclipse
预制条件和spring源码导入eclipse中一样,下面直接给出导入eclipse的步骤. 步骤: 1. 下载struts相应版本的源码 http://struts.apache.org/downlo ...
- Tomcat源码导入Eclipse测试
想要研究下Tomcat的体系结构或者源码,最好将Tomcat的源码导入到ide中,编写实例进行代码跟踪(debug). 这里参考了网上一些资料,将自己操作过程记个流水账. 准备: 1.Tomcat源码 ...
- hadoop2.5.2学习及实践笔记(二)—— 编译源代码及导入源码至eclipse
生产环境中hadoop一般会选择64位版本,官方下载的hadoop安装包中的native库是32位的,因此运行64位版本时,需要自己编译64位的native库,并替换掉自带native库. 源码包下的 ...
- 【流媒体开发】VLC Media Player - Android 平台源码编译 与 二次开发详解 (提供详细800M下载好的编译源码及eclipse可调试播放器源码下载)
作者 : 韩曙亮 博客地址 : http://blog.csdn.net/shulianghan/article/details/42707293 转载请注明出处 : http://blog.csd ...
- spring源码第一章_获取源码并将源码转为eclipse工程
1.通过http://gitforwindows.org/下载github 2.通过http://services.gradle.org/distributions/下载gradle:gardle类似 ...
- MyCat源码分析系列之——配置信息和启动流程
更多MyCat源码分析,请戳MyCat源码分析系列 MyCat配置信息 除了一些默认的配置参数,大多数的MyCat配置信息是通过读取若干.xml/.properties文件获取的,主要包括: 1)se ...
- Tomcat源码导入eclipse的步骤
Tomcat源码导入eclipse 一.下载源码 1. 进入Apache 官网:http://tomcat.apache.org/ 2. 在左边侧选择要下载的源码的版本. 3. 或者直接通过Ar ...
- tomcat源码导入eclipse步骤
1. 获取源代码 方式一:从官网http://tomcat.apache.org/download-70.cgi 直接下载,官网提供了Binary 和 Source Code两种下载方式,要研究tom ...
随机推荐
- 讲解开源项目:让你成为灵魂画手的 JS 引擎:Zdog
本文作者:HelloGitHub-kalifun HelloGitHub 的<讲解开源项目>系列,项目地址:https://github.com/HelloGitHub-Team/Arti ...
- GC垃圾收集算法
JVM中的垃圾收集算法实现涉及大量的程序细节,而且各个平台的虚拟机操作内存的方法又各不相同,这里介绍几种垃圾收集算法的思想. 1.标记-清除算法 这是最基础的垃圾收集算法,分为“标记”和“清除”两个阶 ...
- hbase shell命令及Java接口介绍
一. shell命令 1. 进入hbase命令行 ./hbase shell 2. 显示hbase中的表 list3. 创建user表,包含info.data两个列族create 'user', ...
- HBase 超详细介绍
1-HBase的安装 HBase是什么? HBase是Apache Hadoop中的一个子项目,Hbase依托于Hadoop的HDFS作为最基本存储基础单元,通过使用hadoop的DFS工具就可以看到 ...
- C#中 CS1752无法嵌入互操作类型"OPCServerClass"。请改用适用的接口。
使用C#+VS开发OPC程序是,调用Interop.OPCAutomation中的类时,提示无法嵌入互操作类型"OPCServerClass".请改用适用的接口. 首先说一下它的含 ...
- Django跳转到不同的页面的方法和实例–使用Django建立你的第一个网站
1 前记 这次记录的这些东西,主要是自己在搭建个人网站的时候遇到的一些问题记录,不算严格意义上的教程和使用说明.按照目前自己的web水平,去写这方面的教程无疑是误人子弟.因为自己虽然做程序员很多年,但 ...
- [Spark] 02 - Practice Spark
开发环境 教学视频:Spark的环境搭建,需安装配置环境:Java, Hadoop 环境配置:玩转大数据分析!Spark2.X+Python 精华实战课程(免费)[其实只是环境搭建] 进入pyspar ...
- [Vue warn]: Duplicate keys detected: 'area'. This may cause an update error.
运行vue程序,浏览器报错: 原因:检测到重复的密钥:'area',因为在使用v-for循环绑定的时候,key的值是唯一的,不能相同,否则会出现意想不到的bug 解决办法:v-for时绑定的key唯一
- Hadoop核心组件之MapReduce
MapReduce概述 Google MapReduce的克隆版本 优点:海量数据的离线处理,易开发,易运行 缺点:实时流式计算 Hadoop MapReduce是一个软件框架,用于轻松编写应用程序, ...
- Python学习笔记整理总结【Django】:模板语言、分页、Cookie、Session
一.模板语言 1.在前段展示:对象/字典/元组 class Business(models.Model): # id #用默认的自增id列 即:Business中有3列数据(id, caption, ...