本地开发好之后,调试运行都没有问题,部署在服务器上运行直接报了以下Error:
Exception in thread "warehouseStart-9001" java.lang.NoClassDefFoundError: javafx/util/Pair at com.kc.evo.wcs.adapter.impl.BasicMapServiceImpl.selectByWarehouse(BasicMapServiceImpl.java:163) at com.kc.evo.wcs.application.init.WarehouseStart.buildMap(WarehouseStart.java:301) at com.kc.evo.wcs.application.init.WarehouseStart.run(WarehouseStart.java:103) Caused by: java.lang.ClassNotFoundException: javafx.util.Pair at java.net.URLClassLoader.findClass(URLClassLoader.java:382) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:93) at java.lang.ClassLoader.loadClass(ClassLoader.java:357)