You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Bonser, Ryan" <Ry...@ca.com> on 2015/03/26 16:25:07 UTC
java.lang.IllegalArgumentException: Page directive: invalid value
for import
Hi,
I have a webapp that has been working fine for years in Tomcat 5,6 and earlier releases of 7 up to 7.0.33.
Deployed the same app into Tomcat 8.0.20 and receiving the following errors in the localhost log
Mar 26, 2015 10:52:15 AM org.apache.catalina.core.ApplicationDispatcher invoke
SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.IllegalArgumentException: Page directive: invalid value for import
Mar 26, 2015 10:52:15 AM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet [Faces Servlet] in context with path [/WER] threw exception [An exception occurred processing JSP page /Tabpane.jsp at line 379
376: function linkClicked(selectedEntid, linkclientId){
377: <%
378: com.ca.wso.beans.SearchObjects searchObjects1 = (com.ca.wso.beans.SearchObjects)session.getAttribute("searchObjects");
379: ArrayList entIdList1 = searchObjects1.getEntIdList();
380:
381: //System.out.println("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~The entIdList in JSP PAGE is "+entIdList);
382:
The import hasn't changed in years in this jsp
%@ page import="com.ca.wso.beans.*" %>
<%@ page import="java.util.*"%>
Thanks for the help!
Re: java.lang.IllegalArgumentException: Page directive: invalid value
for import
Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Ryan,
On 3/26/15 11:25 AM, Bonser, Ryan wrote:
> Hi, I have a webapp that has been working fine for years in Tomcat
> 5,6 and earlier releases of 7 up to 7.0.33. Deployed the same app
> into Tomcat 8.0.20 and receiving the following errors in the
> localhost log
>
> Mar 26, 2015 10:52:15 AM
> org.apache.catalina.core.ApplicationDispatcher invoke SEVERE:
> Servlet.service() for servlet jsp threw exception
> java.lang.IllegalArgumentException: Page directive: invalid value
> for import
>
>
> Mar 26, 2015 10:52:15 AM
> org.apache.catalina.core.StandardWrapperValve invoke SEVERE:
> Servlet.service() for servlet [Faces Servlet] in context with path
> [/WER] threw exception [An exception occurred processing JSP page
> /Tabpane.jsp at line 379
>
> 376: function linkClicked(selectedEntid, linkclientId){
> 377: <% 378: com.ca.wso.beans.SearchObjects
> searchObjects1 =
> (com.ca.wso.beans.SearchObjects)session.getAttribute("searchObjects");
>
>
379: ArrayList entIdList1 = searchObjects1.getEntIdList();
> 380: 381:
> //System.out.println("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~The
> entIdList in JSP PAGE is "+entIdList); 382:
>
> The import hasn't changed in years in this jsp
>
> %@ page import="com.ca.wso.beans.*" %> <%@ page
> import="java.util.*"%>
That first line is a typo, right?
Can you post the whole stack trace?
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org
iQIcBAEBCAAGBQJVFD+kAAoJEBzwKT+lPKRYLzQQALsIeeDzY5j+Q5X/dJ1+0cJn
G7ZE3lLnylaDCxMx/lYaTxMlEeB7kE2wMziQJsSbYtKYU3eV4cZAAZHAHlVCOLD6
aBpepgcUG3hlqy8M9VRTtJdShZOq2rlVwr60ubiipB/qAxtoec3pNJIhfMat6VgY
P6vUCTU5z+FPD1YXKx/NojACzaZoKPwwElADtZL1t2znkeYz2T05vzEr1HC/ueoK
lJ4l22mSjbrHdVb5bo+fosUHlXoKRPIHbJJ1temsAcu2H3bbrzQHTmtqiSEsPO4m
DSNGNXS9yasUKKKM2TtLSYYtQACtgBns471TNsfQZXa9TRfBvTYM7m7agx0sjs2C
lqTxtlVGljcxDSTVMyAsdh9qysJHksKs0JPe3+73JU9R32ypRA6JM+qrnQwY+Kka
H6tJwuvd1BjxvHBCDcIOKRLmooTmK2PPUh50DJQOpWxporRczf50qAQjGeKmIkpz
sgjfmbKhIuJhXN82uJc1TMzYPu+mUR7C7ZWkYPRsBJnljpZzvmYTSmqKWMlehDv+
O7hQ32cauUJ0SKgRiy/Fm9a+GV80TBxtnwRJA0eLZE4pL64bpUFrvvX0xem6JXxO
Mfe7MN8B2dcM2mikx4Y+WlT1O7j/l87hxZF94cWWgZnaciZybpRqJpuW/gG38M/d
+sav58wyEZZwWRvDjU+W
=qtiS
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org