errors in the struts application


I have a sample program when i try to run using strut2 framework using tomcat7 it gives me error. I have added the right jars of the strut2. i donot know why it did not run and i have set the jars in my lib also.. here is my sample code attached with the list of jars.... and the structure of the package........
can some body able to resolve it


error log
SEVERE: Exception starting filter action
java.lang.NoClassDefFoundError: org/apache/commons/lang3/StringUtils
      at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(
      at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(
      at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(
      at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(
      at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(
      at org.apache.struts2.dispatcher.Dispatcher.init(

Who is Participating?
CEHJConnect With a Mentor Commented:
You need commons-lang. The jar is missing. The class in question is provided on my system by commons-lang3-3.1.jar
roy_sanuAuthor Commented:
Thanks for the info.there is no error regarding that.
but  getting another error on strut2 application while running  on the  tomcat
Here is the error log on the namespaces.
am  using the url as

SEVERE: Exception occurred during processing request: There is no Action mapped for namespace [/] and action name [] associated with context path [/Strut2Latest].
There is no Action mapped for namespace [/] and action name [] associated with context path [/Strut2Latest]. - [unknown location]
      at com.opensymphony.xwork2.DefaultActionProxy.prepare(
      at org.apache.struts2.impl.StrutsActionProxy.prepare(
      at org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(
      at com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(
      at org.apache.struts2.dispatcher.Dispatcher.serviceAction(
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(
      at org.apache.catalina.core.StandardWrapperValve.invoke(
      at org.apache.catalina.core.StandardContextValve.invoke(

Here is my struts.xml with a namespace and a url above, but i do not have any idea why it gives the above error. let me know if this can be resolved

<?xml version="1.0" encoding="UTF-8" ?>
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"

<package name="default" namespace= "/tutorials" extends="struts-default">
      <action name="getTutorial" class ="com.tutorial.Tutorialaction">
      <result name ="success">/sucess.jsp</result>
Here is my class
package com.tutorial;

public class Tutorialaction {

      public String execute() {
            System.out.println(" Hello");
            return "success";

Sharon SethCommented:
From where did you pick up Strut2Latest that is seen in the URL?
roy_sanuAuthor Commented:
Thanks it is working now
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.