Hi! I've created the following sources:
HomePage.clj: (ns cwicket.HomePage (:gen-class :extends org.apache.wicket.markup.html.WebPage) ) WicketApplication.clj: (ns cwicket.WicketApplication <------>(:gen-class :extends org.apache.wicket.protocol.http.WebApplication) ) (defn -getHomePage [this] (class cwicket.HomePage)) However, when trying to access the context root, I get the following exception: ERROR - RequestCycle - Argument pageClass must be an instance of org.apache.wicket.Page java.lang.IllegalArgumentException: Argument pageClass must be an instance of org.apache.wicket.Page at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.<init> (BookmarkablePageRequestTarget.java:127) Here is a link to the source: http://github.com/apache/wicket/blob/wicket-1.4.5/wicket/src/main/java/org/apache/wicket/request/target/component/BookmarkablePageRequestTarget.java#L127 What could be the cause of this exception? It seems that HomePage.getClass is not recognized as an ancestor of Page, however, in repl isa? says so. Any good way to debug this? Cheers, Istvan -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en