dev@glassfish.java.net

Re: GFV3 build error in core

From: Ludovic Champenois <Ludovic.Champenois_at_Sun.COM>
Date: Sat, 05 Jan 2008 17:00:28 -0800

Kedar Mhaswade wrote:
> V3, from scratch, entire build, as described at:
> http://wiki.glassfish.java.net/Wiki.jsp?page=V3FullBuildInstructions
>
>
> Jerome Dochez wrote:
>> seems like an APT compiler failure, which module are u trying to build ?
>>
>> jerome
>>
>> On Jan 4, 2008, at 4:20 PM, Kedar Mhaswade wrote:
>>
>>> Another fresh error:

Another one right now:
I follow
http://wiki.glassfish.java.net/Wiki.jsp?page=V3FullBuildInstructions

svn checkout https://svn.dev.java.net/svn/glassfish-svn/trunk/v3
cd v3
mvn -U install


and get:

/Users/ludo/acvs/v3/web/appserv-webtier/src/main/java/org/apache/jasper/compiler/JspUtil.java:1166:
cannot find symbol
symbol : method newInstance()
location: class javax.el.ExpressionFactory
            expFactory = ExpressionFactory.newInstance();
                                          ^
/Users/ludo/acvs/v3/web/appserv-webtier/src/main/java/org/apache/jasper/runtime/ExpressionEvaluatorImpl.java:81:
cannot find symbol
symbol : method newInstance()
location: class javax.el.ExpressionFactory
        ExpressionFactory fac = ExpressionFactory.newInstance();
                                                 ^
/Users/ludo/acvs/v3/web/appserv-webtier/src/main/java/org/apache/jasper/runtime/ExpressionEvaluatorImpl.java:114:
cannot find symbol
symbol : method newInstance()
location: class javax.el.ExpressionFactory
        ExpressionFactory fac = ExpressionFactory.newInstance();
                                                 ^
/Users/ludo/acvs/v3/web/appserv-webtier/src/main/java/org/apache/jasper/runtime/JspApplicationContextImpl.java:80:
cannot find symbol
symbol : method newInstance()
location: class javax.el.ExpressionFactory
            expressionFactory = ExpressionFactory.newInstance();
                                                 ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
4 errors
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Fatal error compiling

Embedded error: APT failed: 1
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 5 minutes 57 seconds
[INFO] Finished at: Sat Jan 05 16:53:31 PST 2008
[INFO] Final Memory: 26M/63M
[INFO]
------------------------------------------------------------------------
Macintosh-102:v3 ludo$


Either fix the build, or fix the build instructions...

Ludo