开发者

Cannot read (or find?) ResourceBundle

开发者 https://www.devze.com 2023-03-11 05:49 出处:网络
Below is my project structure. Project --src --com --jasper --JasperDemo.java --i18n.properties

Below is my project structure.

Project
   |
   |--src
   |    |
   |    |--com
   |    |    |
   |    |    |--jasper
   |    |         |
   |    |         |--JasperDemo.java
   |    |
   |    |--i18n.properties
   |
   | 
   |--Arabic.jrxml 

In the properties file there is a key text1.paragraph and it's value may be in any language(most preferable arabic).

In the .jrxml file I have set ResourceBundle="i18n" and in the textfield have used $R{text1.paragraph}

Now the problem is that when I run it from eclipse in the PDF file I get output of the field as $R{text1.paragraph} not it's v开发者_运维百科alue

0

精彩评论

暂无评论...
验证码 换一张
取 消