Just curios if anyone else has run into this problem. We upgraded from 1.41 to 1.5.0, and I knew the browse indexing was going to change so we did the inidex-init, and index-update, but for some reason in the jspui (which we will soon not be using) on the browse by title and date they generate an internal error.

org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: 335 in the jsp file: /browse/full.jsp
Generated servlet error:
/usr/share/tomcat5/work/Catalina/localhost/jspui/org/apache/jsp/browse/full_jsp.j
ava:510: generics are not supported in -source 1.3
(try -source 1.5 to enable generics)
       Set<SortOption> sortOptions = SortOption.getSortOptions();
          ^


An error occurred at line: 342 in the jsp file: /browse/full.jsp
Generated servlet error:
/usr/share/tomcat5/work/Catalina/localhost/jspui/org/apache/jsp/browse/full_jsp.j
ava:522: for-each loops are not supported in -source 1.3
(try -source 1.5 to enable for-each loops)
               for (SortOption sortBy : sortOptions)
                                      ^
2 errors

The java on the machine is 1.5, so I'm not sure where the 1.3 is coming from?

Thanks,
Bill

--
Bill G. Kelm - Systems Librarian
Willamette University Library
900 State Street - Salem, OR 97301
Phone: 503-375-5332   Fax: 503-370-6141

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to