помогите пожалуйста что не так? в чем может быть причина не запускается программа из этой лекции https://javarush.com/groups/posts/2463-debug-v-intellij-idea-gayd-dlja-novichkov код классов: package com.github.romankh3.debugpresentation; import java.util.List; import lombok.Data; /** * Class represents bee in programmatically way. */ @Data public class Bee { /** * Current nectar capacity */ private double nectarCapacity; /** * Maximal nectar that can take bee. */ private double maxNectarCapacity = 20.0; public void fetchNectar(HoneyPlant honeyPlant) { double fetchCountPerTime = 1.0; while (nectarCapacity < maxNectarCapacity) { double retrievedNectar = honeyPlant.retrieveNectar(fetchCountPerTime); if (retrievedNectar == 0) { return; } nectarCapacity += retrievedNectar; } } public void fetchNectar(List<HoneyPlant> honeyPlants) { for (HoneyPlant honeyPlant : honeyPlants) { fetchNectar(honeyPlant); } } public double giveNectar() { double nectar = nectarCapacity; nectarCapacity = 0; return nectar; } } ------------------------------------------------------------------- package com.github.romankh3.debugpresentation; import java.util.ArrayList; import java.util.List; /** * Class which shows bee-hive in programmatically way. */ public class BeeHive { private final List<Bee> bees; private BeeQueen beeQueen = new BeeQueen(); private double honey; public BeeHive(Integer beeCount) { List<Bee> beeList = new ArrayList<>(); for (int i = 0; i < beeCount; i++) { beeList.add(new Bee()); } this.bees = beeList; } public void populateHoney() { double nectarFromAllTheBees = bees.stream().mapToDouble(Bee::giveNectar).sum(); honey += createHoney(nectarFromAllTheBees); double honeyForQueen = 2; honey = honey - honeyForQueen; beeQueen.eatNectar(honeyForQueen); } private double createHoney(double nectar) { return nectar * 0.5; } public double getHoney() { return honey; } public List<Bee> getBees() { return bees; } } ----------------------------------------------------------------- package com.github.romankh3.debugpresentation; /** * Class which shows bee-hive in programmatically way. */ public class BeeQueen { private double eatenNectar = 0; public void eatNectar(double nectar) { eatenNectar += nectar; } public double getEatenNectar() { return eatenNectar; } } ---------------------------------------------------- package com.github.romankh3.debugpresentation; /** * Class represents flower in programmatically way. */ public class HoneyPlant { private double nectarCapacity; public HoneyPlant(double nectarCapacity) { this.nectarCapacity = nectarCapacity; } public double retrieveNectar(double nectar) { if (nectar == 0) { return 0; } nectarCapacity -= nectar; if (nectarCapacity < 0) { throw new RuntimeException("there is not enough nectar in this flower"); } return nectar; } } -------------------------------------------------- package com.github.romankh3.debugpresentation; import java.util.Arrays; import java.util.List; /** * Main class for debug presentation. */ public class Main { public static void main(String[] args) { // создаем медоносы: яблочное и сливовое деревья HoneyPlant appleTree = new HoneyPlant(40); HoneyPlant plumTree = new HoneyPlant(30); // добавляем деревья в коллекцию List<HoneyPlant> honeyPlants = Arrays.asList(appleTree, plumTree); // создаем улик с семью пчелами BeeHive beeHive = new BeeHive(7); // собираем нектар beeHive.getBees().forEach(bee -> { bee.fetchNectar(honeyPlants); }); // получить мёд из нектара пчел beeHive.populateHoney(); // отобразим результат System.out.println(String.format("%s honey was produced by %d bees from %d honey plants", beeHive.getHoney(), beeHive.getBees().size(), honeyPlants.size())); } } ------------------------------------------ В проекте есть такие классы: Bee — обычная рабочая пчела; BeeQueen — пчелиная матка; BeeHive — улей; HoneyPlant — медонос, с которого собирают мед; нектар переходит в мед с пропорцией 2 к 1 должно вывестись вот так: “33.0 honey was produced by 7 bees from 2 honey plants” ----------------------------------------------------------------- pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.github.romankh3</groupId> <artifactId>debug-presentation</artifactId> <version>1.0-SNAPSHOT</version> <dependencies> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>1.18.10</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>8</source> <target>8</target> </configuration> </plugin> </plugins> </build> </project>