This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

** Root cause is&#58; Compiler errors&#58;
Found 1 semantic error compiling "E&#58;/JRun/servers/default/SERVER-INF/temp/petclinic.war-1661684858/WEB-INF/jsp/jrun__WEB2dINF__jsp__findOwners2ejsp1b.java"&#58;
61. status = &#40;org.springframework.web.servlet.support.BindStatus&#41; pageContext.findAttribute&#40;"status"&#41;;
<---->
*** Error&#58; No entity named "status" was found in this environment.
jrunx.compiler.DefaultCFE&#58; Compiler errors&#58;
Found 1 semantic error compiling "E&#58;/JRun/servers/default/SERVER-INF/temp/petclinic.war-1661684858/WEB-INF/jsp/jrun__WEB2dINF__jsp__findOwners2ejsp1b.java"&#58;
61. status = &#40;org.springframework.web.servlet.support.BindStatus&#41; pageContext.findAttribute&#40;"status"&#41;;
<---->
*** Error&#58; No entity named "status" was found in this environment.
at jrunx.compiler.JavaCompiler.compile&#40;JavaCompiler.java&#58;138&#41;
at jrunx.compiler.JavaCompiler.compile&#40;JavaCompiler.java&#58;97&#41;
at jrun.jsp.Translator.compilePage&#40;Translator.java&#58;176&#41;
at jrun.jsp.Translator.translate&#40;Translator.java&#58;254&#41;
at jrun.jsp.Translator.translate&#40;Translator.java&#58;101&#41;
at jrun.jsp.JSPEngine.translateJSP&#40;JSPEngine.java&#58;693&#41;
at jrun.jsp.JSPServlet.translate&#40;JSPServlet.java&#58;125&#41;
at jrun.jsp.JSPServlet.service&#40;JSPServlet.java&#58;113&#41;
at jrun.servlet.ServletInvoker.invoke&#40;ServletInvoker.java&#58;91&#41;
at jrun.servlet.JRunInvokerChain.invokeNext&#40;JRunInvokerChain.java&#58;42&#41;
at jrun.servlet.JRunRequestDispatcher.invokeNext&#40;JRunRequestDispatcher.java&#58;439&#41;
at jrun.servlet.JRunRequestDispatcher.forwardInvoke&#40;JRunRequestDispatcher.java&#58;409&#41;
at jrun.servlet.JRunRequestDispatcher.forward&#40;JRunRequestDispatcher.java&#58;178&#41;
at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel&#40;InternalResourceView.java&#58;91&#41;
at org.springframework.web.servlet.view.AbstractView.render&#40;AbstractView.java&#58;241&#41;
at org.springframework.web.servlet.DispatcherServlet.render&#40;DispatcherServlet.java&#58;678&#41;
at org.springframework.web.servlet.DispatcherServlet.doService&#40;DispatcherServlet.java&#58;562&#41;
at org.springframework.web.servlet.FrameworkServlet.service&#40;FrameworkServlet.java&#58;321&#41;
at javax.servlet.http.HttpServlet.service&#40;HttpServlet.java&#58;853&#41;
at jrun.servlet.ServletInvoker.invoke&#40;ServletInvoker.java&#58;91&#41;
at jrun.servlet.JRunInvokerChain.invokeNext&#40;JRunInvokerChain.java&#58;42&#41;
at jrun.servlet.JRunRequestDispatcher.invoke&#40;JRunRequestDispatcher.java&#58;252&#41;
at jrun.servlet.ServletEngineService.dispatch&#40;ServletEngineService.java&#58;527&#41;
at jrun.servlet.http.WebService.invokeRunnable&#40;WebService.java&#58;168&#41;
at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable&#40;ThreadPool.java&#58;348&#41;
at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable&#40;ThreadPool.java&#58;451&#41;
at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable&#40;ThreadPool.java&#58;294&#41;
at jrunx.scheduler.WorkerThread.run&#40;WorkerThread.java&#58;66&#41;
Cookies&#58;
org.springframework.web.servlet.theme.CookieThemeResolver.THEME=&#91;theme&#93;
DEFAULTFORMAT=&#91;specific&#93;
BUGLIST=&#91;&#93;
VERSION-TestProduct=&#91;other&#93;
LASTORDER=&#91;bugs.bug_id&#93;
JSESSIONID=&#91;5e301746491097807250640&#93;

Comment

I really hate seeing 'me, too!' posts, when they don't add any new information to the problem discussion...

HOWEVER, I do feel that I need to register my vote for a resolution of this issue, since it's holding up a very aggressive deadline I have at work. I haven't dug into the taglib sources yet to take a stab at fixing it - that's my next move, but I will contribute this information for starters:

I'm having this problem (the 'status' pagecontext attribute not being bound) from within MY OWN webapp, wherein I'm using the spring:bind tag. So, it's not specific to the jPetclinic. Also, I'm using spring-1.0.2 rather than spring-1.1.x so it's pervasive throughout the versions apparently.

As you can see, this thread took place in 2001...apparently either the bug didn't actually get filed, or it hasn't been resolved. I have confirmed that this bug still exists in JRun 4 Update 4, and that the workaround given in the support thread works.

Here is the workaround:

Modify the spring.tld file (embedded in the spring.jar archive) to have a <declare>true</declare> sub-element within each <variable/> element...it will look similar to this: