码迷,mamicode.com
首页 > 编程语言 > 详细

CloudSim4.0报错NoClassDefFoundError,Caused by: java.lang.ClassNotFoundException: org.apache.commons.math3.distribution.UniformRealDistribution

时间:2016-12-21 21:37:47      阅读:299      评论:0      收藏:0      [点我收藏+]

标签:blog   步骤   天下   class   com   sed   1nf   rar   aries   

今天下载了CloudSim 4.0的代码,运行其中自带的示例程序,结果有一部分运行错误:

技术分享

技术分享

原因是找不到org.apache.commons.math3.distribution.UniformRealDistribution类,

解决办法:需要添加引用commons-math3-3.6.1.jar(下载地址:commons-math3-3.6.1.jar)。

步骤:eclipse项目名称右键->Properties->Java Build Path->Labraries->Add External JARs->选择下载好的commons-math3-3.6.1.jar,确定即可。

CloudSim4.0报错NoClassDefFoundError,Caused by: java.lang.ClassNotFoundException: org.apache.commons.math3.distribution.UniformRealDistribution

标签:blog   步骤   天下   class   com   sed   1nf   rar   aries   

原文地址:http://www.cnblogs.com/aaronhoo/p/6208928.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!