大家好,我现在遇到一个关于Resourebundle的问题,我用记事本分别建了default.properties和default_cn.properties文件,后缀已经变成properties然后用Resourcebundle.getBundle方法调用,具体如:(java.util.ResourceBundle.getBundle("Picture/default").getString("Image"));
出错了,看.CHM又看不懂,请各位高手告诉帮帮我,谢谢!!!!!!!!!!
出错了,看.CHM又看不懂,请各位高手告诉帮帮我,谢谢!!!!!!!!!!
是否放在了CLASSPATH目录下?
比如com.test.param.properties的话
java.util.ResourceBundle.getBundle(com.test.param);
cannot find bundle for base name PictureDrawer.default,locale zh_CN