You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "L. J." <ap...@gmail.com> on 2009/05/05 21:02:46 UTC

site deploy SiteToolException: Error parsing site descriptor

We start getting this error today. Anyone know what causes this error?

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] SiteToolException: Error parsing site descriptor

Expected root element 'project' but found 'html' (position: START_TAG seen
...html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">...
@7:68)
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch

Thanks.

LJ

Re: site deploy SiteToolException: Error parsing site descriptor

Posted by Nick Stolwijk <ni...@gmail.com>.
Take a look at your site descriptor. (src/site/site.xml) It should
follow the decorations schema [1] It looks like yours start with
<html> instead of <project>.

[1] http://maven.apache.org/doxia/doxia-sitetools-1.0.x/doxia-decoration-model/decoration.html

Hth,

Nick Stolwijk
~Java Developer~

Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl



On Tue, May 5, 2009 at 9:02 PM, L. J. <ap...@gmail.com> wrote:
> Expected root element 'project' but found 'html'

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org