项目启动时报错:ERROR [org.springframework.web.context.ContextLoader] - Context ...

Luck丶pcq 2018-07-19 10:19:38
七月 19, 2018 10:08:51 上午 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\jre1.8.0_101\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jdk1.8.0_101/bin/../jre/bin/server;C:/Program Files/Java/jdk1.8.0_101/bin/../jre/bin;C:/Program Files/Java/jdk1.8.0_101/bin/../jre/lib/amd64;C:\Program Files\Java\jdk1.8.0_101\bin;F:\qq\Tencent\QQ\Bin\;F:\qq\Tencent\QQ\Bin\;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\MySQL\MySQL Server 5.5\bin;D:\Maven\apache-maven-3.5.0-bin\apache-maven-3.5.0\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Java\jre1.8.0_101\bin;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;JAVA_OPTS=-Xms64m -Xmx512m;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;;D:\eclipse\eclipse 2017;;.
七月 19, 2018 10:08:51 上午 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:bsdw' did not find a matching property.
七月 19, 2018 10:08:52 上午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-bio-8080"]
七月 19, 2018 10:08:52 上午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-bio-8009"]
七月 19, 2018 10:08:52 上午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1467 ms
七月 19, 2018 10:08:52 上午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
七月 19, 2018 10:08:52 上午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.55
七月 19, 2018 10:08:52 上午 org.apache.catalina.util.SessionIdGenerator createSecureRandom
信息: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [157] milliseconds.
七月 19, 2018 10:08:53 上午 org.apache.catalina.loader.WebappClassLoader validateJarFile
信息: validateJarFile(E:\Eclipse Project document\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\bsdw\WEB-INF\lib\selenium-server.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class
七月 19, 2018 10:08:53 上午 org.apache.catalina.loader.WebappClassLoader validateJarFile
信息: validateJarFile(E:\Eclipse Project document\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\bsdw\WEB-INF\lib\servlet-api-2.4.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class
七月 19, 2018 10:09:06 上午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://www.baosight.com is already defined
七月 19, 2018 10:09:06 上午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://www.baosight.com is already defined
七月 19, 2018 10:09:06 上午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://www.baosight.com is already defined
七月 19, 2018 10:09:06 上午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://jakarta.apache.org/struts/tags-nested is already defined
七月 19, 2018 10:09:06 上午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://jakarta.apache.org/struts/tags-logic is already defined
七月 19, 2018 10:09:06 上午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://jakarta.apache.org/struts/tags-tiles is already defined
七月 19, 2018 10:09:06 上午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://jakarta.apache.org/struts/tags-html is already defined
七月 19, 2018 10:09:06 上午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://jakarta.apache.org/struts/tags-bean is already defined
七月 19, 2018 10:09:06 上午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://jakarta.apache.org/struts/tags-template is already defined
七月 19, 2018 10:09:06 上午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://epass2.baosight.com/ is already defined
七月 19, 2018 10:09:06 上午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://www.baosight.com is already defined
七月 19, 2018 10:09:06 上午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://www.baosight.com is already defined
七月 19, 2018 10:09:06 上午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://jakarta.apache.org/struts/tags-bean is already defined
七月 19, 2018 10:09:06 上午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://struts.apache.org/tags-bean is already defined
七月 19, 2018 10:09:06 上午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://jakarta.apache.org/struts/tags-html is already defined
七月 19, 2018 10:09:06 上午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://struts.apache.org/tags-html is already defined
七月 19, 2018 10:09:06 上午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://jakarta.apache.org/struts/tags-logic is already defined
七月 19, 2018 10:09:06 上午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://struts.apache.org/tags-logic is already defined
七月 19, 2018 10:09:06 上午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://jakarta.apache.org/struts/tags-nested is already defined
七月 19, 2018 10:09:06 上午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://struts.apache.org/tags-nested is already defined
七月 19, 2018 10:09:06 上午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://jakarta.apache.org/struts/tags-tiles is already defined
七月 19, 2018 10:09:06 上午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://struts.apache.org/tags-tiles is already defined
七月 19, 2018 10:09:07 上午 org.apache.catalina.core.ApplicationContext log
信息: Loading Spring root WebApplicationContext
[CACHE] init cache[iplat.codeset][com.baosight.iplat4j.cache.RefreshableCache].
[Logging]Registered Category EQRD:业务规则设计系统日志
[Logging]Registered Category PLAT:平台日志
[Logging]Register CategoryMapping log.com.baosight.eqrd:EQRD
[Logging]Register CategoryMapping log.com.baosight.iplat4j:PLAT
[Logging]Register CategoryMapping log:
2018-07-19 10:09:19,150 ERROR [org.springframework.web.context.ContextLoader] - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'logFileReader' defined in file [E:\Eclipse Project document\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\bsdw\WEB-INF\classes\spring\framework\applicationContext-logging.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
PropertyAccessException 1: org.springframework.beans.TypeMismatchException: Failed to convert property value of type [org.apache.commons.collections.map.LinkedMap] to required type [java.util.HashMap] for property 'labels'; nested exception is java.lang.IllegalArgumentException: argument type mismatch
Caused by:
org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessException details (1) are:
PropertyAccessException 1:
org.springframework.beans.TypeMismatchException: Failed to convert property value of type [org.apache.commons.collections.map.LinkedMap] to required type [java.util.HashMap] for property 'labels'; nested exception is java.lang.IllegalArgumentException: argument type mismatch
Caused by:
java.lang.IllegalArgumentException: argument type mismatch
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:786)
at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:606)
at org.springframework.beans.AbstractPropertyAccessor.setPropertyValue(AbstractPropertyAccessor.java:49)
at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:74)
at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:57)
at org.springframework.beans.factory.support.AbstractBeanFactory.applyPropertyValues(AbstractBeanFactory.java:836)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1026)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:809)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:425)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:250)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:247)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:161)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:273)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:346)
at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
at org.sp
...全文
803 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
崔小白 2019-08-05
  • 打赏
  • 举报
回复
Luck丶pcq 2018-07-19
  • 打赏
  • 举报
回复
这个我试过了,Tomcat换了好几遍,也都是在官网上下载下来的
java1357924680 2018-07-19
  • 打赏
  • 举报
回复
参考官方文档配置一下
http://tomcat.apache.org/native-doc/

★请阅读本人博客的《答题协议
奔跑的小鱼儿 2018-07-19
  • 打赏
  • 举报
回复
检查一下Java环境变量

81,091

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