标签: java eclipse geometry-class-library
尝试导入javafx.geometry.Point2D时,收到以下错误消息:
javafx.geometry.Point2D
Access restriction: The type 'Point2D' is not API (restriction on required library 'C:\Program Files\Java\jre1.8.0_65\lib\ext\jfxrt.jar')
我尝试导入javafx.geometry.*,但我仍然无法从Point2D类创建对象。有关如何解决此问题的任何建议吗?
javafx.geometry.*
Point2D