users@glassfish.java.net

Re: GFv3 build failure in trunk

From: Jan Luehe <Jan.Luehe_at_Sun.COM>
Date: Tue, 17 Mar 2009 10:15:22 -0700

On 03/17/09 08:33 AM, glassfish_at_javadesktop.org wrote:
> Hi *,
>
> I'm unable to build GFv3 trunk at the moment - I get the error below. Can some of you comment?
>
> cheers,
>
> Matthias
>
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Web Container glue code
> [INFO] task-segment: [install]
> [INFO] ------------------------------------------------------------------------
> [INFO] [enforcer:enforce {execution: enforce-versions}]
> [INFO] [osgiversion:compute-osgi-version {execution: compute-osgi-version}]
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [hk2:hk2-compile]
> [INFO] Compiling 1 source file to /src/glassfish/v3/web/web-glue/target/classes
> Note: /src/glassfish/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.
> /src/glassfish/v3/web/web-glue/src/main/java/com/sun/enterprise/web/TomcatDeploymentConfig.java:246: reference to ErrorPageDescriptor is ambiguous, both class com.sun.enterprise.deployment.web.ErrorPageDescriptor in com.sun.enterprise.deployment.web and class com.sun.enterprise.deployment.ErrorPageDescriptor in com.sun.enterprise.deployment match
> Enumeration<ErrorPageDescriptor> e =
> ^
> Note: /src/glassfish/v3/web/web-glue/src/main/java/com/sun/enterprise/web/TomcatDeploymentConfig.java uses unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
>

I think your workspace is stale.

There should be only a single ErrorPageDescriptor, which resides in:

  
deployment/dol/src/main/java/com/sun/enterprise/deployment/ErrorPageDescriptor.java

Therefore, there should not be any ambiguity.


Jan