the problem is most likely the fact that wicket tries to load markup
out of the javadoc jar instead of the wicket jar. the javadoc has html
files named the same as wicket jar.

it doesnt make sense to have the javadoc jar on your classpath. but,
if you must, just make sure it is on the classpath *after* the wicket
jar.

-igor

On Tue, Oct 12, 2010 at 12:13 PM, btbluesky <btblue...@gmail.com> wrote:
>
> I finally found out what exactly the problem is.
> I used the quickstart to generate a new project from scratch.
> In my maven, I have wicket javadoc to be dependency. whenever that
> dependency is there. All the ajax calls failed in both jetty and tomcat (I
> setup both servers to test them), and spurring out bunch of javadoc html
> failed code.
>
> The second I take that dependency out of my eclipse WTP project, redeploy,
> it's perfectly fine.
>
> Is it just me, what am I doing wrong. Again the only thing I used is, enable
> "maven manage" in eclipse, and then add the javadoc in the dependency.
>
> <dependency>
>        <groupId>org.apache.wicket</groupId>
>        <artifactId>wicket</artifactId>
>        <version>${wicket.version}</version>
>        <classifier>javadoc</classifier>
> </dependency>
>
>
> The error:
>
>
> Unexpected RuntimeException
>
> WicketMessage: Tag '<DT>' (line 103, column 1) has a mismatched close tag at
> '</DL>' (line 104, column 1)
> [markup =
> jar:file:/D:/mavenRepo/org/apache/wicket/wicket/1.4.12/wicket-1.4.12-javadoc.jar!/org/apache/wicket/ajax/markup/html/navigation/paging/AjaxPagingNavigator.html
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
> "http://www.w3.org/TR/html4/loose.dtd";>
> ........
> ....
> Markup
>
> The problem is in
> "jar:file:/D:/mavenRepo/org/apache/wicket/wicket/1.4.12/wicket-1.4.12-javadoc.jar!/org/apache/wicket/ajax/markup/html/navigation/paging/AjaxPagingNavigator.html":
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/AjaxPagingNavigator-give-out-strange-error-tp2327360p2992535.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to