WorkFlowSim中异常问题

来源:互联网 发布:网络金融发展趋势 编辑:程序博客网 时间:2024/06/08 11:38

java.lang.Exception: Properties File Not Reachable. Please use physical path
 at org.workflowsim.utils.ArgumentParser.<init>(ArgumentParser.java:92)
 at org.workflowsim.examples.WorkflowSimExample1.main(WorkflowSimExample1.java:98)
Error in config format

 

这是出现的异常问题,解决方案在WorkFlowSimExample1中,

 * This WorkflowSimExample creates a workflow planner, a workflow engine, and
 * one schedulers, one data centers and 20 vms. All the configuration of
 * CloudSim is done in WorkflowSimExamplex.java All the configuration of
 * WorkflowSim is done in the config.txt that must be specified in argument of
 * this WorkflowSimExample. The argument should have at least: "-p
 * path_to_config.txt"

在Myeclipse环境下,Run->RunConfiguritions,Arguments中的Programs Arguments添加-p path_to_config.txt,比如我的是-p F:\CloudSim\WorkflowSim-1.0-master\config\config.txt

原创粉丝点击