我一直在努力解决有关JavaFx ImageView类的问题。用fxml编写的代码
<ImageView fitHeight="634.0" fitWidth="1204.0" layoutX="38.0" layoutY="83.0" pickOnBounds="true" preserveRatio="true" rotate="-8.0">
<image>
<Image url="@\PCI%20logoRYB.png" />
</image></ImageView>
,并且一直显示此错误
Cannot resolve file '\PCI%20logoRYB.png'
我使用场景生成器创建了所有这些图像,并且图像与fxml文件位于同一位置