1、Java Web项目(Extjs)报错二

具体报错如下:

  1. usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { -help | start | stop }
  2. 2014-3-26 22:46:18 org.apache.catalina.core.AprLifecycleListener init
  3. 信息: Loaded APR based Apache Tomcat Native library 1.1.27 using APR version 1.4.6.
  4. 2014-3-26 22:46:18 org.apache.catalina.core.AprLifecycleListener init
  5. 信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
  6. 2014-3-26 22:46:19 org.apache.catalina.core.AprLifecycleListener initializeSSL
  7. 信息: OpenSSL successfully initialized (OpenSSL 1.0.1d 5 Feb 2013)
  8. 2014-3-26 22:46:20 org.apache.coyote.AbstractProtocol init
  9. 信息: Initializing ProtocolHandler ["http-apr-8686"]
  10. 2014-3-26 22:46:20 org.apache.coyote.AbstractProtocol init
  11. 信息: Initializing ProtocolHandler ["ajp-apr-8009"]
  12. 2014-3-26 22:46:20 org.apache.catalina.startup.Catalina load
  13. 信息: Initialization processed in 5017 ms
  14. 2014-3-26 22:46:20 org.apache.catalina.core.StandardService startInternal
  15. 信息: Starting service Catalina
  16. 2014-3-26 22:46:20 org.apache.catalina.core.StandardEngine startInternal
  17. 信息: Starting Servlet Engine: Apache Tomcat/7.0.41
  18. 2014-3-26 22:46:21 org.apache.catalina.loader.WebappClassLoader validateJarFile
  19. 信息: validateJarFile(D:\MyEclipse\workspace\gwtjs_framework\web\WEB-INF\lib\juel-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/el/Expression.class
  20. 2014-3-26 22:46:21 org.apache.catalina.loader.WebappClassLoader validateJarFile
  21. 信息: validateJarFile(D:\MyEclipse\workspace\gwtjs_framework\web\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
  22. 2014-3-26 22:46:36 org.apache.catalina.startup.TaglibUriRule body
  23. 信息: TLD skipped. URI: http://java.sun.com/jstl/core_rt is already defined
  24. 2014-3-26 22:46:36 org.apache.catalina.startup.TaglibUriRule body
  25. 信息: TLD skipped. URI: http://java.sun.com/jstl/core is already defined
  26. 2014-3-26 22:46:36 org.apache.catalina.startup.TaglibUriRule body
  27. 信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/core is already defined
  28. 2014-3-26 22:46:36 org.apache.catalina.startup.TaglibUriRule body
  29. 信息: TLD skipped. URI: http://java.sun.com/jstl/fmt_rt is already defined
  30. 2014-3-26 22:46:36 org.apache.catalina.startup.TaglibUriRule body
  31. 信息: TLD skipped. URI: http://java.sun.com/jstl/fmt is already defined
  32. 2014-3-26 22:46:36 org.apache.catalina.startup.TaglibUriRule body
  33. 信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/fmt is already defined
  34. 2014-3-26 22:46:36 org.apache.catalina.startup.TaglibUriRule body
  35. 信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/functions is already defined
  36. 2014-3-26 22:46:36 org.apache.catalina.startup.TaglibUriRule body
  37. 信息: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/permittedTaglibs is already defined
  38. 2014-3-26 22:46:36 org.apache.catalina.startup.TaglibUriRule body
  39. 信息: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/scriptfree is already defined
  40. 2014-3-26 22:46:36 org.apache.catalina.startup.TaglibUriRule body
  41. 信息: TLD skipped. URI: http://java.sun.com/jstl/sql_rt is already defined
  42. 2014-3-26 22:46:36 org.apache.catalina.startup.TaglibUriRule body
  43. 信息: TLD skipped. URI: http://java.sun.com/jstl/sql is already defined
  44. 2014-3-26 22:46:36 org.apache.catalina.startup.TaglibUriRule body
  45. 信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/sql is already defined
  46. 2014-3-26 22:46:36 org.apache.catalina.startup.TaglibUriRule body
  47. 信息: TLD skipped. URI: http://java.sun.com/jstl/xml_rt is already defined
  48. 2014-3-26 22:46:36 org.apache.catalina.startup.TaglibUriRule body
  49. 信息: TLD skipped. URI: http://java.sun.com/jstl/xml is already defined
  50. 2014-3-26 22:46:36 org.apache.catalina.startup.TaglibUriRule body
  51. 信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/xml is already defined
  52. 2014-3-26 22:46:36 org.apache.catalina.core.ApplicationContext log
  53. 信息: No Spring WebApplicationInitializer types detected on classpath
  54. 2014-3-26 22:46:36 org.apache.catalina.core.ApplicationContext log
  55. 信息: Set web app root system property: 'log.root' = [D:\MyEclipse\workspace\gwtjs_framework\web\]
  56. 2014-3-26 22:46:36 org.apache.catalina.core.ApplicationContext log
  57. 信息: Initializing log4j from [D:\MyEclipse\workspace\gwtjs_framework\web\WEB-INF\classes\log4j.properties]
  58. 2014-3-26 22:46:36 org.apache.catalina.core.ApplicationContext log
  59. 信息: Initializing Spring root WebApplicationContext
  60. SLF4J: Class path contains multiple SLF4J bindings.
  61. SLF4J: Found binding in [jar:file:/D:/MyEclipse/workspace/gwtjs_framework/web/WEB-INF/lib/slf4j-jdk14-1.6.6.jar!/org/slf4j/impl/StaticLoggerBinder.class]
  62. SLF4J: Found binding in [jar:file:/D:/MyEclipse/workspace/gwtjs_framework/web/WEB-INF/lib/slf4j-log4j12-1.6.6.jar!/org/slf4j/impl/StaticLoggerBinder.class]
  63. SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
  64. SLF4J: Actual binding is of type [org.slf4j.impl.JDK14LoggerFactory]
  65. 2014-3-26 22:46:39 org.apache.catalina.core.StandardContext listenerStart
  66. 严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
  67. org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'sessionFactory' defined in URL [file:/D:/MyEclipse/workspace/gwtjs_framework/web/WEB-INF/classes/applicationContext.xml]: Could not resolve placeholder 'spring.security.mapping.directory' in string value [${spring.security.mapping.directory}]
  68. at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:209)
  69. at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:220)
  70. at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:84)
  71. at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:686)
  72. at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:661)
  73. at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:451)
  74. at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383)
  75. at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
  76. at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
  77. at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4887)
  78. at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5381)
  79. at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
  80. at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
  81. at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
  82. at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
  83. at java.util.concurrent.FutureTask.run(FutureTask.java:138)
  84. at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
  85. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
  86. at java.lang.Thread.run(Thread.java:619)
  87. 2014-3-26 22:46:39 org.apache.catalina.core.StandardContext startInternal
  88. 严重: Error listenerStart
  89. 2014-3-26 22:46:39 org.apache.catalina.core.StandardContext startInternal
  90. 严重: Context [/gwtjs_framework] startup failed due to previous errors
  91. 2014-3-26 22:46:39 org.apache.catalina.core.ApplicationContext log
  92. 信息: Closing Spring root WebApplicationContext
  93. 2014-3-26 22:46:39 org.apache.catalina.core.ApplicationContext log
  94. 信息: Shutting down log4j
  95. 2014-3-26 22:46:39 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
  96. 严重: The web application [/gwtjs_framework] appears to have started a thread named [Thread-1] but has failed to stop it. This is very likely to create a memory leak.
  97. 2014-3-26 22:46:39 org.apache.catalina.startup.HostConfig deployDirectory
  98. 信息: Deploying web application directory D:\MyEclipse\apache-tomcat-7.0.41\webapps\docs
  99. 2014-3-26 22:46:39 org.apache.catalina.startup.HostConfig deployDirectory
  100. 信息: Deploying web application directory D:\MyEclipse\apache-tomcat-7.0.41\webapps\examples
  101. 2014-3-26 22:46:40 org.apache.catalina.core.ApplicationContext log
  102. 信息: ContextListener: contextInitialized()
  103. 2014-3-26 22:46:40 org.apache.catalina.core.ApplicationContext log
  104. 信息: SessionListener: contextInitialized()
  105. 2014-3-26 22:46:40 org.apache.catalina.core.ApplicationContext log
  106. 信息: ContextListener: attributeAdded('org.apache.jasper.compiler.TldLocationsCache', 'org.apache.jasper.compiler.TldLocationsCache@1978b94')
  107. 2014-3-26 22:46:40 org.apache.catalina.startup.HostConfig deployDirectory
  108. 信息: Deploying web application directory D:\MyEclipse\apache-tomcat-7.0.41\webapps\host-manager
  109. 2014-3-26 22:46:40 org.apache.catalina.startup.HostConfig deployDirectory
  110. 信息: Deploying web application directory D:\MyEclipse\apache-tomcat-7.0.41\webapps\manager
  111. 2014-3-26 22:46:40 org.apache.catalina.startup.HostConfig deployDirectory
  112. 信息: Deploying web application directory D:\MyEclipse\apache-tomcat-7.0.41\webapps\ROOT
  113. 2014-3-26 22:46:40 org.apache.coyote.AbstractProtocol start
  114. 信息: Starting ProtocolHandler ["http-apr-8686"]
  115. 2014-3-26 22:46:40 org.apache.coyote.AbstractProtocol start
  116. 信息: Starting ProtocolHandler ["ajp-apr-8009"]
  117. 2014-3-26 22:46:40 org.apache.catalina.startup.Catalina start
  118. 信息: Server startup in 19976 ms

