org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 10 in XML document from file [F:\Demo\springmvctest\target\classes\conf\applicationContext-security.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'http'.
*******省略一段废话********
Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'http'.
**********************
以下为springsecurity配置文件
第十行:<http auto-config="true">
**********************
<?xml version="1.0" encoding="UTF-8"?>
<beans:beans xmlns="http://www.springframework.org/schema/security"
xmlns:beans="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/security
http://www.springframework.org/schema/security/spring-security-3.0.xsd">
<!-- 自动配置模式,拦截所有请求,有ROLE_USER才可以通过 -->
<http auto-config="true">
<intercept-url pattern="/management/login*" access="IS_AUTHENTICATED_ANONYMOUSLY" />
<!-- 增加 ROLE_ADMIN角色-->
<intercept-url pattern="/management/admin" access="ROLE_ADMIN"/>
<intercept-url pattern="/management/**" access="ROLE_USER"/>
<form-login login-page="/management/login" authentication-failure-url="/management/login?login_error=1"/>
</http>
<!-- 认证管理器。用户名密码都集成在配置文件中 -->
<authentication-manager>
<authentication-provider>
<user-service>
<!-- 添加ROLE_ADMIN角色 -->
<user name="admin" password="admin" authorities="ROLE_USER,ROLE_ADMIN"/>
<user name="sharp" password="sharp" authorities="ROLE_USER"/>
</user-service>
</authentication-provider>
</authentication-manager>
<!-- 指定中文资源 。默认命名空间是security,所以要加前缀beans: -->
<beans:bean id="messageSource"
class="org.springframework.context.support.ReloadableResourceBundleMessageSource">
<beans:property name="basename" value="classpath:org/springframework/security/messages_zh_CN"/>
</beans:bean>
</beans:beans>
问题补充:这是控制台打印出来的所有信息
2013-9-2 16:39:18 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_12\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\Java\jdk1.6.0_12\jre\bin;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\Common Files\Lenovo;C:\Program Files\Common Files\Ulead Systems\MPEG;C:\Program Files\Windows Live\Shared;C:\SWTOOLS\ReadyApps;C:\Program Files\Intel\Services\IPT\;C:\Program Files\Symantec\VIP Access Client\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;D:\common;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;C:\Program Files\Java\jdk1.6.0_12\bin;D:\AppServ\Apache2.2\bin;D:\AppServ\php5;D:\AppServ\MySQL\bin
2013-9-2 16:39:18 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2013-9-2 16:39:18 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 459 ms
2013-9-2 16:39:18 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2013-9-2 16:39:18 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.37
2013-9-2 16:39:18 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor host-manager.xml
2013-9-2 16:39:18 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor manager.xml
2013-9-2 16:39:19 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor springmvc.xml
[DevLoader] Starting DevLoader
[DevLoader] projectdir=F:\Demo\springmvctest\src\main\webapp
[DevLoader] added file:/F:/Demo/springmvctest/target/classes/
[DevLoader] added file:/C:/Program Files/Java/jdk1.6.0_12/jre/lib/resources.jar
[DevLoader] added file:/C:/Program Files/Java/jdk1.6.0_12/jre/lib/rt.jar
[DevLoader] added file:/C:/Program Files/Java/jdk1.6.0_12/jre/lib/jsse.jar
[DevLoader] added file:/C:/Program Files/Java/jdk1.6.0_12/jre/lib/jce.jar
[DevLoader] added file:/C:/Program Files/Java/jdk1.6.0_12/jre/lib/charsets.jar
[DevLoader] added file:/C:/Program Files/Java/jdk1.6.0_12/jre/lib/ext/dnsns.jar
[DevLoader] added file:/C:/Program Files/Java/jdk1.6.0_12/jre/lib/ext/localedata.jar
[DevLoader] added file:/C:/Program Files/Java/jdk1.6.0_12/jre/lib/ext/sunjce_provider.jar
[DevLoader] added file:/C:/Program Files/Java/jdk1.6.0_12/jre/lib/ext/sunmscapi.jar
[DevLoader] added file:/C:/Program Files/Java/jdk1.6.0_12/jre/lib/ext/sunpkcs11.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/org/slf4j/slf4j-api/1.7.5/slf4j-api-1.7.5.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/org/slf4j/slf4j-log4j12/1.7.5/slf4j-log4j12-1.7.5.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/org/apache/commons/commons-lang3/3.1/commons-lang3-3.1.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/com/google/guava/guava/14.0.1/guava-14.0.1.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/org/apache/shiro/shiro-spring/1.2.2/shiro-spring-1.2.2.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/org/apache/shiro/shiro-core/1.2.2/shiro-core-1.2.2.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/commons-beanutils/commons-beanutils/1.8.3/commons-beanutils-1.8.3.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/org/apache/shiro/shiro-web/1.2.2/shiro-web-1.2.2.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/org/apache/shiro/shiro-ehcache/1.2.2/shiro-ehcache-1.2.2.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/net/sf/ehcache/ehcache-core/2.6.6/ehcache-core-2.6.6.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/net/sf/ehcache/ehcache-terracotta/2.0.1/ehcache-terracotta-2.0.1.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/c3p0/c3p0/0.9.1/c3p0-0.9.1.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/org/springframework/spring-orm/3.1.0.RELEASE/spring-orm-3.1.0.RELEASE.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/org/springframework/spring-beans/3.1.0.RELEASE/spring-beans-3.1.0.RELEASE.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/org/springframework/spring-core/3.1.0.RELEASE/spring-core-3.1.0.RELEASE.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/org/springframework/spring-jdbc/3.1.0.RELEASE/spring-jdbc-3.1.0.RELEASE.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/org/springframework/spring-tx/3.1.0.RELEASE/spring-tx-3.1.0.RELEASE.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/org/springframework/spring-web/3.1.0.RELEASE/spring-web-3.1.0.RELEASE.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/org/springframework/spring-context/3.1.0.RELEASE/spring-context-3.1.0.RELEASE.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/org/springframework/spring-aop/3.1.0.RELEASE/spring-aop-3.1.0.RELEASE.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/org/springframework/spring-expression/3.1.0.RELEASE/spring-expression-3.1.0.RELEASE.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/org/springframework/spring-asm/3.1.0.RELEASE/spring-asm-3.1.0.RELEASE.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/org/springframework/spring-test/3.1.0.RELEASE/spring-test-3.1.0.RELEASE.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/org/springframework/spring-webmvc/3.1.0.RELEASE/spring-webmvc-3.1.0.RELEASE.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/org/springframework/spring-context-support/3.1.0.RELEASE/spring-context-support-3.1.0.RELEASE.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/org/hibernate/hibernate-entitymanager/3.6.0.Final/hibernate-entitymanager-3.6.0.Final.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/org/hibernate/hibernate-core/3.6.0.Final/hibernate-core-3.6.0.Final.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/commons-collections/commons-collections/3.1/commons-collections-3.1.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/cglib/cglib/2.2/cglib-2.2.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/asm/asm/3.1/asm-3.1.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/javassist/javassist/3.12.0.GA/javassist-3.12.0.GA.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.0.Final/hibernate-jpa-2.0-api-1.0.0.Final.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/org/hibernate/hibernate-search-analyzers/3.3.0.Final/hibernate-search-analyzers-3.3.0.Final.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/org/apache/lucene/lucene-core/3.0.3/lucene-core-3.0.3.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/org/apache/lucene/lucene-analyzers/3.0.3/lucene-analyzers-3.0.3.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/org/hibernate/hibernate-annotations/3.5.1-Final/hibernate-annotations-3.5.1-Final.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/org/hibernate/hibernate-commons-annotations/3.2.0.Final/hibernate-commons-annotations-3.2.0.Final.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/org/hibernate/hibernate-search/3.3.0.Final/hibernate-search-3.3.0.Final.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/org/quartz-scheduler/quartz/1.8.3/quartz-1.8.3.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/javax/transaction/jta/1.1/jta-1.1.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.9.13/jackson-mapper-asl-1.9.13.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.9.13/jackson-core-asl-1.9.13.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/ojdbc/ojdbc/14/ojdbc-14.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/antlr/antlr/2.7.6/antlr-2.7.6.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/org/apache/commons/commons-email/1.2/commons-email-1.2.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/javax/mail/mail/1.4.1/mail-1.4.1.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/mysql/mysql-connector-java/5.1.9/mysql-connector-java-5.1.9.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/commons-fileupload/commons-fileupload/1.2.2/commons-fileupload-1.2.2.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/commons-httpclient/commons-httpclient/3.0.1/commons-httpclient-3.0.1.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/com/google/code/gson/gson/1.4/gson-1.4.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/javax/servlet/jstl/1.2/jstl-1.2.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/junit/junit/4.11/junit-4.11.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/opensymphony/sitemesh/2.4.2/sitemesh-2.4.2.jar
[DevLoader] added file:/C:/Users/thinkpad/.m2/repository/org/wltea/analyzer/3.2.0/analyzer-3.2.0.jar
[DevLoader] JSPCompiler Classpath = F:\Demo\springmvctest\target\classes;C:\Program Files\Java\jdk1.6.0_12\jre\lib\resources.jar;C:\Program Files\Java\jdk1.6.0_12\jre\lib\rt.jar;C:\Program Files\Java\jdk1.6.0_12\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.6.0_12\jre\lib\jce.jar;C:\Program Files\Java\jdk1.6.0_12\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.6.0_12\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.6.0_12\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.6.0_12\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.6.0_12\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.6.0_12\jre\lib\ext\sunpkcs11.jar;C:\Users\thinkpad\.m2\repository\commons-logging\commons-logging\1.1.1\commons-logging-1.1.1.jar;C:\Users\thinkpad\.m2\repository\org\slf4j\slf4j-api\1.7.5\slf4j-api-1.7.5.jar;C:\Users\thinkpad\.m2\repository\log4j\log4j\1.2.17\log4j-1.2.17.jar;C:\Users\thinkpad\.m2\repository\org\slf4j\slf4j-log4j12\1.7.5\slf4j-log4j12-1.7.5.jar;C:\Users\thinkpad\.m2\repository\org\apache\commons\commons-lang3\3.1\commons-lang3-3.1.jar;C:\Users\thinkpad\.m2\repository\com\google\guava\guava\14.0.1\guava-14.0.1.jar;C:\Users\thinkpad\.m2\repository\org\apache\shiro\shiro-spring\1.2.2\shiro-spring-1.2.2.jar;C:\Users\thinkpad\.m2\repository\org\apache\shiro\shiro-core\1.2.2\shiro-core-1.2.2.jar;C:\Users\thinkpad\.m2\repository\commons-beanutils\commons-beanutils\1.8.3\commons-beanutils-1.8.3.jar;C:\Users\thinkpad\.m2\repository\org\apache\shiro\shiro-web\1.2.2\shiro-web-1.2.2.jar;C:\Users\thinkpad\.m2\repository\org\apache\shiro\shiro-ehcache\1.2.2\shiro-ehcache-1.2.2.jar;C:\Users\thinkpad\.m2\repository\net\sf\ehcache\ehcache-core\2.6.6\ehcache-core-2.6.6.jar;C:\Users\thinkpad\.m2\repository\net\sf\ehcache\ehcache-terracotta\2.0.1\ehcache-terracotta-2.0.1.jar;C:\Users\thinkpad\.m2\repository\c3p0\c3p0\0.9.1\c3p0-0.9.1.jar;C:\Users\thinkpad\.m2\repository\org\springframework\spring-orm\3.1.0.RELEASE\spring-orm-3.1.0.RELEASE.jar;C:\Users\thinkpad\.m2\repository\org\springframework\spring-beans\3.1.0.RELEASE\spring-beans-3.1.0.RELEASE.jar;C:\Users\thinkpad\.m2\repository\org\springframework\spring-core\3.1.0.RELEASE\spring-core-3.1.0.RELEASE.jar;C:\Users\thinkpad\.m2\repository\org\springframework\spring-jdbc\3.1.0.RELEASE\spring-jdbc-3.1.0.RELEASE.jar;C:\Users\thinkpad\.m2\repository\org\springframework\spring-tx\3.1.0.RELEASE\spring-tx-3.1.0.RELEASE.jar;C:\Users\thinkpad\.m2\repository\org\springframework\spring-web\3.1.0.RELEASE\spring-web-3.1.0.RELEASE.jar;C:\Users\thinkpad\.m2\repository\aopalliance\aopalliance\1.0\aopalliance-1.0.jar;C:\Users\thinkpad\.m2\repository\org\springframework\spring-context\3.1.0.RELEASE\spring-context-3.1.0.RELEASE.jar;C:\Users\thinkpad\.m2\repository\org\springframework\spring-aop\3.1.0.RELEASE\spring-aop-3.1.0.RELEASE.jar;C:\Users\thinkpad\.m2\repository\org\springframework\spring-expression\3.1.0.RELEASE\spring-expression-3.1.0.RELEASE.jar;C:\Users\thinkpad\.m2\repository\org\springframework\spring-asm\3.1.0.RELEASE\spring-asm-3.1.0.RELEASE.jar;C:\Users\thinkpad\.m2\repository\org\springframework\spring-test\3.1.0.RELEASE\spring-test-3.1.0.RELEASE.jar;C:\Users\thinkpad\.m2\repository\org\springframework\spring-webmvc\3.1.0.RELEASE\spring-webmvc-3.1.0.RELEASE.jar;C:\Users\thinkpad\.m2\repository\org\springframework\spring-context-support\3.1.0.RELEASE\spring-context-support-3.1.0.RELEASE.jar;C:\Users\thinkpad\.m2\repository\org\hibernate\hibernate-entitymanager\3.6.0.Final\hibernate-entitymanager-3.6.0.Final.jar;C:\Users\thinkpad\.m2\repository\org\hibernate\hibernate-core\3.6.0.Final\hibernate-core-3.6.0.Final.jar;C:\Users\thinkpad\.m2\repository\commons-collections\commons-collections\3.1\commons-collections-3.1.jar;C:\Users\thinkpad\.m2\repository\cglib\cglib\2.2\cglib-2.2.jar;C:\Users\thinkpad\.m2\repository\asm\asm\3.1\asm-3.1.jar;C:\Users\thinkpad\.m2\repository\javassist\javassist\3.12.0.GA\javassist-3.12.0.GA.jar;C:\Users\thinkpad\.m2\repository\org\hibernate\javax\persistence\hibernate-jpa-2.0-api\1.0.0.Final\hibernate-jpa-2.0-api-1.0.0.Final.jar;C:\Users\thinkpad\.m2\repository\org\hibernate\hibernate-search-analyzers\3.3.0.Final\hibernate-search-analyzers-3.3.0.Final.jar;C:\Users\thinkpad\.m2\repository\org\apache\lucene\lucene-core\3.0.3\lucene-core-3.0.3.jar;C:\Users\thinkpad\.m2\repository\org\apache\lucene\lucene-analyzers\3.0.3\lucene-analyzers-3.0.3.jar;C:\Users\thinkpad\.m2\repository\org\hibernate\hibernate-annotations\3.5.1-Final\hibernate-annotations-3.5.1-Final.jar;C:\Users\thinkpad\.m2\repository\org\hibernate\hibernate-commons-annotations\3.2.0.Final\hibernate-commons-annotations-3.2.0.Final.jar;C:\Users\thinkpad\.m2\repository\org\hibernate\hibernate-search\3.3.0.Final\hibernate-search-3.3.0.Final.jar;C:\Users\thinkpad\.m2\repository\org\quartz-scheduler\quartz\1.8.3\quartz-1.8.3.jar;C:\Users\thinkpad\.m2\repository\javax\transaction\jta\1.1\jta-1.1.jar;C:\Users\thinkpad\.m2\repository\dom4j\dom4j\1.6.1\dom4j-1.6.1.jar;C:\Users\thinkpad\.m2\repository\xml-apis\xml-apis\1.0.b2\xml-apis-1.0.b2.jar;C:\Users\thinkpad\.m2\repository\org\codehaus\jackson\jackson-mapper-asl\1.9.13\jackson-mapper-asl-1.9.13.jar;C:\Users\thinkpad\.m2\repository\org\codehaus\jackson\jackson-core-asl\1.9.13\jackson-core-asl-1.9.13.jar;C:\Users\thinkpad\.m2\repository\ojdbc\ojdbc\14\ojdbc-14.jar;C:\Users\thinkpad\.m2\repository\antlr\antlr\2.7.6\antlr-2.7.6.jar;C:\Users\thinkpad\.m2\repository\org\apache\commons\commons-email\1.2\commons-email-1.2.jar;C:\Users\thinkpad\.m2\repository\javax\mail\mail\1.4.1\mail-1.4.1.jar;C:\Users\thinkpad\.m2\repository\javax\activation\activation\1.1\activation-1.1.jar;C:\Users\thinkpad\.m2\repository\mysql\mysql-connector-java\5.1.9\mysql-connector-java-5.1.9.jar;C:\Users\thinkpad\.m2\repository\commons-fileupload\commons-fileupload\1.2.2\commons-fileupload-1.2.2.jar;C:\Users\thinkpad\.m2\repository\commons-httpclient\commons-httpclient\3.0.1\commons-httpclient-3.0.1.jar;C:\Users\thinkpad\.m2\repository\com\google\code\gson\gson\1.4\gson-1.4.jar;C:\Users\thinkpad\.m2\repository\javax\servlet\jstl\1.2\jstl-1.2.jar;C:\Users\thinkpad\.m2\repository\junit\junit\4.11\junit-4.11.jar;C:\Users\thinkpad\.m2\repository\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar;C:\Users\thinkpad\.m2\repository\opensymphony\sitemesh\2.4.2\sitemesh-2.4.2.jar;C:\Users\thinkpad\.m2\repository\org\wltea\analyzer\3.2.0\analyzer-3.2.0.jar;F:/Demo/apache-tomcat-6.0.37/lib/;F:/Demo/apache-tomcat-6.0.37/lib/annotations-api.jar;F:/Demo/apache-tomcat-6.0.37/lib/catalina-ant.jar;F:/Demo/apache-tomcat-6.0.37/lib/catalina-ha.jar;F:/Demo/apache-tomcat-6.0.37/lib/catalina-tribes.jar;F:/Demo/apache-tomcat-6.0.37/lib/catalina.jar;F:/Demo/apache-tomcat-6.0.37/lib/DevLoader.jar;F:/Demo/apache-tomcat-6.0.37/lib/ecj-4.2.2.jar;F:/Demo/apache-tomcat-6.0.37/lib/el-api.jar;F:/Demo/apache-tomcat-6.0.37/lib/jasper-el.jar;F:/Demo/apache-tomcat-6.0.37/lib/jasper.jar;F:/Demo/apache-tomcat-6.0.37/lib/jsp-api.jar;F:/Demo/apache-tomcat-6.0.37/lib/servlet-api.jar;F:/Demo/apache-tomcat-6.0.37/lib/tomcat-coyote.jar;F:/Demo/apache-tomcat-6.0.37/lib/tomcat-dbcp.jar;F:/Demo/apache-tomcat-6.0.37/lib/tomcat-i18n-es.jar;F:/Demo/apache-tomcat-6.0.37/lib/tomcat-i18n-fr.jar;F:/Demo/apache-tomcat-6.0.37/lib/tomcat-i18n-ja.jar;F:/Demo/apache-tomcat-6.0.37/bin/bootstrap.jar;C:/Program%20Files/Java/jdk1.6.0_12/lib/tools.jar;C:/Program%20Files/Java/jdk1.6.0_12/jre/lib/ext/dnsns.jar;C:/Program%20Files/Java/jdk1.6.0_12/jre/lib/ext/localedata.jar;C:/Program%20Files/Java/jdk1.6.0_12/jre/lib/ext/sunjce_provider.jar;C:/Program%20Files/Java/jdk1.6.0_12/jre/lib/ext/sunmscapi.jar;C:/Program%20Files/Java/jdk1.6.0_12/jre/lib/ext/sunpkcs11.jar;
2013-9-2 16:39:19 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
2013-09-02 16:39:40,818 ERROR [org.springframework.web.context.ContextLoader] - Context initialization failed
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 9 in XML document from class path resource [conf/applicationContext-security.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'http'.
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:209)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)
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:131)
at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:522)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:436)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:384)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'http'.
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:131)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:384)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:318)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(XMLSchemaValidator.java:410)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError(XMLSchemaValidator.java:3165)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1898)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:685)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:400)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2747)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:225)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:283)
at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:75)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388)
... 37 more
log4j:ERROR Failed to excute sql
java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1055)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3558)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3490)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:919)
at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:4011)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1284)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2137)
at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:776)
at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:46)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:352)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:284)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:185)
at org.apache.log4j.jdbc.JDBCAppender.getConnection(JDBCAppender.java:251)
at org.apache.log4j.jdbc.JDBCAppender.execute(JDBCAppender.java:215)
at org.apache.log4j.jdbc.JDBCAppender.flushBuffer(JDBCAppender.java:289)
at org.apache.log4j.jdbc.JDBCAppender.append(JDBCAppender.java:186)
at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251)
at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:66)
at org.apache.log4j.Category.callAppenders(Category.java:206)
at org.apache.log4j.Category.forcedLog(Category.java:391)
at org.apache.log4j.Category.log(Category.java:856)
at org.apache.commons.logging.impl.Log4JLogger.error(Log4JLogger.java:257)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:307)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
2013-9-2 16:39:41 org.apache.catalina.core.StandardContext listenerStart
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 9 in XML document from class path resource [conf/applicationContext-security.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'http'.
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:209)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)
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:131)
at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:522)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:436)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:384)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'http'.
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:131)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:384)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:318)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(XMLSchemaValidator.java:410)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError(XMLSchemaValidator.java:3165)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1898)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:685)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:400)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2747)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:225)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:283)
at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:75)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388)
... 37 more
2013-9-2 16:39:41 org.apache.catalina.core.StandardContext start
严重: Error listenerStart
2013-9-2 16:39:41 org.apache.catalina.core.StandardContext start
严重: Context [/springmvc] startup failed due to previous errors
2013-9-2 16:39:41 org.apache.catalina.core.ApplicationContext log
信息: Closing Spring root WebApplicationContext
2013-9-2 16:39:41 org.apache.catalina.core.StandardContext listenerStop
严重: Exception sending context destroyed event to listener instance of class org.springframework.web.context.ContextLoaderListener
java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
at org.springframework.context.support.AbstractRefreshableApplicationContext.getBeanFactory(AbstractRefreshableApplicationContext.java:172)
at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1066)
at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1040)
at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:988)
at org.springframework.web.context.ContextLoader.closeWebApplicationContext(ContextLoader.java:541)
at org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:142)
at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4245)
at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4886)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4750)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
2013-9-2 16:39:41 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/springmvc] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
2013-9-2 16:39:41 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/springmvc] appears to have started a thread named [MySQL Statement Cancellation Timer] but has failed to stop it. This is very likely to create a memory leak.
2013-9-2 16:39:41 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory docs
2013-9-2 16:39:41 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory examples
2013-9-2 16:39:41 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
2013-9-2 16:39:41 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
2013-9-2 16:39:41 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory ROOT
2013-9-2 16:39:41 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2013-9-2 16:39:41 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2013-9-2 16:39:41 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/32 config=null
2013-9-2 16:39:41 org.apache.catalina.startup.Catalina start
信息: Server startup in 22808 ms
相关推荐
SpringMVC 和 SpringSecurity 是两个在Java Web开发中极为重要的框架。SpringMVC 主要负责处理Web应用的请求-响应模型,提供了一种强大的、可扩展的架构来构建现代的、基于HTTP的服务。而SpringSecurity,则是用于...
在这个"springmvc+springSecurity+mybatis"的整合项目中,Spring MVC负责处理HTTP请求并调用业务逻辑,Spring Security确保了用户访问的安全性,而MyBatis则作为数据访问层,处理与数据库的交互。这种组合为开发者...
【标题】"maven+springMVC+spring security权限实例"是一个综合性的IT项目,它展示了如何使用Maven构建一个基于Spring MVC和Spring Security的权限管理应用。这个实例旨在帮助开发者快速理解并实践这三大技术在实际...
Spring MVC、MyBatis 和 Spring Security 是 Java Web 开发中常用的三大框架,它们各自负责不同的职责,但在实际项目中常被整合使用以构建强大的企业级应用。本整合 demo 展示了如何将这三个框架协同工作,提供高效...
在本项目中,我们主要探讨的是如何利用Spring MVC和Spring Security框架构建一个基本的无数据库登录系统。Spring MVC是Spring框架的一部分,用于处理Web应用程序的请求-响应模型,而Spring Security则是一个强大的...
本项目“maven+springmvc+springsecurity+hibernate框架整合开发源代码”就是一个这样的例子,它巧妙地将四个关键框架——Maven、Spring MVC、Spring Security和Hibernate融合在一起,构建了一个高效且安全的Web应用...
SpringSecurity是Java领域中一款强大的安全框架,它...通过分析和学习这个项目,开发者可以了解如何在实际应用中运用SpringSecurity进行安全控制,同时掌握SpringMVC和MyBatis的配合使用,提升开发效率和应用安全性。
标题 "springMVC+springSecurity3.0+maven" 指的是一个集成项目,它结合了Spring MVC、Spring Security 3.0和Maven这三个关键的Java开发工具和技术。让我们逐一深入理解这些技术及其相互之间的关系。 首先,Spring ...
【标题】"maven+springmvc+springSecurity"是一个典型的Java Web开发技术栈,它将Maven作为项目构建工具,Spring MVC作为Web层框架,Spring Security作为安全控制框架。这三者结合,能够构建出一个功能强大且安全的...
本文将深入探讨SpringMVC与Spring的整合,以及如何在实际开发中进行配置和使用。 首先,SpringMVC作为一个轻量级的Web MVC框架,它简化了Web应用的开发流程,允许开发者将业务逻辑、数据访问和用户界面分离。Spring...
通过学习和实践这个 Demo,开发者可以深入理解 Spring MVC 和 Spring Security 的整合,以及它们如何协同工作以实现一个安全的 Web 应用。这对于想要提升 Java Web 开发技能,尤其是安全方面知识的人来说,是一个很...
Spring MVC、Spring AOP、Spring Security和Hibernate是Java开发中常用的四大框架,它们各自负责不同的领域,但在实际项目中往往需要进行整合以实现更高效、更安全的开发。本实例代码提供了一个完整的整合示例,涵盖...
通过分析这些源码,我们可以看到SpringMVC如何配置和定义控制器,SpringSecurity3.x如何设置认证和授权规则,以及MyBatis3.x如何编写Mapper接口和XML配置来操作数据库。这不仅是一个学习和研究的例子,也是实际项目...
"SpringMvc+Spring+Mybatis+Maven+注解方式"是一个经典的Java后端技术栈,它整合了四个关键组件,为开发人员提供了强大的工具和框架支持。下面将详细讲解这四个组件及其整合方式。 1. **Spring Framework**: ...
基于java config,使用基于内存的AuthenticationProvider,详细参考:http://blog.csdn.net/xiejx618/article/details/42523337
Spring、SpringMVC和Mybatis是Java开发中最常用的三大开源框架,它们的整合使用,通常被称为SSM框架。这个框架组合提供了完整的后端服务解决方案,包括依赖注入(DI)、面向切面编程(AOP)、模型-视图-控制器(MVC...
它提供了一整套服务,包括认证、授权、访问控制以及安全相关的日志和异常处理。在这个整合案例中,我们将探讨如何将Spring Security与Spring MVC结合,以实现一个安全的Web应用程序。 首先,Spring MVC是Spring框架...
myeclipse 利用框架 spring+springmvc+springsecurity+myibatis+mysql 实现用户认证和人员增删改查的demo 1.用户认证库与人员管理库是同一个库,我这里为了方便配置文件区别为datasource和securitydatasource 2.这...
分布式、高并发、低耦合、服务化大型...Maven项目构建: SpringMVC + Mybatis + SpringSecurity(权限控制到方法按钮) + Rest(服务) + Webservice(服务) + Quartz(定时调度)+ Lucene(搜索引擎) + HTML5 bootstrap
SSM(Spring、SpringMVC和MyBatis)整合是Java Web开发中常见的技术栈,它结合了Spring框架的强大功能,SpringMVC的优雅请求处理,以及MyBatis的灵活数据库操作。本项目是一个入门级别的实例,旨在帮助初学者理解和...