Java Web项目(Extjs)报错二
1、Java Web项目(Extjs)报错二
具体报错如下:
- usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { -help | start | stop }
- 2014-3-26 22:46:18 org.apache.catalina.core.AprLifecycleListener init
- 信息: Loaded APR based Apache Tomcat Native library 1.1.27 using APR version 1.4.6.
- 2014-3-26 22:46:18 org.apache.catalina.core.AprLifecycleListener init
- 信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
- 2014-3-26 22:46:19 org.apache.catalina.core.AprLifecycleListener initializeSSL
- 信息: OpenSSL successfully initialized (OpenSSL 1.0.1d 5 Feb 2013)
- 2014-3-26 22:46:20 org.apache.coyote.AbstractProtocol init
- 信息: Initializing ProtocolHandler ["http-apr-8686"]
- 2014-3-26 22:46:20 org.apache.coyote.AbstractProtocol init
- 信息: Initializing ProtocolHandler ["ajp-apr-8009"]
- 2014-3-26 22:46:20 org.apache.catalina.startup.Catalina load
- 信息: Initialization processed in 5017 ms
- 2014-3-26 22:46:20 org.apache.catalina.core.StandardService startInternal
- 信息: Starting service Catalina
- 2014-3-26 22:46:20 org.apache.catalina.core.StandardEngine startInternal
- 信息: Starting Servlet Engine: Apache Tomcat/7.0.41
- 2014-3-26 22:46:21 org.apache.catalina.loader.WebappClassLoader validateJarFile
- 信息: 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
- 2014-3-26 22:46:21 org.apache.catalina.loader.WebappClassLoader validateJarFile
- 信息: 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
- 2014-3-26 22:46:36 org.apache.catalina.startup.TaglibUriRule body
- 信息: TLD skipped. URI: http://java.sun.com/jstl/core_rt is already defined
- 2014-3-26 22:46:36 org.apache.catalina.startup.TaglibUriRule body
- 信息: TLD skipped. URI: http://java.sun.com/jstl/core is already defined
- 2014-3-26 22:46:36 org.apache.catalina.startup.TaglibUriRule body
- 信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/core is already defined
- 2014-3-26 22:46:36 org.apache.catalina.startup.TaglibUriRule body
- 信息: TLD skipped. URI: http://java.sun.com/jstl/fmt_rt is already defined
- 2014-3-26 22:46:36 org.apache.catalina.startup.TaglibUriRule body
- 信息: TLD skipped. URI: http://java.sun.com/jstl/fmt is already defined
- 2014-3-26 22:46:36 org.apache.catalina.startup.TaglibUriRule body
- 信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/fmt is already defined
- 2014-3-26 22:46:36 org.apache.catalina.startup.TaglibUriRule body
- 信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/functions is already defined
- 2014-3-26 22:46:36 org.apache.catalina.startup.TaglibUriRule body
- 信息: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/permittedTaglibs is already defined
- 2014-3-26 22:46:36 org.apache.catalina.startup.TaglibUriRule body
- 信息: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/scriptfree is already defined
- 2014-3-26 22:46:36 org.apache.catalina.startup.TaglibUriRule body
- 信息: TLD skipped. URI: http://java.sun.com/jstl/sql_rt is already defined
- 2014-3-26 22:46:36 org.apache.catalina.startup.TaglibUriRule body
- 信息: TLD skipped. URI: http://java.sun.com/jstl/sql is already defined
- 2014-3-26 22:46:36 org.apache.catalina.startup.TaglibUriRule body
- 信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/sql is already defined
- 2014-3-26 22:46:36 org.apache.catalina.startup.TaglibUriRule body
- 信息: TLD skipped. URI: http://java.sun.com/jstl/xml_rt is already defined
- 2014-3-26 22:46:36 org.apache.catalina.startup.TaglibUriRule body
- 信息: TLD skipped. URI: http://java.sun.com/jstl/xml is already defined
- 2014-3-26 22:46:36 org.apache.catalina.startup.TaglibUriRule body
- 信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/xml is already defined
- 2014-3-26 22:46:36 org.apache.catalina.core.ApplicationContext log
- 信息: No Spring WebApplicationInitializer types detected on classpath
- 2014-3-26 22:46:36 org.apache.catalina.core.ApplicationContext log
- 信息: Set web app root system property: 'log.root' = [D:\MyEclipse\workspace\gwtjs_framework\web\]
- 2014-3-26 22:46:36 org.apache.catalina.core.ApplicationContext log
- 信息: Initializing log4j from [D:\MyEclipse\workspace\gwtjs_framework\web\WEB-INF\classes\log4j.properties]
- 2014-3-26 22:46:36 org.apache.catalina.core.ApplicationContext log
- 信息: Initializing Spring root WebApplicationContext
- SLF4J: Class path contains multiple SLF4J bindings.
- 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]
- 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]
- SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
- SLF4J: Actual binding is of type [org.slf4j.impl.JDK14LoggerFactory]
- 2014-3-26 22:46:39 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.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}]
- at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:209)
- at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:220)
- at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:84)
- at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:686)
- at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:661)
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:451)
- at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383)
- 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:4887)
- at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5381)
- at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
- at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
- at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
- at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
- at java.util.concurrent.FutureTask.run(FutureTask.java:138)
- at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
- at java.lang.Thread.run(Thread.java:619)
- 2014-3-26 22:46:39 org.apache.catalina.core.StandardContext startInternal
- 严重: Error listenerStart
- 2014-3-26 22:46:39 org.apache.catalina.core.StandardContext startInternal
- 严重: Context [/gwtjs_framework] startup failed due to previous errors
- 2014-3-26 22:46:39 org.apache.catalina.core.ApplicationContext log
- 信息: Closing Spring root WebApplicationContext
- 2014-3-26 22:46:39 org.apache.catalina.core.ApplicationContext log
- 信息: Shutting down log4j
- 2014-3-26 22:46:39 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
- 严重: 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.
- 2014-3-26 22:46:39 org.apache.catalina.startup.HostConfig deployDirectory
- 信息: Deploying web application directory D:\MyEclipse\apache-tomcat-7.0.41\webapps\docs
- 2014-3-26 22:46:39 org.apache.catalina.startup.HostConfig deployDirectory
- 信息: Deploying web application directory D:\MyEclipse\apache-tomcat-7.0.41\webapps\examples
- 2014-3-26 22:46:40 org.apache.catalina.core.ApplicationContext log
- 信息: ContextListener: contextInitialized()
- 2014-3-26 22:46:40 org.apache.catalina.core.ApplicationContext log
- 信息: SessionListener: contextInitialized()
- 2014-3-26 22:46:40 org.apache.catalina.core.ApplicationContext log
- 信息: ContextListener: attributeAdded('org.apache.jasper.compiler.TldLocationsCache', 'org.apache.jasper.compiler.TldLocationsCache@1978b94')
- 2014-3-26 22:46:40 org.apache.catalina.startup.HostConfig deployDirectory
- 信息: Deploying web application directory D:\MyEclipse\apache-tomcat-7.0.41\webapps\host-manager
- 2014-3-26 22:46:40 org.apache.catalina.startup.HostConfig deployDirectory
- 信息: Deploying web application directory D:\MyEclipse\apache-tomcat-7.0.41\webapps\manager
- 2014-3-26 22:46:40 org.apache.catalina.startup.HostConfig deployDirectory
- 信息: Deploying web application directory D:\MyEclipse\apache-tomcat-7.0.41\webapps\ROOT
- 2014-3-26 22:46:40 org.apache.coyote.AbstractProtocol start
- 信息: Starting ProtocolHandler ["http-apr-8686"]
- 2014-3-26 22:46:40 org.apache.coyote.AbstractProtocol start
- 信息: Starting ProtocolHandler ["ajp-apr-8009"]
- 2014-3-26 22:46:40 org.apache.catalina.startup.Catalina start
- 信息: Server startup in 19976 ms
2、分析原因
由于项目中配有权限控制,只有在权限范围内的用户才能登录,故出现这个问题
3、解决办法
如果数据库中没有这个权限控制这块,就将权限模块注释
- <!-- <value>${spring.security.mapping.directory}</value> -->
Java Web项目(Extjs)报错二的更多相关文章
- 导入maven的java web项目运行报错找不到Spring监听器
本地成功运行的一个maven项目,在另一台机器复制下来并导入,运行时报错: java.lang.ClassNotFoundException: org.springframework.web.cont ...
- Myeclipse 搭建Java Web 项目:Servlet 《二》
上一节,我们使用myeclipse部署了web项目,但那部署的为静态的web项目,下面我们来学习编写动态的web项目,编写动态项目必须要用到的为:servlet. Servlet是由sun公司命名的, ...
- C# 单元测试能过,但Web项目就报错!
第一印象肯定是两个项目中各有不同的地方 背景: 公司项目采用IBatic+Castle实现 排查过程: 1.sqlmap文件是否一至,并且读取位置也要正确 2.dao.config文件要一至,读取位置 ...
- servlet web项目连接数据库报错
报错信息类似这样: Wed May 27 14:15:54 CST 2020 WARN: Establishing SSL connection without server's identity v ...
- 【ContextLoaderListener】Web项目启动报错java.lang.ClassNotFoundException: ContextLoaderListener
错误原因: 进入到tomcat的部署路径.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\下检查了一下,发现工程部署后在WE ...
- gradle web项目启动报错: java.lang.ClassNotFoundException: org.springframework.web.util.IntrospectorCleanupListener
严重: Error configuring application listener of class org.springframework.web.util.IntrospectorCleanup ...
- java导入web项目httpservlet报错
于是开始了,调错之路. 解决方法:鼠标右击项目工程——>Build Path——>点击comfigure Build Path进入----->选择java Bulid Path--- ...
- springboot 初始化 web 项目 启动报错。。。一直解决不了
1. 一个简单的SpringBoot项目,启动时报错信息: ERROR 18688 --- [cat-startStop-1] org.apache.catalina.core.ContainerBa ...
- 【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 ...
- Java web项目搭建系列之二 Jetty下运行项目
在项目pom.xml文件中添加Jetty运行配置 在pom.xml文件project节点下插入如下代码: <build> <plugins> <plugin> &l ...
随机推荐
- OpenStreetMap数据清洗(SQL&MonogoDB版本)
目标:通过网上下载的OpenStreetMap.xml数据格式,将该文件的格式进行统计,清洗,并导出成CSV格式的文件,最后倒入到SQLite中 本案例中所需的包 import csv import ...
- 小白学Docker之Compose
承接上篇文章:小白学Docker之基础篇,自学网站来源于https://docs.docker.com/get-started 概念 Compose是一个编排和运行多容器Docker应用的工具,主要是 ...
- SpringMVC源码情操陶冶-InterceptorsBeanDefinitionParser拦截器解析器
解析mvc:interceptors节点 观察下InterceptorsBeanDefinitionParser的源码备注 /** * {@link org.springframework.beans ...
- 《Thinking in Java》学习笔记(四)
1.Java中的闭包与回调 闭包(Closure)是一种能被调用的对象,它保存了创建它的作用域的信息.JAVA并不能显式地支持闭包,但是在JAVA中,闭包可以通过“接口+内部类”来实现,因为对于非静态 ...
- windows搭建web服务器
1.安装web管理工具 控制面板--->程序和功能--->打开或关闭功能 2.将internet信息服务中的所有选项全部勾上,并点击确定. 3.打开浏览器,输入http://localho ...
- How to delete a VM with snapshots
A note about error: "cannot delete inactive domain with snapshots" You cannot delete a VM ...
- ASP.NET MVC5+EF6+EasyUI 后台管理系统(89)-EF执行SQL语句与存储过程
这一节,我们来看看EF如何执行SQL语句与读取存储过程的数据,可能有一部分人,还不知道EF如何执行存储过程与原生SQL语句! 我们什么时候要直接使用原生的SQL语句? 返回值过于复杂 过于复杂的联合查 ...
- MySql 性能调优策略
本主题调优针对于my.cnf配置来做详细的参数说明 示例配置如下: #cat my.cnf # MySQL client library initialization. [client] port = ...
- 解决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 ...
- Effective Java 第三版——33. 优先考虑类型安全的异构容器
Tips <Effective Java, Third Edition>一书英文版已经出版,这本书的第二版想必很多人都读过,号称Java四大名著之一,不过第二版2009年出版,到现在已经将 ...