2、分析原因

由于项目中配有权限控制,只有在权限范围内的用户才能登录,故出现这个问题

3、解决办法

如果数据库中没有这个权限控制这块,就将权限模块注释

  1. <!-- <value>${spring.security.mapping.directory}</value> -->

Java Web项目(Extjs)报错二的更多相关文章

  1. 导入maven的java web项目运行报错找不到Spring监听器

    本地成功运行的一个maven项目,在另一台机器复制下来并导入,运行时报错: java.lang.ClassNotFoundException: org.springframework.web.cont ...

  2. Myeclipse 搭建Java Web 项目:Servlet 《二》

    上一节,我们使用myeclipse部署了web项目,但那部署的为静态的web项目,下面我们来学习编写动态的web项目,编写动态项目必须要用到的为:servlet. Servlet是由sun公司命名的, ...

  3. C# 单元测试能过,但Web项目就报错!

    第一印象肯定是两个项目中各有不同的地方 背景: 公司项目采用IBatic+Castle实现 排查过程: 1.sqlmap文件是否一至,并且读取位置也要正确 2.dao.config文件要一至,读取位置 ...

  4. servlet web项目连接数据库报错

    报错信息类似这样: Wed May 27 14:15:54 CST 2020 WARN: Establishing SSL connection without server's identity v ...

  5. 【ContextLoaderListener】Web项目启动报错java.lang.ClassNotFoundException: ContextLoaderListener

    错误原因: 进入到tomcat的部署路径.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\下检查了一下,发现工程部署后在WE ...

  6. gradle web项目启动报错: java.lang.ClassNotFoundException: org.springframework.web.util.IntrospectorCleanupListener

    严重: Error configuring application listener of class org.springframework.web.util.IntrospectorCleanup ...

  7. java导入web项目httpservlet报错

    于是开始了,调错之路. 解决方法:鼠标右击项目工程——>Build Path——>点击comfigure Build Path进入----->选择java Bulid Path--- ...

  8. springboot 初始化 web 项目 启动报错。。。一直解决不了

    1. 一个简单的SpringBoot项目,启动时报错信息: ERROR 18688 --- [cat-startStop-1] org.apache.catalina.core.ContainerBa ...

  9. 【maven】maven的web项目打包报错:No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK

    打包过程中报错如下: No compiler is provided in this environment. Perhaps you are running on a JRE rather than ...

  10. Java web项目搭建系列之二 Jetty下运行项目

    在项目pom.xml文件中添加Jetty运行配置 在pom.xml文件project节点下插入如下代码: <build> <plugins> <plugin> &l ...

