Hi Hilcon,

On Wed, Sep 17, 2008 at 01:19, Kit Yeung <[EMAIL PROTECTED]> wrote:
I am doing a evaluation on Tapestry, I am very new to Tapestry as well as
Java and its frameworks.

Don't you think you're taking on slightly more than you can handle? If
you're really that new to Java, its frameworks, and Tapestry, I would
suggest you focus on getting to know Java first. Even more so if
you're also new to programming in general (I couldn't tell from your
post). There are plenty of tutorials around.

It seems difficult to properly evaluate something without a more solid
foundation.

Sorry for not being specify, I am working on a project on evaluating various Java frameworks. By new mean I am just not used to program in Java, but I've got years of experience in other programming languages and frameworks like Django or Zend.


java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest

You don't have servlet.jar in your classpath.

I've kept trying to resolve this problem by numerous trial and error since I asked this question. And in case anyone who had this problem when following the tutorial and came across this problem, you may want to add:

<dependency>
      <groupId>org.apache.tapestry</groupId>
      <artifactId>tapestry-test</artifactId>
      <version>${tapestry-release-version}</version>
</dependency>

to your pom.xml .

I've followed the tutorial to create my project by this command:

mvn archetype:create
  -DarchetypeGroupId=org.apache.tapestry
  -DarchetypeArtifactId=quickstart
  -DgroupId=org.apache.tapestry
  -DartifactId=tutorial1
  -DpackageName=org.apache.tapestry5.tutorial


And seem the tapestry-test is not part of the pom.xml dependency when generated through the above command so the maven2 dependencies were not added properly, jar files like ant, servlet and selenium were missing.

Thanks.

Kit



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

Reply via email to