Announcement Announcement Module
No announcement yet.
spring social showcase popup deployment error in Tomcat Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • spring social showcase popup deployment error in Tomcat

    I've built a war file from the latest source code from github using maven war:war. After copying the war file to Tomcat 7.0.20 an error occurs when Tomcat attempts to deploy the web app. This error is shown at the end of this message.

    I also noticed that the war file lacked certain files that are in the project such as and security.xml. Is this the cause of the error?

    Thanks in advance for help in getting this configured correctly.


    Stack trace:

    org.springframework.beans.factory.NoSuchBeanDefini tionException: No bean named 'springSecurityFilterChain' is defined
    at istableBeanFactory.getBeanDefinition(DefaultListab
    at BeanFactory.getMergedLocalBeanDefinition(AbstractB
    at BeanFactory.doGetBean( )
    at BeanFactory.getBean(
    at ationContext.getBean(AbstractApplicationContext.ja va:1097)
    at org.springframework.web.filter.DelegatingFilterPro xy.initDelegate(
    at org.springframework.web.filter.DelegatingFilterPro xy.initFilterBean(
    at org.springframework.web.filter.GenericFilterBean.i nit(
    at org.apache.catalina.core.ApplicationFilterConfig.i nitFilter(
    at org.apache.catalina.core.ApplicationFilterConfig.g etFilter(
    at org.apache.catalina.core.ApplicationFilterConfig.s etFilterDef(
    at org.apache.catalina.core.ApplicationFilterConfig.< init>(
    at org.apache.catalina.core.StandardContext.filterSta rt(
    at org.apache.catalina.core.StandardContext$
    at org.apache.catalina.core.StandardContext$
    at java.util.concurrent.FutureTask$Sync.innerRun(Futu
    at a:138)
    at java.util.concurrent.ThreadPoolExecutor$ Task(
    at java.util.concurrent.ThreadPoolExecutor$ (

  • #2
    Issue resolved

    I've tracked this down to user error. The prior maven build had not included the necessary files. Once I rebuilt the project again the war file had the necessary pieces and deployed correctly.