• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

SEVERE: Exception starting filter struts2 Unable to load configuration.

 
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have an application in struts2 that is configured in eclipse and it is running fine. this application library set as classpath
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
<classpathentry kind="lib" path="E:/tomcat-6/lib/juiceup-libs/mysql-connector-java-5.0.8.jar"/>
<classpathentry kind="lib" path="E:/tomcat-6/lib/juiceup-libs/struts2-core-2.1.6.jar"/>
<classpathentry kind="lib" path="E:/tomcat-6/lib/juiceup-libs/commons-beanutils-1.8.0.jar"/>
<classpathentry kind="lib" path="E:/tomcat-6/lib/juiceup-libs/commons-codec-1.3.jar"/>
...
...
...
</classpath>

-----------------------------

Now i want to deploy that application with different name, So i create new web application and put that jars into lib directory of application.

Now I see that exception on eclipse console..

SEVERE: Exception starting filter struts2
Unable to load configuration. - bean - somepath/WEB-INF/lib/struts2-core-2.1.6.jar!/struts-default.xml:29:72

I am stuck with this problem, please suggest me how to resolve this issue.


 
Ranch Hand
Posts: 485
Eclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
probably problem with jar files make sure that you have included all the necessary jar files.
 
Greenhorn
Posts: 11
Eclipse IDE Tomcat Server Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Seems that there is a conflict between 2 jars in your application and due to which Struts2 is unable to start is filter. looking at the log shows that you have 2 struts2-core jars in your class-path

struts2-core-2.2.3.1.jar
struts2-core-2.1.8.1.jar


remove all struts jar file and place only one jar and run it

Check your application class path for the same jar with multiple versions.
Untitled.jpg
[Thumbnail for Untitled.jpg]
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic