• 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

integrating struts and spring

 
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Glad you are up and running That's what we are here for.
 
Everybody! Do the Funky Monkey! Like this tiny ad!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic