You will need at least version 1.5 of the JDK.  Also, how is your
compiler configured in resin.conf?  In Resin 3.0, we noticed that we
needed to add the source argument when using the eclipse compiler:

<javac compiler="eclipse" args="-source 1.5" />

Shane

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Monday, November 05, 2007 4:25 PM
To: General Discussion for the Resin application server
Subject: Re: [Resin-interest] jsp error

Sorry for that. I'm running
Resin 3.1.3
and using JRE1.6u3. Perhaps this is because I'm not using the JDK? Let 
me try it with JDK1.6u3 and get back to you.


Eric Kreiser wrote:
> what version of resin are you running?  are you not at least using a
1.5 
> JDK?
> 
> atomi wrote:
>> i keep getting these errors for any jsp file I call no matter whats
in it.
>>
>>
>>   500 Servlet Exception
>>
>> ||
>> ----------
>> 1. ERROR in
D:\Applications\workspace\toolbox\WEB-INF\work\_jsp\_test__jsp.java
>> (at line 12)
>>      private static final
java.util.HashMap<String,java.lang.reflect.Method> _jsp_functionMap =
new 
>> java.util.HashMap<String,java.lang.reflect.Method>();
>>                           ^^^^^^^^^^^^^^^^^
>> The type HashMap is not generic; it cannot be parameterized with
arguments
>> <String, Method>
>> ----------
>>
>> 2. ERROR in
D:\Applications\workspace\toolbox\WEB-INF\work\_jsp\_test__jsp.java
>> (at line 12)
>>      private static final
java.util.HashMap<String,java.lang.reflect.Method> _jsp_functionMap =
new java.util.HashMap<String,
>> java.lang.reflect.Method>();
>>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>> Syntax error, parameterized types are only available if source level
is
>> 5.0
>> ----------
>> 3. ERROR in
D:\Applications\workspace\toolbox\WEB-INF\work\_jsp\_test__jsp.java
>>
>> (at line 12)
>>      private static final
java.util.HashMap<String,java.lang.reflect.Method> _jsp_functionMap =
new java.util.HashMap<String,java.lang.reflect.Method>();
>>
^^^^^^^^^^^^^^^^^
>>
>> The type HashMap is not generic; it cannot be parameterized with
arguments
>> <String, Method>
>> ----------
>> 4. ERROR in
D:\Applications\workspace\toolbox\WEB-INF\work\_jsp\_test__jsp.java
>> (at line 12)
>>
>>      private static final
java.util.HashMap<String,java.lang.reflect.Method> _jsp_functionMap =
new java.util.HashMap<String,java.lang.reflect.Method>();
>>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>
>> Syntax error, parameterized types are only available if source level
is
>> 5.0
>> ----------
>> 5. ERROR in
D:\Applications\workspace\toolbox\WEB-INF\work\_jsp\_test__jsp.java
>> (at line 73)
>>      public java.util.HashMap
>> <String,java.lang.reflect.Method> _caucho_getFunctionMap()
>>             ^^^^^^^^^^^^^^^^^
>> The type HashMap is not generic; it cannot be parameterized with
arguments
>> <String, Method>
>> ----------
>> 6. ERROR in
D:\Applications\workspace\toolbox\WEB-INF\work\_jsp\_test__jsp.java
>>
>> (at line 73)
>>      public java.util.HashMap<String,java.lang.reflect.Method>
_caucho_getFunctionMap()
>>                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>> Syntax error, parameterized types are only available if source level
is
>>
>> 5.0
>> ----------
>> 7. ERROR in
D:\Applications\workspace\toolbox\WEB-INF\work\_jsp\_test__jsp.java
>> (at line 75)
>>      return _jsp_functionMap;
>>             ^^^^^^^^^^^^^^^^
>> _jsp_functionMap cannot be resolved
>> ----------
>>
>> 7 problems (7 errors)
>>   
>>
>>
>>
>>
>>
------------------------------------------------------------------------
>>
>> _______________________________________________
>> resin-interest mailing list
>> resin-interest@caucho.com
>> http://maillist.caucho.com/mailman/listinfo/resin-interest
>>   
> 
>
------------------------------------------------------------------------
> 
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest


_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to