I have tried the instructions at
https://tapestry.apache.org/getting-started.html using Tapestry 5.7.2
archetype.

1. The code produced by 5.7.2 archetype uses 5.6 packages
org.apache.tapestry5.services.Request, RequestFilter, RequestHandler,
Response so it won't compile.

As there were only four to be fixed I manually changed them in
com.example.newapp.services.AppModule.java to

import org.apache.tapestry5.http.services.Request;
import org.apache.tapestry5.http.services.RequestFilter;
import org.apache.tapestry5.http.services.RequestHandler;
import org.apache.tapestry5.http.services.Response;
 
2. Instructions say use 'mvn jetty:run' but there is no jetty plugin
defined in the pom so this doesn't work despite the nice screen shot
showing it working with 5.7.2.

3. I ran 'mvn spring-boot:run' and this ran successfully. However, one
of the reasons I was trying the archetype was because I was getting a
lot of duplicate jar warnings in the project I was migrating to 5.7.2.
Maybe spring-boot solves this problem by not copying duplicates into its
uber jar. Do I need to convert my existing project to include
spring-boot for building a war?

Thanks

Tim


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to