title: org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException... why?
body: <p>I develop server using spring mvc and hibernate.
  So, I write my server program using Spring mvc and maven.
  However when I start my server program at tomcat server, Error occurs.
  That is things expected. so, I search using my error message.
  However I can't find answer. help me....</p>
  
  <p>This is my servlet-context.xml</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;beans:beans xmlns="http://www.springframework.org/schema/mvc"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans"
   xmlns:context="http://www.springframework.org/schema/context"
   xsi:schemaLocation="http://www.springframework.org/schema/mvc
   http://www.springframework.org/schema/mvc/spring-mvc.xsd
    http://www.springframework.org/schema/beans
    http://www.springframework.org/schema/beans/spring-beans.xsd
    http://www.springframework.org/schema/context
    http://www.springframework.org/schema/context/spring-context.xsd"
   xmlns:tx="http://www.springframework.org/schema/tx"&gt;
  
   &lt;!-- DispatcherServlet Context: defines this servlet's request-processing 
    infrastructure --&gt;
  
   &lt;!-- Enables the Spring MVC @Controller programming model --&gt;
   &lt;annotation-driven /&gt;
  
   &lt;!-- Handles HTTP GET requests for /resources/** by efficiently serving 
    up static resources in the ${webappRoot}/resources directory --&gt;
   &lt;resources mapping="/resources/**" location="/resources/" /&gt;
  
   &lt;!-- Resolves views selected for rendering by @Controllers to .jsp resources 
    in the /WEB-INF/views directory --&gt;
   &lt;beans:bean
    class="org.springframework.web.servlet.view.InternalResourceViewResolver"&gt;
    &lt;beans:property name="prefix" value="/WEB-INF/views/" /&gt;
    &lt;beans:property name="suffix" value=".jsp" /&gt;
   &lt;/beans:bean&gt;
  
   &lt;context:component-scan base-package="kr.ac.jbnu.jinggumdari" /&gt;
  
   &lt;beans:bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource"
    destroy-method="close"&gt;
    &lt;beans:property name="driverClassName" value="com.mysql.jdbc.Driver" /&gt;
    &lt;beans:property name="url"
     value="jdbc:mysql://localhost:3306/jinggumdari" /&gt;
    &lt;beans:property name="username" value="root" /&gt;
    &lt;beans:property name="password" value="mysql1234" /&gt;
   &lt;/beans:bean&gt;
  
   &lt;!-- Hibernate 4 SessionFactory Bean definition --&gt;
   &lt;beans:bean id="hibernate4AnnotatedSessionFactory"
    class="org.springframework.orm.hibernate4.LocalSessionFactoryBean"&gt;
    &lt;beans:property name="dataSource" ref="dataSource" /&gt;
    &lt;beans:property name="annotatedClasses"&gt;
     &lt;beans:list&gt;
      &lt;beans:value&gt;kr.ac.jbnu.jinggumdari.model.Member&lt;/beans:value&gt;
     &lt;/beans:list&gt;
    &lt;/beans:property&gt;
    &lt;beans:property name="hibernateProperties"&gt;
     &lt;beans:props&gt;
      &lt;beans:prop key="hibernate.dialect"&gt;org.hibernate.dialect.MySQLDialect
      &lt;/beans:prop&gt;
      &lt;beans:prop key="hibernate.show_sql"&gt;true&lt;/beans:prop&gt;
     &lt;/beans:props&gt;
    &lt;/beans:property&gt;
   &lt;/beans:bean&gt;
  
   &lt;beans:bean id="memberDAO" class="kr.ac.jbnu.jinggumdari.DAO.MemberDAOImpl"&gt;
    &lt;beans:property name="sessionFactory"
     ref="hibernate4AnnotatedSessionFactory" /&gt;
   &lt;/beans:bean&gt;
   &lt;beans:bean id="memberService"
    class="kr.ac.jbnu.jinggumdari.serviceImplementation.MemberManageServiceImpl"&gt;
    &lt;beans:property name="memberDAO" ref="memberDAO"&gt;&lt;/beans:property&gt;
   &lt;/beans:bean&gt;
   
   &lt;tx:annotation-driven transaction-manager="transactionManager" /&gt;
   
   &lt;beans:bean id="transactionManager"
    class="org.springframework.orm.hibernate4.HibernateTransactionManager"&gt;
    &lt;beans:property name="sessionFactory"
     ref="hibernate4AnnotatedSessionFactory" /&gt;
   &lt;/beans:bean&gt;
  &lt;/beans:beans&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>This is my pom.xml</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"&gt;
   &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
   &lt;groupId&gt;com.jbnu&lt;/groupId&gt;
   &lt;artifactId&gt;jinggumdari&lt;/artifactId&gt;
   &lt;name&gt;server&lt;/name&gt;
   &lt;packaging&gt;war&lt;/packaging&gt;
   &lt;version&gt;1.0.0-BUILD-SNAPSHOT&lt;/version&gt;
   &lt;properties&gt;
    &lt;java-version&gt;1.6&lt;/java-version&gt;
    &lt;org.springframework-version&gt;4.1.5.RELEASE&lt;/org.springframework-version&gt;
    &lt;org.aspectj-version&gt;1.8.5&lt;/org.aspectj-version&gt;
    &lt;org.slf4j-version&gt;1.6.6&lt;/org.slf4j-version&gt;
    &lt;hibernate.version&gt;4.3.9.Final&lt;/hibernate.version&gt;
   &lt;/properties&gt;
   &lt;dependencies&gt;
    &lt;!-- Spring --&gt;
    &lt;dependency&gt;
     &lt;groupId&gt;org.springframework&lt;/groupId&gt;
     &lt;artifactId&gt;spring-context&lt;/artifactId&gt;
     &lt;version&gt;${org.springframework-version}&lt;/version&gt;
     &lt;exclusions&gt;
      &lt;!-- Exclude Commons Logging in favor of SLF4j --&gt;
      &lt;exclusion&gt;
       &lt;groupId&gt;commons-logging&lt;/groupId&gt;
       &lt;artifactId&gt;commons-logging&lt;/artifactId&gt;
      &lt;/exclusion&gt;
     &lt;/exclusions&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
     &lt;groupId&gt;org.springframework&lt;/groupId&gt;
     &lt;artifactId&gt;spring-webmvc&lt;/artifactId&gt;
     &lt;version&gt;${org.springframework-version}&lt;/version&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
     &lt;groupId&gt;org.springframework&lt;/groupId&gt;
     &lt;artifactId&gt;spring-core&lt;/artifactId&gt;
     &lt;version&gt;${org.springframework-version}&lt;/version&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
     &lt;groupId&gt;org.springframework&lt;/groupId&gt;
     &lt;artifactId&gt;spring-beans&lt;/artifactId&gt;
     &lt;version&gt;${org.springframework-version}&lt;/version&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
     &lt;groupId&gt;org.springframework&lt;/groupId&gt;
     &lt;artifactId&gt;spring-tx&lt;/artifactId&gt;
     &lt;version&gt;${org.springframework-version}&lt;/version&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
     &lt;groupId&gt;org.springframework&lt;/groupId&gt;
     &lt;artifactId&gt;spring-orm&lt;/artifactId&gt;
     &lt;version&gt;${org.springframework-version}&lt;/version&gt;
    &lt;/dependency&gt;
  
    &lt;!-- AspectJ --&gt;
    &lt;dependency&gt;
     &lt;groupId&gt;org.aspectj&lt;/groupId&gt;
     &lt;artifactId&gt;aspectjrt&lt;/artifactId&gt;
     &lt;version&gt;${org.aspectj-version}&lt;/version&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
     &lt;groupId&gt;org.aspectj&lt;/groupId&gt;
     &lt;artifactId&gt;aspectjweaver&lt;/artifactId&gt;
     &lt;version&gt;${org.aspectj-version}&lt;/version&gt;
    &lt;/dependency&gt;
  
  
    &lt;!-- Logging --&gt;
    &lt;dependency&gt;
     &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
     &lt;artifactId&gt;slf4j-api&lt;/artifactId&gt;
     &lt;version&gt;${org.slf4j-version}&lt;/version&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
     &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
     &lt;artifactId&gt;jcl-over-slf4j&lt;/artifactId&gt;
     &lt;version&gt;${org.slf4j-version}&lt;/version&gt;
     &lt;scope&gt;runtime&lt;/scope&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
     &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
     &lt;artifactId&gt;slf4j-log4j12&lt;/artifactId&gt;
     &lt;version&gt;${org.slf4j-version}&lt;/version&gt;
     &lt;scope&gt;runtime&lt;/scope&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
     &lt;groupId&gt;log4j&lt;/groupId&gt;
     &lt;artifactId&gt;log4j&lt;/artifactId&gt;
     &lt;version&gt;1.2.15&lt;/version&gt;
     &lt;exclusions&gt;
      &lt;exclusion&gt;
       &lt;groupId&gt;javax.mail&lt;/groupId&gt;
       &lt;artifactId&gt;mail&lt;/artifactId&gt;
      &lt;/exclusion&gt;
      &lt;exclusion&gt;
       &lt;groupId&gt;javax.jms&lt;/groupId&gt;
       &lt;artifactId&gt;jms&lt;/artifactId&gt;
      &lt;/exclusion&gt;
      &lt;exclusion&gt;
       &lt;groupId&gt;com.sun.jdmk&lt;/groupId&gt;
       &lt;artifactId&gt;jmxtools&lt;/artifactId&gt;
      &lt;/exclusion&gt;
      &lt;exclusion&gt;
       &lt;groupId&gt;com.sun.jmx&lt;/groupId&gt;
       &lt;artifactId&gt;jmxri&lt;/artifactId&gt;
      &lt;/exclusion&gt;
     &lt;/exclusions&gt;
     &lt;scope&gt;runtime&lt;/scope&gt;
    &lt;/dependency&gt;
  
    &lt;!-- @Inject --&gt;
    &lt;dependency&gt;
     &lt;groupId&gt;javax.inject&lt;/groupId&gt;
     &lt;artifactId&gt;javax.inject&lt;/artifactId&gt;
     &lt;version&gt;1&lt;/version&gt;
    &lt;/dependency&gt;
  
    &lt;!-- Servlet --&gt;
    &lt;dependency&gt;
     &lt;groupId&gt;javax.servlet&lt;/groupId&gt;
     &lt;artifactId&gt;servlet-api&lt;/artifactId&gt;
     &lt;version&gt;2.5&lt;/version&gt;
     &lt;scope&gt;provided&lt;/scope&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
     &lt;groupId&gt;javax.servlet.jsp&lt;/groupId&gt;
     &lt;artifactId&gt;jsp-api&lt;/artifactId&gt;
     &lt;version&gt;2.1&lt;/version&gt;
     &lt;scope&gt;provided&lt;/scope&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
     &lt;groupId&gt;javax.servlet&lt;/groupId&gt;
     &lt;artifactId&gt;jstl&lt;/artifactId&gt;
     &lt;version&gt;1.2&lt;/version&gt;
    &lt;/dependency&gt;
    
  
    &lt;!-- Test --&gt;
    &lt;dependency&gt;
     &lt;groupId&gt;junit&lt;/groupId&gt;
     &lt;artifactId&gt;junit&lt;/artifactId&gt;
     &lt;version&gt;4.7&lt;/version&gt;
     &lt;scope&gt;test&lt;/scope&gt;
    &lt;/dependency&gt;
  
    &lt;!-- Hibernate --&gt;
    &lt;dependency&gt;
     &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
     &lt;artifactId&gt;hibernate-core&lt;/artifactId&gt;
     &lt;version&gt;${hibernate.version}&lt;/version&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
     &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
     &lt;artifactId&gt;hibernate-entitymanager&lt;/artifactId&gt;
     &lt;version&gt;${hibernate.version}&lt;/version&gt;
    &lt;/dependency&gt;
  
    &lt;!-- JDBC --&gt;
    &lt;dependency&gt;
     &lt;groupId&gt;mysql&lt;/groupId&gt;
     &lt;artifactId&gt;mysql-connector-java&lt;/artifactId&gt;
     &lt;version&gt;5.1.30&lt;/version&gt;
    &lt;/dependency&gt;
  
    &lt;!-- javax.persistence --&gt;
    &lt;dependency&gt;
     &lt;groupId&gt;javax.persistence&lt;/groupId&gt;
     &lt;artifactId&gt;persistence-api&lt;/artifactId&gt;
     &lt;version&gt;1.0.2&lt;/version&gt;
    &lt;/dependency&gt;
  
    &lt;!-- apache DBCP --&gt;
    &lt;dependency&gt;
     &lt;groupId&gt;commons-dbcp&lt;/groupId&gt;
     &lt;artifactId&gt;commons-dbcp&lt;/artifactId&gt;
     &lt;version&gt;1.4&lt;/version&gt;
    &lt;/dependency&gt;
   &lt;/dependencies&gt;
   &lt;build&gt;
    &lt;plugins&gt;
     &lt;plugin&gt;
      &lt;artifactId&gt;maven-eclipse-plugin&lt;/artifactId&gt;
      &lt;version&gt;2.9&lt;/version&gt;
      &lt;configuration&gt;
       &lt;additionalProjectnatures&gt;
        &lt;projectnature&gt;org.springframework.ide.eclipse.core.springnature&lt;/projectnature&gt;
       &lt;/additionalProjectnatures&gt;
       &lt;additionalBuildcommands&gt;
        &lt;buildcommand&gt;org.springframework.ide.eclipse.core.springbuilder&lt;/buildcommand&gt;
       &lt;/additionalBuildcommands&gt;
       &lt;downloadSources&gt;true&lt;/downloadSources&gt;
       &lt;downloadJavadocs&gt;true&lt;/downloadJavadocs&gt;
      &lt;/configuration&gt;
     &lt;/plugin&gt;
     &lt;plugin&gt;
      &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
      &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
      &lt;version&gt;2.5.1&lt;/version&gt;
      &lt;configuration&gt;
       &lt;source&gt;1.6&lt;/source&gt;
       &lt;target&gt;1.6&lt;/target&gt;
       &lt;compilerArgument&gt;-Xlint:all&lt;/compilerArgument&gt;
       &lt;showWarnings&gt;true&lt;/showWarnings&gt;
       &lt;showDeprecation&gt;true&lt;/showDeprecation&gt;
      &lt;/configuration&gt;
     &lt;/plugin&gt;
     &lt;plugin&gt;
      &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
      &lt;artifactId&gt;exec-maven-plugin&lt;/artifactId&gt;
      &lt;version&gt;1.2.1&lt;/version&gt;
      &lt;configuration&gt;
       &lt;mainClass&gt;org.test.int1.Main&lt;/mainClass&gt;
      &lt;/configuration&gt;
     &lt;/plugin&gt;
    &lt;/plugins&gt;
   &lt;/build&gt;
  &lt;/project&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>This is error messages.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>ERROR: org.springframework.web.servlet.DispatcherServlet - Context initialization failed
  org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 69 in XML document from ServletContext resource [/WEB-INF/spring/appServlet/servlet-context.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 69; columnNumber: 67; cvc-complex-type.2.4.c: matching wildcard is strict but no declaration can be found for 'tx:annotation-driven' element.
   at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:399)
   at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:336)
   at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:304)
   at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:181)
   at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:217)
   at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:188)
   at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:125)
   at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94)
   at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:129)
   at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:537)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:452)
   at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:663)
   at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:629)
   at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:677)
   at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:548)
   at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:489)
   at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136)
   at javax.servlet.GenericServlet.init(GenericServlet.java:158)
   at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)
   at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)
   at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
   at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5262)
   at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5550)
   at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
   at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)
   at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)
   at java.util.concurrent.FutureTask.run(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
  Caused by: org.xml.sax.SAXParseException; lineNumber: 69; columnNumber: 67; cvc-complex-type.2.4.c: matching wildcard is strict but no declaration can be found for 'tx:annotation-driven' element.
   at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
   at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(Unknown Source)
   at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
   at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
   at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
   at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(Unknown Source)
   at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError(Unknown Source)
   at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source)
   at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.emptyElement(Unknown Source)
   at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
   at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
   at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
   at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
   at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
   at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
   at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
   at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
   at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
   at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
   at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:76)
   at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadDocument(XmlBeanDefinitionReader.java:429)
   at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:391)
   ... 29 more</code></pre>
  </div>
  </div>
  </p>