dev@glassfish.java.net

Re: [v3] New build failure...

From: Sahoo <Sahoo_at_Sun.COM>
Date: Tue, 22 Jul 2008 22:47:36 +0530

Kedar,

I guess you did not run "mvn -u," did you? Every time you refresh your
workspace, you must run "mvn -u." See [1].

Thanks,
Sahoo

[1]
http://www.nabble.com/-GFv3--Using-outdated-SNAPSHOTs-causing-build-issues-tt18453775.html#a18453775

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
>