码迷,mamicode.com
首页 > 编程语言 > 详细

[org.springframework.context.annotation.AnnotationConfigBeanDefinitionParser] are only available on

时间:2015-04-13 11:06:33      阅读:628      评论:0      收藏:0      [点我收藏+]

标签:onlyavailableonjdk1.

<2015-4-10 下午02时55分35秒 CST> <Info> <Security> <BEA-090905> <Disabling the CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true.> 
<2015-4-10 下午02时55分35秒 CST> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG128 to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true.> 
<2015-4-10 下午02时55分36秒 CST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 25.25-b02 from Oracle Corporation.> 
<2015-4-10 下午02时55分37秒 CST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 12.1.3.0.0  Wed May 21 18:53:34 PDT 2014 1604337 > 
<2015-4-10 下午02时55分41秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING.> 
<2015-4-10 下午02时55分41秒 CST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool.> 
<2015-4-10 下午02时55分41秒 CST> <Info> <WorkManager> <BEA-002942> <CMM memory level becomes 0. Setting standby thread pool size to 256.> 
<2015-4-10 下午02时55分42秒 CST> <Notice> <Log Management> <BEA-170019> <The server log file D:\weblogic12\web\main\servers\AdminServer\logs\AdminServer.log is opened. All server side log events will be written to this file.> 
<2015-4-10 下午02时55分45秒 CST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.> 
<2015-4-10 下午02时55分46秒 CST> <Warning> <Store> <BEA-280109> <The JVM was unable to load the native wlfileio library for the store "_WLS_AdminServer". File and paging stores will continue to function correctly. Specifically, file stores that are configured with a transactionally safe synchronous write policy will continue to operate safely and transactionally but may open with a different write-policy. Other store types may not be able to open.> 
<2015-4-10 下午02时55分48秒 CST> <Warning> <HTTP> <BEA-101296> <Unable to load the default compiler class "com.sun.tools.javac.Main". Using the default javac compiler to compile JSPs.> 
<2015-4-10 下午02时55分49秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY.> 
<2015-4-10 下午02时55分49秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING.> 
四月 10, 2015 2:55:49 下午 weblogic.wsee.WseeCoreMessages logWseeServiceStarting
信息: 正在启动 Wsee 服务
When processing WebService module ‘studentManage‘.  Failed to load servlet Class: com.dw.controll.CheckManagerServlet
Ignoring: unable to load class:java.lang.ClassNotFoundException: com.dw.controll.CheckManagerServlet at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
When processing WebService module ‘studentManage‘.  Failed to load servlet Class: com.dw.controll.CheckManagerServlet
Ignoring: unable to load class:java.lang.ClassNotFoundException: com.dw.controll.CheckManagerServlet at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
log4j:WARN No appenders could be found for logger (org.springframework.core.CollectionFactory).
log4j:WARN Please initialize the log4j system properly.
<2015-4-10 下午02时55分58秒 CST> <Warning> <HTTP> <BEA-101162> <User defined listener org.springframework.web.context.ContextLoaderListener failed: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [applicationContext.xml]; nested exception is java.lang.IllegalStateException: Context namespace element ‘annotation-config‘ and its parser class [org.springframework.context.annotation.AnnotationConfigBeanDefinitionParser] are only available on JDK 1.5 and higher.
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [applicationContext.xml]; nested exception is java.lang.IllegalStateException: Context namespace element ‘annotation-config‘ and its parser class [org.springframework.context.annotation.AnnotationConfigBeanDefinitionParser] are only available on JDK 1.5 and higher
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:420)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
Truncated. see log file for complete stacktrace
Caused By: java.lang.IllegalStateException: Context namespace element ‘annotation-config‘ and its parser class [org.springframework.context.annotation.AnnotationConfigBeanDefinitionParser] are only available on JDK 1.5 and higher
at org.springframework.context.config.ContextNamespaceHandler$1.parse(ContextNamespaceHandler.java:65)
at org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:69)
at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1297)
at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1287)
at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:135)
Truncated. see log file for complete stacktrace

<2015-4-10 下午02时55分59秒 CST> <Error> <HTTP> <BEA-101165> <Could not load user defined filter in web.xml: Caused By: Unable to load configuration. - [unknown location]
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:69)
at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:371)
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:415) 
at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69)
at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51)
Truncated. see log file for complete stacktrace
Caused By: Cannot locate the chosen ObjectFactory implementation: spring - [unknown location]
at org.apache.struts2.config.BeanSelectionProvider.alias(BeanSelectionProvider.java:293)
at org.apache.struts2.config.BeanSelectionProvider.alias(BeanSelectionProvider.java:264)
at org.apache.struts2.config.BeanSelectionProvider.register(BeanSelectionProvider.java:202)
at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:180)
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)
Truncated. see log file for complete stacktrace

<2015-4-10 下午02时55分59秒 CST> <Notice> <Log Management> <BEA-170027> <The server has successfully established a connection with the Domain level Diagnostic Service.> 
<2015-4-10 下午02时56分00秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN.> 
<2015-4-10 下午02时56分00秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING.> 
<2015-4-10 下午02时56分00秒 CST> <Warning> <Server> <BEA-002611> <The hostname "Sc-201501021532", maps to multiple IP addresses: 127.0.0.1, 0:0:0:0:0:0:0:1.> 
<2015-4-10 下午02时56分00秒 CST> <Notice> <Server> <BEA-002613> <Channel "Default[3]" is now listening on fe80:0:0:0:d46e:9b0d:5cb7:1f9:7001 for protocols iiop, t3, ldap, snmp, http.> 
<2015-4-10 下午02时56分00秒 CST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, snmp, http.> 
<2015-4-10 下午02时56分00秒 CST> <Notice> <Server> <BEA-002613> <Channel "Default[4]" is now listening on 0:0:0:0:0:0:0:1:7001 for protocols iiop, t3, ldap, snmp, http.> 
<2015-4-10 下午02时56分00秒 CST> <Notice> <Server> <BEA-002613> <Channel "Default[2]" is now listening on fe80:0:0:0:58f3:f222:c0c:5cb1:7001 for protocols iiop, t3, ldap, snmp, http.> 
<2015-4-10 下午02时56分00秒 CST> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on fe80:0:0:0:a1a0:cdc8:7634:38e5:7001 for protocols iiop, t3, ldap, snmp, http.> 
<2015-4-10 下午02时56分00秒 CST> <Noti ce> <WebLogicServer> <BEA-000331> <Started the WebLogic Server Administration Server "AdminServer" for domain "main" running in development mode.> 
<2015-4-10 下午02时56分00秒 CST> <Notice> <WebLogicServer> <BEA-000360> <The server started in RUNNING mode.> 
<2015-4-10 下午02时56分00秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING.> 


[org.springframework.context.annotation.AnnotationConfigBeanDefinitionParser] are only available on JDK 1.5 and higher的大概意思是spring的注解配置解析器只能在JDK1.5或更高版本使用,但是我的myeclipse中的jdk的版本为1.8,但是spring的版本为2.5,总而言之就是1.8的JDK太高了,SPRING 支持不了,在重新换一下JDK的版本就ok了。其实根本的原因是因为在spring框架中有一个jkdcheckversion方法,这个方法中,没有兼容到1.8.故才会出现这个问题。它最高只能兼容到1.7的







[org.springframework.context.annotation.AnnotationConfigBeanDefinitionParser] are only available on

标签:onlyavailableonjdk1.

原文地址:http://blog.csdn.net/qq_20545159/article/details/45021369

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!