dev@glassfish.java.net

Re: 3.1.2 build error

From: Jerome Dochez <jerome.dochez_at_oracle.com>
Date: Mon, 12 Dec 2011 14:18:04 -0800

that could be a problem with the last hk2 integration, let me check.

jerome

On Dec 12, 2011, at 2:10 PM, Jennifer Galloway wrote:

> I get the following error building 3.1.2. Any body else see this? I tried removing my local maven repo and checking out a fresh source with no changes.
>
> [INFO] ------------------------------------------------------------------------
> [INFO] Building in /Users/jenchou/scratch/gf/3.1.2_test/3.1.2/web/web-glue
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ web-glue ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 2 resources
> [INFO] Copying 2 resources
> [INFO]
> [INFO] --- hk2-maven-plugin:1.1.12:hk2-compile (default-hk2-compile) @ web-glue ---
> [INFO] Compiling 122 source files to /Users/jenchou/scratch/gf/3.1.2_test/3.1.2/web/web-glue/target/classes
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> /Users/jenchou/scratch/gf/3.1.2_test/3.1.2/web/web-glue/src/main/java/com/sun/enterprise/web/WebContainer.java:533: cannot find symbol
> symbol : method addListenerForType(java.lang.Class<com.sun.enterprise.config.serverbeans.SystemProperty>,com.sun.enterprise.web.reconfig.WebConfigListener)
> location: class org.jvnet.hk2.config.Transactions
> transactions.addListenerForType(SystemProperty.class, configListener);
> ^
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> 1 error
>