This content has been marked as final.
Show 8 replies
-
1. Re: Another war file deployment error :)
jaikiran Apr 8, 2008 12:54 AM (in response to leonidmir)An error occurred at line: 18 in the jsp file: /quote.jsp
Arrays cannot be resolved
Did you forget to add the import statement for java.util.Arrays in quote.jsp? -
2. Re: Another war file deployment error :)
leonidmir Apr 8, 2008 5:09 AM (in response to leonidmir)No,
it is present:<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ page import="java.util.ArrayList" %> <%@ page import="java.util.Random" %> <% //List of sayings
-
3. Re: Another war file deployment error :)
jaikiran Apr 8, 2008 5:33 AM (in response to leonidmir)"leonidMir" wrote:
No,
it is present:<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ page import="java.util.ArrayList" %> <%@ page import="java.util.Random" %> <% //List of sayings
You have imported ArrayList, but not java.util.Arrays. You will have to add one more import statement<%@ page import="java.util.Arrays" %>
-
4. Re: Another war file deployment error :)
leonidmir Apr 8, 2008 3:25 PM (in response to leonidmir)Done that.
Still the same exact error :( -
5. Re: Another war file deployment error :)
jaikiran Apr 9, 2008 2:26 AM (in response to leonidmir)Are you sure, the changes that you did to your jsp are being picked up? How have you deployed the application (archive or exploded format)? And how are you changing the jsp?
-
6. Re: Another war file deployment error :)
leonidmir Apr 9, 2008 5:52 AM (in response to leonidmir)Hi,
I changed the source queot.jsp file and then run ant againt.
After that I entered the deploy directory and checked in the created .WAR file if the changes were made. -
7. Re: Another war file deployment error :)
leonidmir Apr 10, 2008 9:28 AM (in response to leonidmir)Please someone :(
-
8. Re: Another war file deployment error :)
jaikiran Apr 10, 2008 9:56 AM (in response to leonidmir)I dont see any obvious reason why it should fail with the same error after adding the import statement. Can you try this - rename the jsp to say xyz.jsp and try accessing it. See if it works. Lets just try to eliminate the possibility that a different(old) copy of quote.jsp is being picked up.