dev@glassfish.java.net

Re: Compilation error

From: Kin-man Chung <Kin-Man.Chung_at_Sun.COM>
Date: Wed, 04 Mar 2009 17:12:06 -0800

Turns out that I have a v3/pom.xml that contains snapshot version of
jsp while the trunk does not. I've updated pom.xml to use snapshot
and the build should work now. Thanks Jane for the help.

On 03/04/09 16:10, Kin-man Chung wrote:
> Strange! I didn't have problem building it. I did
>
> 1. svn update
> 2. rm -rf ~/.m2/repository/org/glassfish/web/jsp-impl
> 3. mvn -U clean install
>
> Without problem.
>
> I am seeing
>
> Downloading:
> http://download.java.net/maven/2/org/glassfish/web/jsp-impl/2.1.3-SNAPSHOT/jsp-impl-2.1.3-SNAPSHOT.jar
>
> 514K downloaded
>
> which shows that the correct jsp-impl is being downloaded.
>
> Jane, how cab I deploy the jar onto
> http://download.java.net/maven/glassfish?
>
> thanks.
>
> -Kin-man
>
> On 03/04/09 15:12, Jane Young wrote:
>> I'm seeing the same build error.
>> It's related to this check-in:
>> https://glassfish-svn.dev.java.net/source/browse/glassfish-svn?rev=25098&view=rev
>>
>>
>> Kin-man, please fix it?
>>
>> Thanks,
>> Jane
>>
>>
>> Shing Wai Chan wrote:
>>> Just update the workspace and have the following compilation error.
>>> I have removed the following in .m2/repository and rebuild it.
>>> javax/servlet/jsp, javax/servlet/jsp-api,
>>> org/glassfish/javax.servlet.jsp, org/glassfish/web/jsp-impl
>>> The result is the same.
>>> Any idea?
>>> Thanks.
>>> Shing Wai Chan
>>>
>>>
>>> [INFO] Compiling 44 source files to
>>> /export/gfv3/src/v3/web/web-glue/target/classes
>>> Note:
>>> /export/gfv3/src/v3/web/web-glue/src/main/java/com/sun/enterprise/web/WebComponentInvocation.java
>>> uses or overrides a deprecated API.
>>> Note: Recompile with -Xlint:deprecation for details.
>>> /export/gfv3/src/v3/web/web-glue/src/main/java/com/sun/enterprise/web/TomcatDeploymentConfig.java:573:
>>> makeJspPropertyGroups(java.util.Vector,java.util.Vector,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.util.Vector,java.util.Vector)
>>> in org.apache.jasper.compiler.JspConfig cannot be applied to
>>> (java.util.Vector,java.util.Vector,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.util.Vector,java.util.Vector,java.lang.String,java.lang.String,java.lang.String)
>>>
>>> JspConfig.makeJspPropertyGroups(jspProperties,
>>> ^
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>