Please post the entire exception stacktrace. Also do you have a jboss-web.xml? What does it contain? Please post its contents.
While posting logs or xml content or code, please remember to wrap it in a code block by using the Code button in the message editor window. Please use the Preview button to ensure that your post is correctly formatted.
Here is a recent topic that contains working code: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=150529 (see my last post at the end of the topic)
Note that the resource-ref stanza was not required in web.xml.
Hi, thanks for the replies. After adding the jboss-web.xml, i finally solve the error. However i encounter the spring problem.
I will post the new question in the relevant section.
Thanks for the advice. Greatly appreciated. :)