我使用的iReport 5.0.1工具來創建Jasper報表,我的報告得到正確的編譯,但是當我點擊預覽按鈕,它會引發以下錯誤: 錯誤說明: Filling report...
Locale: English (United States)
Time zone: Default
Error filling print... Can't find bundle for base n
運行時,我從一個Maven項目創建爲這樣的jar文件: java -jar basictool.jar
我得到這個錯誤例外: Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Met
我想從文件位置讀取屬性文件。但是,資源包無法找到該文件並拋出以下異常 我試着將文件保留在類路徑下,但沒有成功讀取文件。但是,我的意圖是從文件路徑讀取屬性文件,這來自用戶。所以,我的類可以讀取不可知文件輸入來獲取屬性。 Exception in thread "main" java.util.MissingResourceException: Can't find bundle for base n