dev@glassfish.java.net

Re: [v3] New build failure...

From: Amy Roh <Amelia.Roh_at_Sun.COM>
Date: Tue, 22 Jul 2008 10:20:44 -0700

I saw this a while ago. Deleting ~/.m2/org/glassfish/web/jspimpl helped
with the mentioned compilation error.

Also, mvn -U after updating workspace helps for me - takes a while
though ...

Kedar Mhaswade wrote:
> 0- Don't delete ~/.m2
> 1- Checkout v3 and hk2 source *afresh* on the trunk.
> 2- v3 build fails:
>
> /Users/kedar/Work/V3/v3/v3/web/web-glue/src/main/java/com/sun/enterprise/web/WebContainer.java:443:
> cannot find symbol
> symbol : method setDtdResourcePrefix(java.lang.String)
> location: class org.apache.jasper.xmlparser.ParserUtils
> ParserUtils.setDtdResourcePrefix(dtds.toURL().toString());
> ^
> /Users/kedar/Work/V3/v3/v3/web/web-glue/src/main/java/com/sun/enterprise/web/WebContainer.java:444:
> cannot find symbol
> symbol : method setEntityResolver(org.xml.sax.EntityResolver)
> location: class org.apache.jasper.xmlparser.ParserUtils
>
> ParserUtils.setEntityResolver(_serverContext.getDefaultHabitat().getComponent(EntityResolver.class,
> "web"));
> ^
> 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.
> 2 errors
>
>
> What did I do wrong?
>
> -Kedar
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>