I can't quite see what's wrong with your app from the stack you sent.
But anyway, the HelloWorld in the site is ok to get started
http://jakarta.apache.org/tapestry/QuickStart/helloworld.html.
You can also check out in the tapestry install dir examples/tutorial2
the sources for a helloWorld app.
Hope this helps
Cheers
Hugo
Adam Czysciak wrote:
Hi,
I'm trying to build the simplest hello world app for Tapestry 4. The
Quick Start guide is not completed yet, so I had to do it on my own.
When launching the app (Linux, Eclipse 3.1, Tapestry 4.0beta1, Hivemind
1.1beta2, Jetty 5.1.4-all, JettyLauncher 1.3.0) I have the error message:
org.apache.hivemind.ApplicationRuntimeException: Error: Module
hivemind is duplicated! Definition in
jar:file:/D:/adam/eclipse/test4/app/WEB-INF/lib/hivemind-1.1-beta-2.jar!/META-INF/hivemodule.xml
has been ignored in favor of existing definition from
jar:file:/D:/adam/eclipse/test4/app/WEB-INF/lib/hivemind-1.1-beta-2.jar!/META-INF/hivemodule.xml.
org.apache.hivemind.impl.StrictErrorHandler.error(StrictErrorHandler.java:39)
org.apache.hivemind.impl.RegistryInfrastructureConstructor.addModuleDescriptor(RegistryInfrastructureConstructor.java:202)
org.apache.hivemind.impl.RegistryBuilder.processModuleDescriptorProvider(RegistryBuilder.java:168)
org.apache.hivemind.impl.RegistryBuilder.constructRegistry(RegistryBuilder.java:143)
org.apache.tapestry.ApplicationServlet.constructRegistry(ApplicationServlet.java:275)
org.apache.tapestry.ApplicationServlet.init(ApplicationServlet.java:216)
org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:383)
org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:243)
org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandler.java:445)
org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplicationHandler.java:323)
org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.java:511)
org.mortbay.util.Container.start(Container.java:72)
org.mortbay.http.HttpServer.doStart(HttpServer.java:753)
org.mortbay.util.Container.start(Container.java:72)
com.iw.plugins.jettyrunner.PluginRunner.launch(PluginRunner.java:282)
com.iw.plugins.jettyrunner.PluginRunner.launch(PluginRunner.java:104)
com.iw.plugins.jettyrunner.PluginRunner.main(PluginRunner.java:75)
When I add hivemind-lib to classpath then I have the exception about
hivemind-lib...
Where could I find the simplest HelloWorld for Tapestry4, so I could see
the proper web.xml and .application files?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]