I have a Spring-based Application that was successfully running under Tomcat
5.5.

I've attempted to move it to JBoss 4.0.5, but it's having problems using the
JSP Expression Language (EL).

 

I made sure that I have the most recent JSTL 1.1 jstl.jar and standard.jar
files.

 

In the web.xml file I declare:

<web-app xmlns="http://java.sun.com/xml/ns/j2ee";

   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";

   xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";

   version="2.4">

 

In the JSP page, I have the following:

 

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"; %>

<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"; %>

 

But it continues to have a problem.  Spring says that it found the JSP 2.0
ExpressionEvaluator, but it can't find:

   org.apache.taglibs.standard.lang.support.ExpressionEvaluatorManager

 

I see this method in the JSTL version 1.0 standard.jar file, but not in the
version 1.1 file.

How can I figure out why and from where it is looking for that?

 

 

2007-04-30 16:40:36,511 INFO  [STDOUT] 2007-04-30 16:40:36,511 DEBUG
[org.springframework.web.servlet.view.InternalResourceViewResolver] - Cached
view [index]

2007-04-30 16:40:36,511 INFO  [STDOUT] 2007-04-30 16:40:36,511 DEBUG
[org.springframework.web.servlet.DispatcherServlet] - Rendering view
[org.springframework.web.servlet.view.JstlView: name 'index'; URL
[/WEB-INF/jsp/spring/index.jsp]] in DispatcherServlet with name 'oes'

2007-04-30 16:40:36,511 INFO  [STDOUT] 2007-04-30 16:40:36,511 DEBUG
[org.springframework.web.servlet.view.JstlView] - Rendering view with name
'index' with model null and static attributes {}

2007-04-30 16:40:36,761 INFO  [STDOUT] 2007-04-30 16:40:36,761 INFO
[org.springframework.ui.context.support.ResourceBundleThemeSource] - Theme
created: name 'theme', basename [theme]

2007-04-30 16:40:36,761 INFO  [STDOUT] 2007-04-30 16:40:36,761 DEBUG
[org.springframework.web.util.ExpressionEvaluationUtils] - Found JSP 2.0
ExpressionEvaluator

2007-04-30 16:40:36,761 INFO  [STDOUT] 2007-04-30 16:40:36,761 DEBUG
[org.springframework.util.ClassUtils] - Class
[org.apache.taglibs.standard.lang.support.ExpressionEvaluatorManager] or one
of its dependencies is not present: java.lang.ClassNotFoundException:
org.apache.taglibs.standard.lang.support.ExpressionEvaluatorManager

2007-04-30 16:40:36,776 INFO  [STDOUT] 2007-04-30 16:40:36,776 DEBUG
[org.springframework.context.support.ReloadableResourceBundleMessageSource]
- Loading properties [oesweb.properties]

2007-04-30 16:40:36,776 INFO  [STDOUT] 2007-04-30 16:40:36,776 DEBUG
[org.springframework.context.support.ReloadableResourceBundleMessageSource]
- No properties file found for [/WEB-INF/strings/oesweb_en] - neither plain
properties nor XML

2007-04-30 16:40:36,776 INFO  [STDOUT] 2007-04-30 16:40:36,776 DEBUG
[org.springframework.context.support.ReloadableResourceBundleMessageSource]
- Loading properties [oesweb_en_US.properties]

2007-04-30 16:40:36,854 INFO  [STDOUT] 2007-04-30 16:40:36,854 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/].[jsp]] -
Servlet.service() for servlet jsp threw exception

java.lang.NullPointerException

                at
org.apache.jsp.WEB_002dINF.jsp.spring.index_jsp._jspService(index_jsp.java:1
31)

                at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)

                at
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

                at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
34)

                at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)

                at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)

                at
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

                at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)

..

Thanks and Best Regards,

 

 

Reply via email to