473,783 Members | 2,563 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

java.util.Missi ngResourceExcep tion: Can't find bundle for base name MessagesBundle

oll3i
679 Contributor
when i run my jsp file i get an error


SEVERE: Servlet.service () for servlet jsp threw exception
java.util.Missi ngResourceExcep tion: Can't find bundle for base name MessagesBundle, locale pl_PL
at java.util.Resou rceBundle.throw MissingResource Exception(Resou rceBundle.java: 1508)
at java.util.Resou rceBundle.getBu ndleImpl(Resour ceBundle.java:1 262)
at java.util.Resou rceBundle.getBu ndle(ResourceBu ndle.java:789)
at Classes.Config. <init>(Config.j ava:20)
at Classes.Config. getInstance(Con fig.java:11)
at org.apache.jsp. candidates.inde x_jsp._jspServi ce(index_jsp.ja va:51)
at org.apache.jasp er.runtime.Http JspBase.service (HttpJspBase.ja va:98)
at javax.servlet.h ttp.HttpServlet .service(HttpSe rvlet.java:803)
at org.apache.jasp er.servlet.JspS ervletWrapper.s ervice(JspServl etWrapper.java: 331)
at org.apache.jasp er.servlet.JspS ervlet.serviceJ spFile(JspServl et.java:329)
at org.apache.jasp er.servlet.JspS ervlet.service( JspServlet.java :265)
at javax.servlet.h ttp.HttpServlet .service(HttpSe rvlet.java:803)
at org.apache.cata lina.core.Appli cationFilterCha in.internalDoFi lter(Applicatio nFilterChain.ja va:269)
at org.apache.cata lina.core.Appli cationFilterCha in.doFilter(App licationFilterC hain.java:188)
at org.apache.cata lina.core.Stand ardWrapperValve .invoke(Standar dWrapperValve.j ava:213)
at org.apache.cata lina.core.Stand ardContextValve .invoke(Standar dContextValve.j ava:174)
at org.apache.cata lina.core.Stand ardHostValve.in voke(StandardHo stValve.java:12 7)
at org.apache.cata lina.valves.Err orReportValve.i nvoke(ErrorRepo rtValve.java:11 7)
at org.apache.cata lina.core.Stand ardEngineValve. invoke(Standard EngineValve.jav a:108)
at org.apache.cata lina.connector. CoyoteAdapter.s ervice(CoyoteAd apter.java:174)
at org.apache.coyo te.http11.Http1 1Processor.proc ess(Http11Proce ssor.java:874)
at org.apache.coyo te.http11.Http1 1BaseProtocol$H ttp11Connection Handler.process Connection(Http 11BaseProtocol. java:665)
at org.apache.tomc at.util.net.Poo lTcpEndpoint.pr ocessSocket(Poo lTcpEndpoint.ja va:528)
at org.apache.tomc at.util.net.Lea derFollowerWork erThread.runIt( LeaderFollowerW orkerThread.jav a:81)
at org.apache.tomc at.util.threads .ThreadPool$Con trolRunnable.ru n(ThreadPool.ja va:689)
at java.lang.Threa d.run(Thread.ja va:619)
2008-06-03 13:25:19 org.apache.coyo te.http11.Http1 1BaseProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
2008-06-03 13:25:23 org.apache.cata lina.core.Stand ardService stop
INFO: Stopping service Catalina
2008-06-03 13:25:34 org.apache.coyo te.http11.Http1 1BaseProtocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
2008-06-03 13:25:34 org.apache.cata lina.core.AprLi fecycleListener lifecycleEvent
INFO: Failed shutdown of Apache Portable Runtime

i know polish locale is not tested what should i do?


Thank You
Jun 3 '08 #1
6 6957
JosAH
11,448 Recognized Expert MVP
Does a file "MessagesBundle " or "MessagesBundle _pl" exist?

kind regards,

