on 02-01-2005 2:02 PM
Hi Guys, sorry for asking so many question, but I am very new to this. What do the error message below means? I am very lost.
'java.util.MissingResourceException: Can't find bundle for base name com.sap.tc.webdynpro.tutorials.quiz.resources.Answers, locale en_US
at java.util.ResourceBundle.throwMissingResourceException
(ResourceBundle.java:839)'
Conrad
Hi Conrad,
I assume that you did not define exactly this package when developing the quiz tutorial application. Perhaps you defined a package
com.sap.tc.webdynpro.<u>tutorial</u>.quiz.resources.Answers instead of com.sap.tc.webdynpro.<u>tutorial<b>s</b></u>.quiz.resources.Answers. In this case a MissingResourceException is thrown.
Regards, Bertram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, it's look like you are fighting with Quiz tutorial
The following error means that wd runtime can't find resource bundle called "com.sap.tc.webdynpro.tutorials.quiz.resources.Answers" for locale en_US. Resource bundle is a file that contains locale specific data like translated text.
The code wich throws this exception located in the doInit method of your WD component controller, here it is:
// Load the resource bundle "Questions.properties" located
// in the package "com.sap.tc.webdynpro.tutorials.quiz.resources.Questions"
// for locale set in the resource handler.
resourceHandlerForQuestions.loadResourceBundle(
"com.sap.tc.webdynpro.tutorials.quiz.resources.Questions",
this.getClass().getClassLoader());
resourceHandlerForAnswers.loadResourceBundle(
"com.sap.tc.webdynpro.tutorials.quiz.resources.Answers",
this.getClass().getClassLoader());
In general this code simply can't find Answer.properties file which should be located in WebDynpro_Quiz/src/packages/com/sap/tc/webdynpro/tutorials/quiz/resources/ folder.
Is this file exist?
Victor.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.