Java. util. missingresourceexception: Can't Find bundle for base name i18n, locale zh_cn

Source: Internet
Author: User
Tags i18n

Today, I switched to the need to use web services to do things. To tell the truth, I can't talk about it myself, because it is the first touch and may soon be able to do things to solve the current development problem. However, you still have to learn more slowly.
According to the Internet (http://www.cnblogs.com/liwp_stephen/archive/2008/08/03/1259385.html) can run directly,
According to the other one, there will be a language problem. Of course, this is a good solution. You may also have some experience, either define one or change the current language.
If something goes wrong, you can solve it.
1. Adjust the browser language. = Tool-Internet option-language. I don't need to mention this.
Second, set this parameter. Is an existing language. = "Parameters are included, such as en_us.
Third: add this language. Zh_cn

No problem.

Then let's look back at the source of my problem.

First, when axis is set to its own project, it actually puts its own class into it. When i18nlib. jsp is used to retrieve the language, an error occurs. The current browser uses Chinese by default,

Second, if this is not used for running. That is, he is not put into his own project. Run axis on your own, just tell the Internet, put it directly under the server and start running. Okay, no problem. It's just a problem to put him here.

Here we all know why it is ....

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.