Hello
What is the proper way of using message sources on AppEngine please?
This is what I've bumped into:
java.lang.NoClassDefFoundError: java.util.ResourceBundle$Control is a
restricted class. Please see the Google App Engine developer's guide for
more details. at
com.google.apphosting.runtime.security.shared.stub.java.util.ResourceBundle$Control.<clinit>(ResourceBundle.java)
at
org.springframework.context.support.ResourceBundleMessageSource.doGetBundle(ResourceBundleMessageSource.java:313)
at
org.springframework.context.support.ResourceBundleMessageSource.getResourceBundle(ResourceBundleMessageSource.java:268)
at
org.springframework.context.support.ResourceBundleMessageSource.resolveCodeWithoutArguments(ResourceBundleMessageSource.java:231)
at
org.springframework.context.support.AbstractMessageSource.getMessageInternal(AbstractMessageSource.java:218)
at
org.springframework.context.support.AbstractMessageSource.getMessage(AbstractMessageSource.java:151)
at
org.springframework.context.support.DelegatingMessageSource.getMessage(DelegatingMessageSource.java:66)
at
org.springframework.context.support.AbstractApplicationContext.getMessage(AbstractApplicationContext.java:1122)
at
org.thymeleaf.spring4.messageresolver.SpringMessageResolver.resolveMessage(SpringMessageResolver.java:151)
Nothing special here:
<bean id=*"messageSource"* class=
*"org.springframework.context.support.ResourceBundleMessageSource"*>
<property name=*"basename"* value=*"messages/Messages"* />
<property name=*"cacheSeconds"* value=*"-1"* />
</bean>
Regards
Jarda
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.