Jos
Jun 3 '08 #2
oll3i
679 Contributor
You are right i had a typo
Jun 3 '08 #3
oll3i
679 Contributor
i corrected the typo and i still get the same error:(
Jun 4 '08 #4
r035198x
13,262 MVP
i corrected the typo and i still get the same error:(
Did you rebuild the project?
Also Jos' question above is still valid.
Jun 4 '08 #5
JosAH
11,448 Recognized Expert MVP
i corrected the typo and i still get the same error:(
Well, the exception tells you that it still can't find that resource bundle so either
the name is not correct or the file is not stored in the right place.

kind regards,

Jos
Jun 4 '08 #6
oll3i
679 Contributor
yupi it works i moved it to the classes package and it works :)
Jun 4 '08 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

0
9874
by: James Hong | last post by:
Help please, I try to sending an email from my html page using the java applet. but it give error on most of the PC only very few work, what is the error i make the java applet show as below ********************************** package Celcom.Client;
0
1790
by: Martin | last post by:
Hi All, I am a relative newbie to Java / Applets, but am despirately after some help ! I have got the following code, which is basically a listing with button items along the sides, allowing the items in the list to be moved up/down etc. Obviously, for the top and bottom items, the appropriate move up /
73
8073
by: RobertMaas | last post by:
After many years of using LISP, I'm taking a class in Java and finding the two roughly comparable in some ways and very different in other ways. Each has a decent size library of useful utilities as a standard portable part of the core language, the LISP package, and the java.lang package, respectively. Both have big integers, although only LISP has rationals as far as I can tell. Because CL supports keyword arguments, it has a wider range...
4
3640
by: Kunle Odutola | last post by:
I'm trying to understand where the information in the META.INF directory including MANIFEST.MF etc is to be found for .NET assemblies. Also some projects such as Eclipse's OSGi kernel stores additional info in the MANIFEST.MF file. What would be the .NET equivalent where such info can be stored? Kunle --
2
3150
by: Michael | last post by:
Running DB2 v7 UDB ("DB2 v7.1.0.93", "n031208" and "WR21333") on Windows XP, I am unable to find out why the "Build for Debug" option within Stored Procedure Builder is not enabled on Java stored procedures. It is enabled for SQL stored procedures. It is possible to "Build" and "Run" the Java SPs, it just isn't possible to click on the "Build for Debug" option. Thanks for any help in advance. Michael
11
7703
by: hamiltongreg | last post by:
I am new to Java and am having problems getting my program to compile correctly. My assignment is as follows; Choose a product that lends itself to an inventory (for example, products at your workplace, office supplies, music CDs, DVD movies, or software). • Create a product class that holds the item number, the name of the product, the number of units in stock, and the price of each unit. • Create a Java application that displays the...
8
28600
by: ajos | last post by:
hi frnds, im trying to convert my servlets database configuration from ms access to mysql database.however im getting some error like no driver found exception. to verify this error ive made a simple database in jsp(just to check if my mysql is working smoothly otherwise) which access' the username.....but in the process im getting a error--> java.sql.SQLException: Access denied for user ''@'localhost' (using password: NO) i have...
7
18815
madhoriya22
by: madhoriya22 | last post by:
Hi, I am trying to read a file sent from client to server. Here is how I am trying it .... String filePath = request.getParameter("SelectCSVFile"); System.out.println("path:::---> "+filePath); String fileName = filePath.substring(filePath.lastIndexOf("/")+1); System.out.println("File Name:\t"+fileName); try { File file = new File(filePath);
2
3767
by: yeshello54 | last post by:
so here is my problem...in a contact manager i am trying to complete i have ran into an error..we have lots of code because we have some from class which we can use...anyways i keep getting an error when i do the following. if you add a contact with up to 13 fields it will be stored in a data structure. i have a tabbed pane that will show six of the 13 fields for that contact. when you double click the contact i want it to pop up and show all 13...
0
9643
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10315
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10083
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8968
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7494
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4044
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3645
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2877
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.