• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

integrating struts and spring

 
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

i am getting error mentioned below,i included all the required jars,i am using eclipse helios,server is jboss

Error configuring application listener of class org.springframework.web.context.ContextLoaderListener: java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener

same program works in NetBeans 6.9
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are missing the JAR file that contains that class.

If you need more help than that, consider providing more information about your application. TellTheDetails
 
shriram iyer
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Peter Johnson wrote:You are missing the JAR file that contains that class.

If you need more help than that, consider providing more information about your application. TellTheDetails




hi,

apart from jre system library (jdk),i am referencing following jars



my strutsconfig.xml is as follows


my applicationcontext.xml is as follows



my web.xml is as follows



thanks
 
Peter Johnson
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Post the full stack trace, and post the contents of your WAR (use "jar -tf xxx.war" where xxx.war is the path to your war file)
 
shriram iyer
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Peter Johnson wrote:Post the full stack trace, and post the contents of your WAR (use "jar -tf xxx.war" where xxx.war is the path to your war file)



full stack trace is




strutstag.war file content is



Actually Reference Libraries (ie External Jars)



already i have shown web.xml,struts-config.xml,applicationcontext.xml

thanks
 
Peter Johnson
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
None of the Spring JARs are in WEB-INF/lib, and it is a Spring class that is missing.

What do you mean by "Actually Reference Libraries (ie External Jars)"? Exactly where are those JARs located?
 
shriram iyer
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Peter Johnson wrote:None of the Spring JARs are in WEB-INF/lib, and it is a Spring class that is missing.

What do you mean by "Actually Reference Libraries (ie External Jars)"? Exactly where are those JARs located?



Reference Librarires means i am adding all the jars from C:\Documents and Settings\admin\Desktop\strutsspringintegrate

i did following and now its working

i created a user library and included all the jars from C:\Documents and Settings\admin\Desktop\strutsspringintegrate
After that i added that user library to Project,Properties,Deployment Assembly

thanks


 
Peter Johnson
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Glad you are up and running That's what we are here for.
 
Grow a forest with seedballs and this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!