随机推荐

  1. OpenStreetMap数据清洗(SQL&MonogoDB版本)

    目标:通过网上下载的OpenStreetMap.xml数据格式,将该文件的格式进行统计,清洗,并导出成CSV格式的文件,最后倒入到SQLite中 本案例中所需的包 import csv import ...

  2. 小白学Docker之Compose

    承接上篇文章:小白学Docker之基础篇,自学网站来源于https://docs.docker.com/get-started 概念 Compose是一个编排和运行多容器Docker应用的工具,主要是 ...

  3. SpringMVC源码情操陶冶-InterceptorsBeanDefinitionParser拦截器解析器

    解析mvc:interceptors节点 观察下InterceptorsBeanDefinitionParser的源码备注 /** * {@link org.springframework.beans ...

  4. 《Thinking in Java》学习笔记(四)

    1.Java中的闭包与回调 闭包(Closure)是一种能被调用的对象,它保存了创建它的作用域的信息.JAVA并不能显式地支持闭包,但是在JAVA中,闭包可以通过“接口+内部类”来实现,因为对于非静态 ...

  5. windows搭建web服务器

    1.安装web管理工具 控制面板--->程序和功能--->打开或关闭功能 2.将internet信息服务中的所有选项全部勾上,并点击确定. 3.打开浏览器,输入http://localho ...

  6. How to delete a VM with snapshots

    A note about error: "cannot delete inactive domain with snapshots" You cannot delete a VM ...

  7. ASP.NET MVC5+EF6+EasyUI 后台管理系统(89)-EF执行SQL语句与存储过程

    这一节,我们来看看EF如何执行SQL语句与读取存储过程的数据,可能有一部分人,还不知道EF如何执行存储过程与原生SQL语句! 我们什么时候要直接使用原生的SQL语句? 返回值过于复杂 过于复杂的联合查 ...

  8. MySql 性能调优策略

    本主题调优针对于my.cnf配置来做详细的参数说明 示例配置如下: #cat my.cnf # MySQL client library initialization. [client] port = ...

  9. 解决CXF的java.io.FileNotFoundException: class path resource [META-INF/cxf/cxf-extension-soap.xml] cannot be opened because it does not exist

    以下是错误信息 九月 25, 2017 8:22:04 下午 org.springframework.web.context.support.XmlWebApplicationContext prep ...

  10. Effective Java 第三版——33. 优先考虑类型安全的异构容器

    Tips <Effective Java, Third Edition>一书英文版已经出版,这本书的第二版想必很多人都读过,号称Java四大名著之一,不过第二版2009年出版,到现在已经将 ...