Как я могу исправить ошибку IllegalStateException в Apache Tuscany?
Я работаю с eclipse kepler и с помощью этого примера интегрировал пример "магазина" проекта SCA.
Когда я запускаю проект, отображаются следующие ошибки:
Starting ...
oct. 05, 2018 12:51:48 PM org.apache.tuscany.sca.contribution.processor.DefaultStAXArtifactProcessorExtensionPoint$LazyStAXArtifactProcessor
GRAVE: IllegalStateException
Exception in thread "main" org.osoa.sca.ServiceRuntimeException: org.osoa.sca.ServiceRuntimeException: org.apache.tuscany.sca.core.assembly.ActivationException: org.apache.tuscany.sca.provider.SCADefinitionsProviderException: java.lang.IllegalStateException: java.lang.reflect.InvocationTargetException
at org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:276)
at org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:70)
at launch.Launch.main(Launch.java:8)
Caused by: org.osoa.sca.ServiceRuntimeException: org.apache.tuscany.sca.core.assembly.ActivationException: org.apache.tuscany.sca.provider.SCADefinitionsProviderException: java.lang.IllegalStateException: java.lang.reflect.InvocationTargetException
at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.init(DefaultSCADomain.java:132)
at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.<init>(DefaultSCADomain.java:120)
at org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:242)
... 2 more
Caused by: org.apache.tuscany.sca.core.assembly.ActivationException: org.apache.tuscany.sca.provider.SCADefinitionsProviderException: java.lang.IllegalStateException: java.lang.reflect.InvocationTargetException
at org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntime.loadSCADefinitions(ReallySmallRuntime.java:291)
at org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntime.start(ReallySmallRuntime.java:181)
at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.init(DefaultSCADomain.java:129)
... 4 more
Caused by: org.apache.tuscany.sca.provider.SCADefinitionsProviderException: java.lang.IllegalStateException: java.lang.reflect.InvocationTargetException
at org.apache.tuscany.sca.policy.security.SecurityPolicyDefinitionsProvider.getSCADefinition(SecurityPolicyDefinitionsProvider.java:82)
at org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntime.loadSCADefinitions(ReallySmallRuntime.java:263)
... 6 more
Caused by: java.lang.IllegalStateException: java.lang.reflect.InvocationTargetException
at org.apache.tuscany.sca.contribution.processor.DefaultStAXArtifactProcessorExtensionPoint$LazyStAXArtifactProcessor.getProcessor(DefaultStAXArtifactProcessorExtensionPoint.java:350)
at org.apache.tuscany.sca.contribution.processor.DefaultStAXArtifactProcessorExtensionPoint$LazyStAXArtifactProcessor.read(DefaultStAXArtifactProcessorExtensionPoint.java:360)
at org.apache.tuscany.sca.contribution.processor.ExtensibleStAXArtifactProcessor.read(ExtensibleStAXArtifactProcessor.java:152)
at org.apache.tuscany.sca.definitions.xml.SCADefinitionsProcessor.read(SCADefinitionsProcessor.java:97)
at org.apache.tuscany.sca.definitions.xml.SCADefinitionsProcessor.read(SCADefinitionsProcessor.java:51)
at org.apache.tuscany.sca.contribution.processor.DefaultStAXArtifactProcessorExtensionPoint$LazyStAXArtifactProcessor.read(DefaultStAXArtifactProcessorExtensionPoint.java:360)
at org.apache.tuscany.sca.contribution.processor.ExtensibleStAXArtifactProcessor.read(ExtensibleStAXArtifactProcessor.java:152)
at org.apache.tuscany.sca.definitions.xml.SCADefinitionsDocumentProcessor.read(SCADefinitionsDocumentProcessor.java:156)
at org.apache.tuscany.sca.definitions.xml.SCADefinitionsDocumentProcessor.read(SCADefinitionsDocumentProcessor.java:56)
at org.apache.tuscany.sca.contribution.processor.DefaultURLArtifactProcessorExtensionPoint$LazyURLArtifactProcessor.read(DefaultURLArtifactProcessorExtensionPoint.java:220)
at org.apache.tuscany.sca.policy.security.SecurityPolicyDefinitionsProvider.getSCADefinition(SecurityPolicyDefinitionsProvider.java:63)
... 7 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.apache.tuscany.sca.contribution.processor.DefaultStAXArtifactProcessorExtensionPoint$LazyStAXArtifactProcessor.getProcessor(DefaultStAXArtifactProcessorExtensionPoint.java:304)
... 17 more
Caused by: java.lang.RuntimeException: XPathFactory#newInstance() failed to create an XPathFactory for the default object model: http://java.sun.com/jaxp/xpath/dom with the XPathFactoryConfigurationException: javax.xml.xpath.XPathFactoryConfigurationException: java.util.ServiceConfigurationError: javax.xml.xpath.XPathFactory: jar:file:/C:/Users/HADRICH%20Am%c3%a8ni/Tuscany/tuscany-sca-1.3.2/lib/saxon-xpath-8.7.jar!/META-INF/services/javax.xml.xpath.XPathFactory:1: Illegal configuration-file syntax
at javax.xml.xpath.XPathFactory.newInstance(Unknown Source)
at org.apache.tuscany.sca.policy.xml.PolicySetProcessor.<init>(PolicySetProcessor.java:64)
... 22 more