org.xml.sax.SAXNotRecognizedException 异常

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/zhangyunsheng11/article/details/84061257
org.xml.sax.SAXNotRecognizedException: Feature 'http://javax.xml.XMLConstants/feature/secure-processing' is not recognized.
	at org.apache.xerces.parsers.AbstractSAXParser.setFeature(Unknown Source)
	at org.apache.xerces.jaxp.SAXParserImpl.setFeatures(Unknown Source)
	at org.apache.xerces.jaxp.SAXParserImpl.<init>(Unknown Source)
	at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParserImpl(Unknown Source)
	at org.apache.xerces.jaxp.SAXParserFactoryImpl.setFeature(Unknown Source)
	at com.sun.xml.internal.bind.v2.util.XmlFactory.createParserFactory(XmlFactory.java:121)
	at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.getXMLReader(UnmarshallerImpl.java:139)
	at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:157)
	at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:162)
	at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:171)
	at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:189)
	at com.hsnet.core.builder.BizConfigBuilder.initBizConfig(BizConfigBuilder.java:99)
	at com.hsnet.core.builder.BizConfigBuilder.<clinit>(BizConfigBuilder.java:25)
	at com.hsnet.sms.ao.impl.SmsAOImpl.sendPhoneAuthCheckCode(SmsAOImpl.java:76)
	at com.hsnet.sms.ao.impl.SmsAOImpl$$FastClassByCGLIB$$aa59ecdb.invoke(<generated>)
	at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
	at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:710)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
	at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:98)
	at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262)
	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
	at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:643)
	at com.hsnet.sms.ao.impl.SmsAOImpl$$EnhancerByCGLIB$$6917cc88.sendPhoneAuthCheckCode(<generated>)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at com.hundsun.jres.impl.bizkernel.runtime.service.base.ServiceExecutor.executeMethod(ServiceExecutor.java:172)
	at com.hundsun.jres.impl.bizkernel.runtime.service.base.ServiceExecutor.execute(ServiceExecutor.java:153)
	at com.hundsun.jres.impl.bizkernel.runtime.service.base.ServiceAdapter.execute(ServiceAdapter.java:113)
	at com.hundsun.jres.impl.bizkernel.runtime.processor.AbstractProcessor.excute(AbstractProcessor.java:68)
	at com.hundsun.jres.impl.bizkernel.runtime.core.DefaultIKernelInfrastructure.execute(DefaultIKernelInfrastructure.java:84)
	at com.hundsun.jres.impl.bizkernel.runtime.tools.cep.BizKernel.execute(BizKernel.java:130)
	at com.hundsun.jres.impl.cep.bizmodule.BizModule$Processer.run(BizModule.java:472)
	at com.hundsun.jres.common.cep.pool.RestlessThread.run(RestlessThread.java:143)

JDK版本:

替换为JDK7后正常:

猜你喜欢

转载自blog.csdn.net/zhangyunsheng11/article/details/84061257