did you try declaring as BaseClass e.g. HashMap<String,String> menuItems= new LinkedHashMap<String,String>(); ? Martin Gainty ______________________________________________ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.
From: a...@j2anywhere.com Subject: JSP Compilation issue after upgrade from 6.0.18 to 6.0.20 Date: Sun, 25 Oct 2009 00:28:03 +0100 To: users@tomcat.apache.org I am sure this issue would have come up before, but after struggling with this for several hours not and not having found anything I might as well as for help. When I deploy my application on Tomcat 6.0.18 it all works just fine, however after upgrading to Tomcat 6.0.20 I get the following exception org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 3 in the jsp file: /menu.jspf LinkedHashMap cannot be resolved to a type 1: <%...@page import="java.util.*"%> 2: <%! 3: LinkedHashMap<String,String> menuItems = new LinkedHashMap<String,String>(); 4: 5: public void jspInit() 6: { I am using JDK 1.6.0_15 on Linux, but have tried using different JDKs and many other things. I also tried moving the tools.jar to the lib folder as was suggested on several posts I found online, but this didn't make any difference. Only after downgrading back to 6.0.18 it worked. The "missing" class (java.util.LinkedHashMap) has been present in the JDK since 1.4 I believe and I don't even have a JDK older than that, so it's not a JDK version issue. Any suggestion would really help me out a lot. Kind regardAlex _________________________________________________________________ Windows 7: It helps you do more. Explore Windows 7. http://www.microsoft.com/Windows/windows-7/default.aspx?ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_evergreen3:102009