Spring Security 4.0.1示例联系人部署问题

时间:2015-05-29 17:25:48

标签: spring security spring-security contacts

我正在将contacts-xml.war部署到JBOSS EAP 6.4.0中。部署说它开始但我有一个错误,这可能不是我的问题。

12:03:55,612 INFO [org.springframework.jdbc.support.SQLErrorCodesFactory] (ServerService Thread Pool -- 162) SQLErrorCodes loaded: [DB2, Derby, H2, HSQL, Informix, MS-SQL, MySQL, Oracle, PostgreSQL, Sybase, Hana] 12:03:55,616 INFO [stdout] (ServerService Thread Pool -- 162) Failed to drop tables: StatementCallback; bad SQL grammar [DROP TABLE CONTACTS]; nested exception is java.sql.SQLSyntaxErrorException: user lacks privilege or object not found: CONTACTS in statement [DROP TABLE CONTACTS]

问题: 我无法访问http://localhost:8080/contacts网址。 web.xml已正确配置,并且已部署:

12:03:56,724 INFO [org.springframework.web.servlet.handler.SimpleUrlHandlerMapping] (ServerService Thread Pool -- 162) Mapped URL path [/frames.htm] onto handler of type [class org.springframework.web.servlet.mvc.ParameterizableViewController] 12:03:56,739 INFO [org.springframework.web.servlet.DispatcherServlet] (ServerService Thread Pool -- 162) FrameworkServlet 'contacts': initialization completed in 312 ms

我确实在控制台上完成了部署信息:

12:03:56,791 INFO [org.jboss.as.server] (HttpManagementService-threads - 1) JBAS015859: Deployed "contacts-xml.war" (runtime-name : "contacts-xml.war")

为什么网址无法访问? 为什么我有DROP表错误? [HSQLDB] 该示例应用程序是否有如何使用/用户指南?

0 个答案:

没有答案