Guys, I think you're missing the big picture here. As Thiago has said, tapestry only needs the templates on the classpath.
This is the job of the build tool (ie maven / gradle / ant). If you want src/main/java to go to your classpath, you need to configure maven to include these as resources. By default only src/main/resources are copied into the jar by maven. IMHO I'm against this sorta maven config and I prefer the sensible maven conventions.