HelloWorld.html should be next to HellowWorld.class in WEB-INF/ classes/wicket/examples/helloworld/

-jason
On Jan 17, 2006, at 8:24 AM, Kevin Slater wrote:

I must be missing something simple. I'm trying to do the simple Hello World example from the Wicket Getting Started Examples on the Wicket site. I make up a war with the following contents:

$ jar -tvf HelloWorld.war
     0 Tue Jan 17 09:57:26 EST 2006 META-INF/
   106 Tue Jan 17 09:57:24 EST 2006 META-INF/MANIFEST.MF
     0 Tue Jan 17 09:57:26 EST 2006 WEB-INF/
     0 Tue Jan 17 09:57:26 EST 2006 WEB-INF/lib/
38015 Tue Jan 17 09:18:10 EST 2006 WEB-INF/lib/commons- logging-1.0.4.jar
121070 Tue Jan 17 09:18:10 EST 2006 WEB-INF/lib/junit-3.8.1.jar
350627 Tue Jan 17 09:18:10 EST 2006 WEB-INF/lib/log4j-1.2.11.jar
166319 Tue Jan 17 09:18:10 EST 2006 WEB-INF/lib/ognl-2.6.7.jar
 77977 Tue Jan 17 09:18:10 EST 2006 WEB-INF/lib/servletapi-2.3.jar
715156 Tue Jan 17 09:20:32 EST 2006 WEB-INF/lib/wicket-1.1.jar
     0 Tue Jan 17 09:57:26 EST 2006 WEB-INF/classes/
     0 Tue Jan 17 09:29:44 EST 2006 WEB-INF/classes/wicket/
     0 Tue Jan 17 09:29:44 EST 2006 WEB-INF/classes/wicket/examples/
0 Tue Jan 17 09:29:44 EST 2006 WEB-INF/classes/wicket/examples/ helloworld/ 525 Tue Jan 17 09:29:44 EST 2006 WEB-INF/classes/wicket/examples/ helloworld/HelloWorld.class 611 Tue Jan 17 09:29:44 EST 2006 WEB-INF/classes/wicket/examples/ helloworld/HelloWorldApplication.class
   266 Tue Jan 17 09:27:06 EST 2006 HelloWorld.html
   811 Tue Jan 17 09:30:54 EST 2006 WEB-INF/web.xml

If I drop this war into the webapps directory of my local Tomcat 5.5.12 and then go to http://localhost:9080/HelloWorld/helloworld

I get an Unexpected RuntimeException with the following on the error page:

wicket.markup.MarkupNotFoundException: Markup of type 'html' for component 'wicket.examples.helloworld.HelloWorld' not found. Enable debug messages for wicket.util.resource.Resource to get a list of all filenames tried:
[Page class = wicket.examples.helloworld.HelloWorld, id = 2]
at wicket.MarkupContainer.getAssociatedMarkupStream (MarkupContainer.java:720)
at wicket.Page.onRender(Page.java:778)
at wicket.Component.render (Component.java:1163)
at wicket.Page.doRender(Page.java:251)
at wicket.protocol.http.WebRequestCycle.redirectTo (WebRequestCycle.java:276)
at wicket.RequestCycle.respond(RequestCycle.java:934)
at wicket.RequestCycle.request(RequestCycle.java:411)
at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:208)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
<truncated>

I'd just like to get beyond this so I could start working with Wicket. Any pointers GREATLY appreciated.

...Kevin

-- "Science without religion is lame, religion without science is blind." -- Albert Einstein (1879 - 1955)



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to