Wicket WAR in Jetty: .html files not on classpath
        Posted  
        
            by Ondra Žižka
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Ondra Žižka
        
        
        
        Published on 2010-04-22T08:19:26Z
        Indexed on 
            2010/04/22
            21:33 UTC
        
        
        Read the original article
        Hit count: 389
        
Hi,
I deployed a Wicket-based app's .war file to Jetty 7.0.2. The problem is that Jetty copies the classpath to a temp dir, but only copies *.class, so *.html is not available for the classloader and I get the error:
WicketMessage: Markup of type 'html' for component 'cz.dynawest.wicket.chat.ChatPage' not found.
Copying the war as an expanded directory helped. Still, I am wondering how to configure Jetty to copy everything.
And, with mvn jetty:run I get the same error.
Thanks, Ondra
© Stack Overflow or respective owner