• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Example code from jGuru/Sun doesn't work on my copy of JRun

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
jGuru/Sun have a short JSP tutorial I was working through at:
http://developer.java.sun.com/developer/onlineTraining/JSPIntro/
When I complete and run the exersise/example at:
http://developer.java.sun.com/developer/onlineTraining/JSPIntro/exercises/Forms/index.html

I get the following:
Can't find resource key "BeanUtils.NoGetter" in base name allaire/jrun/jsp/resource.properties
java.util.MissingResourceException: Can't find resource key "BeanUtils.NoGetter" in base name allaire/jrun/jsp/resource.properties
at allaire.jrun.util.RB.getString(RB.java:226)
at allaire.jrun.util.RB.getMessage(RB.java:681)
at allaire.jrun.util.RB.getString(RB.java:435)
at allaire.jrun.jsp.BeanUtils.getProperty(BeanUtils.java:67)
at allaire.jrun.jsp.JRunJSPStaticHelpers.getBeanProperty(JRunJSPStaticHelpers.java:294)
at jrun__Dev__jsp__form2ejsp11._jspService(jrun__Dev__jsp__form2ejsp11.java:58)
at allaire.jrun.jsp.HttpJSPServlet.service(HttpJSPServlet.java:40)
at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013)
at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925)
at allaire.jrun.servlet.JRunNamedDispatcher.forward(JRunNamedDispatcher.java:34)
at allaire.jrun.jsp.JSPServlet.service(JSPServlet.java:175)
at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013)
at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925)
at allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.java:88)
at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1131)
at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java:330)
at allaire.jrun.jrpp.ProxyEndpoint.run(ProxyEndpoint.java:367)
at allaire.jrun.ThreadPool.run(ThreadPool.java:272)
at allaire.jrun.WorkerThread.run(WorkerThread.java:75)
is this a bug in JRun, or am I doing something wrong? I've tried running the completed 'solved' page and javabean rather than my own code and it does the same. All the other exersises ran just fine.
Any ideas?
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I suspect it is trying to tell you that it can't find a "getter" method in your Bean, but it can't find the appropriate String (resource) to issue the error message.
Bill
 
reply
    Bookmark Topic Watch Topic
  • New Topic