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.
1 error
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Fatal error compiling
Embedded error: APT failed: 1
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Fatal error compiling
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Fatal error compiling
at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:526)
at com.sun.enterprise.module.maven.CompilerMojo.execute(CompilerMojo.java:149)
at com.sun.enterprise.module.maven.HK2CompileMojo.execute(HK2CompileMojo.java:137)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
... 16 more
Caused by: org.codehaus.plexus.compiler.CompilerException: APT failed: 1
at com.sun.enterprise.module.maven.HK2CompileMojo$1.compileInProcess(HK2CompileMojo.java:130)
at com.sun.enterprise.module.maven.AptCompiler.compile(AptCompiler.java:103)
at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:521)
... 20 more
[Message sent by forum member 'schmidtm' (schmidtm)]
http://forums.java.net/jive/thread.jspa?messageID=337463