我是 drool planner 的新手并尝试运行 cloudbalancing 示例,我复制了代码新的 java 项目(没有 swing)并尝试运行 CloudBalancingApp.java 然后得到以下执行。
我复制了以下课程
CloudBalanceApp.java
AbstractPersistable.java
CloudBalance.java
云计算机.java
CloudProcess.java
CloudComputerStrengthComparator.java
CloudProcessDifficultyComparator.java
当尝试运行 CloudBalancingApp.java 然后得到以下异常
Exception in thread "main" com.thoughtworks.xstream.converters.ConversionException:
No enum constant org.optaplanner.core.config.score.director.ScoreDirectorFactoryConfig.ScoreDefinitionType.HARD_AND_SOFT :
No enum constant org.optaplanner.core.config.score.director.ScoreDirectorFactoryConfig.ScoreDefinitionType.HARD_AND_SOFT