Hi Jacob,

I recommend using the maven archetype from a recent version of Tapestry.
You can do this even without messing up your existing project.  Just copy
over the relevant portions from the generated POM.

Note that a lot has changed since Tapestry 5.0.5.  The template extension
has changed from .html to .tml.  Some annotations have moved around.  You
should check out the following page for more upgrade notes:

http://tapestry.formos.com/nightly/tapestry5/tapestry-core/

-- 
Kevin


On 1/30/08 4:59 PM, in article [EMAIL PROTECTED], "Jacob Bergoo"
<[EMAIL PROTECTED]> wrote:

> 
> Hi,
> sorry for asking again, but I am stuck at something that I think that a lot
> of persons already has configured so therefor I ask again.
> I have worked before with Spring 2.0, Tapestry 4.0.2, Hibernate 3.2, Oracal
> 10G and Dojo/Tacos... but now I want to set up a new environment with T5,
> Spring 2.5.1, Hibernate 3.2.5.ga and MySQL 5.0
> 
> I created my project following the Tutorial from tapestry home page. So I
> used the mvn create.... and I got the project structure  and using Tapestry
> 5.0.5
> After that I spend some time and got some help here on the forum to get some
> new dependencies right and now I added the Spring 2.5.1, Tapestry-Spring,
> MySQL-connector-java and commons-dbcp.
> 
> When maven now added all the different dependencies, I have 3 different
> versions of Tapestry 5.0.5, 5.0.7 and 5.0.9 and I get a strange error msg,
> that I cant understand.
> 
> 16:40:36.844 INFO   [main]
> org.springframework.web.context.ContextLoader.initWebApplicationContext(Contex
> tLoader.java:209)
>> 09> Root WebApplicationContext: initialization completed in 4595 ms
> Exception in thread "main" java.lang.AbstractMethodError
> at
> org.apache.tapestry.ioc.internal.RegistryImpl.<init>(RegistryImpl.java:135)
> at org.apache.tapestry.ioc.RegistryBuilder.build(RegistryBuilder.java:131)
> at
> org.apache.tapestry.internal.TapestryAppInitializer.getRegistry(TapestryAppIni
> tializer.java:152)
> at org.apache.tapestry.TapestryFilter.init(TapestryFilter.java:76)
> at org.mortbay.jetty.servlet.FilterHolder.start(FilterHolder.java:71)
> at
> org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplicat
> ionHandler.java:310)
> at
> org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.
> java:509)
> at org.mortbay.util.Container.start(Container.java:72)
> at org.mortbay.http.HttpServer.doStart(HttpServer.java:708)
> at org.mortbay.util.Container.start(Container.java:72)
> at com.iw.plugins.jettyrunner.PluginRunner.launch(PluginRunner.java:282)
> at com.iw.plugins.jettyrunner.PluginRunner.launch(PluginRunner.java:104)
> at com.iw.plugins.jettyrunner.PluginRunner.main(PluginRunner.java:75)
> 
> When I start up the jetty, it seems like all is working and start, but then
> in the end this message comes up... I saw something about getting a newer
> version of log4j.jar in the jetty/ext folder so I have the latest one
> there... no change... still the same message...
> 
> I did think that it should be simple to set up this combination of
> framework, but I clearly do something wrong! I am really thankful if someone
> can help me with this.
> 
> Here is my files that I am using:
> 
> http://www.nabble.com/file/p15193124/pom.xml pom.xml
> http://www.nabble.com/file/p15193124/web.xml web.xml
> http://www.nabble.com/file/p15193124/applicationContext-Persistence.xml
> applicationContext-Persistence.xml
> 
> 
> Thanks for the help,
> Jacob



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to