无法启动SpringXD服务器

时间:2018-08-10 09:20:12

标签: spring spring-boot spring-xd

本周早些时候,我能够通过使用Windows命令提示符启动Spring XD服务器,方法是导航到xd-singlenode Windows批处理文件所在的目录,然后键入xd-singlenode。但是现在当我尝试启动服务器时,它给出了很多异常,如下所示。 注意:-上一次我使用Spring时,如Spring XD指南https://docs.spring.io/spring-xd/docs/current/reference/html/中所述,我正在创建/销毁流。 因此,我应该怎么做,我已经尝试搜索每个单独的异常,但无济于事。

 _____                           __   _______
/  ___|          (-)             \ \ / /  _  \
\ `--. _ __  _ __ _ _ __   __ _   \ V /| | | |
 `--. \ '_ \| '__| | '_ \ / _` |  / ^ \| | | |
/\__/ / |_) | |  | | | | | (_| | / / \ \ |/ /
\____/| .__/|_|  |_|_| |_|\__, | \/   \/___/
      | |                  __/ |
      |_|                 |___/
1.3.2.RELEASE                    eXtreme Data


Started : SingleNodeApplication
Documentation: http://docs.spring.io/spring-xd/docs/current/reference/html/

2018-08-10T09:47:07+0200 1.3.2.RELEASE INFO main singlenode.SingleNodeApplicatio
n - Starting SingleNodeApplication v1.3.2.RELEASE on user-PC with PID 4984 (D:\p
rograms\springXD\spring-xd-1.3.2.RELEASE\xd\lib\spring-xd-dirt-1.3.2.RELEASE.jar
 started by user in D:\programs\springXD\spring-xd-1.3.2.RELEASE\xd\bin)
2018-08-10T09:47:09+0200 1.3.2.RELEASE INFO main singlenode.SingleNodeApplicatio
n - Started SingleNodeApplication in 7.082 seconds (JVM running for 16.347)
2018-08-10T09:47:11+0200 1.3.2.RELEASE INFO main singlenode.SingleNodeApplicatio
n - Starting SingleNodeApplication v1.3.2.RELEASE on user-PC with PID 4984 (D:\p
rograms\springXD\spring-xd-1.3.2.RELEASE\xd\lib\spring-xd-dirt-1.3.2.RELEASE.jar
 started by user in D:\programs\springXD\spring-xd-1.3.2.RELEASE\xd\bin)
2018-08-10T09:47:12+0200 1.3.2.RELEASE INFO main singlenode.SingleNodeApplicatio
n - Started SingleNodeApplication in 2.512 seconds (JVM running for 18.9)
09:47:29,463  INFO HSQLDB Server @5e69cf07 HSQLDB64E28AB920.ENGINE - checkpointC
lose start
09:47:29,479  INFO HSQLDB Server @5e69cf07 HSQLDB64E28AB920.ENGINE - checkpointC
lose synched
09:47:29,604  INFO HSQLDB Server @5e69cf07 HSQLDB64E28AB920.ENGINE - checkpointC
lose script done
09:47:29,838  INFO HSQLDB Server @5e69cf07 HSQLDB64E28AB920.ENGINE - checkpointC
lose end
2018-08-10T09:47:45+0200 1.3.2.RELEASE WARN main annotation.AnnotationConfigAppl
icationContext - Exception encountered during context initialization - cancellin
g refresh attempt: org.springframework.beans.factory.BeanCreationException: Erro
r creating bean with name 'moduleRegistry' defined in class path resource [META-
INF/spring-xd/internal/repositories.xml]: Cannot create inner bean 'org.springfr
amework.xd.dirt.module.CustomModuleRegistryFactoryBean#ff8e36d' of type [org.spr
ingframework.xd.dirt.module.CustomModuleRegistryFactoryBean] while setting bean
property 'delegates' with key [1]; nested exception is org.springframework.beans
.factory.BeanCreationException: Error creating bean with name 'org.springframewo
rk.xd.dirt.module.CustomModuleRegistryFactoryBean#ff8e36d' defined in class path
 resource [META-INF/spring-xd/internal/repositories.xml]: Invocation of init met
hod failed; nested exception is java.lang.IllegalArgumentException: Unsupported
resource class path resource [D:/programs/springXD/spring-xd-1.3.2.RELEASE/xd/cu
stom-modules/source/]
2018-08-10T09:47:45+0200 1.3.2.RELEASE ERROR main boot.SpringApplication - Appli
cation startup failed
org.springframework.beans.factory.BeanCreationException: Error creating bean wit
h name 'moduleRegistry' defined in class path resource [META-INF/spring-xd/inter
nal/repositories.xml]: Cannot create inner bean 'org.springframework.xd.dirt.mod
ule.CustomModuleRegistryFactoryBean#ff8e36d' of type [org.springframework.xd.dir
t.module.CustomModuleRegistryFactoryBean] while setting bean property 'delegates
' with key [1]; nested exception is org.springframework.beans.factory.BeanCreati
onException: Error creating bean with name 'org.springframework.xd.dirt.module.C
ustomModuleRegistryFactoryBean#ff8e36d' defined in class path resource [META-INF
/spring-xd/internal/repositories.xml]: Invocation of init method failed; nested
exception is java.lang.IllegalArgumentException: Unsupported resource class path
 resource [D:/programs/springXD/spring-xd-1.3.2.RELEASE/xd/custom-modules/source
/]
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveInnerBean(BeanDefinitionValueResolver.java:313) ~[spring-beans-4.2.4.REL
EASE.jar:4.2.4.RELEASE]
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveValueIfNecessary(BeanDefinitionValueResolver.java:122) ~[spring-beans-4.
2.4.RELEASE.jar:4.2.4.RELEASE]
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveManagedList(BeanDefinitionValueResolver.java:382) ~[spring-beans-4.2.4.R
ELEASE.jar:4.2.4.RELEASE]
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveValueIfNecessary(BeanDefinitionValueResolver.java:157) ~[spring-beans-4.
2.4.RELEASE.jar:4.2.4.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1481) ~[spri
ng-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.populateBean(AbstractAutowireCapableBeanFactory.java:1226) ~[spring-bean
s-4.2.4.RELEASE.jar:4.2.4.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543) ~[spring-beans
-4.2.4.RELEASE.jar:4.2.4.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:482) ~[spring-beans-4
.2.4.RELEASE.jar:4.2.4.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
ject(AbstractBeanFactory.java:306) ~[spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEAS
E]
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
y.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.2.4.RELEA
SE.jar:4.2.4.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe
an(AbstractBeanFactory.java:302) ~[spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE]

        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:197) ~[spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE]
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.
preInstantiateSingletons(DefaultListableBeanFactory.java:772) ~[spring-beans-4.2
.4.RELEASE.jar:4.2.4.RELEASE]
        at org.springframework.context.support.AbstractApplicationContext.finish
BeanFactoryInitialization(AbstractApplicationContext.java:839) ~[spring-context-
4.2.4.RELEASE.jar:4.2.4.RELEASE]
        at org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:538) ~[spring-context-4.2.4.RELEASE.jar:4.2.4.
RELEASE]
        at org.springframework.boot.SpringApplication.refresh(SpringApplication.
java:686) ~[spring-boot-1.2.3.RELEASE.jar:1.2.3.RELEASE]
        at org.springframework.boot.SpringApplication.run(SpringApplication.java
:320) ~[spring-boot-1.2.3.RELEASE.jar:1.2.3.RELEASE]
        at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringA
pplicationBuilder.java:139) [spring-boot-1.2.3.RELEASE.jar:1.2.3.RELEASE]
        at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringA
pplicationBuilder.java:129) [spring-boot-1.2.3.RELEASE.jar:1.2.3.RELEASE]
        at org.springframework.xd.dirt.server.singlenode.SingleNodeApplication.r
un(SingleNodeApplication.java:83) [spring-xd-dirt-1.3.2.RELEASE.jar:1.3.2.RELEAS
E]
        at org.springframework.xd.dirt.server.singlenode.SingleNodeApplication.m
ain(SingleNodeApplication.java:52) [spring-xd-dirt-1.3.2.RELEASE.jar:1.3.2.RELEA
SE]
Caused by: org.springframework.beans.factory.BeanCreationException: Error creati
ng bean with name 'org.springframework.xd.dirt.module.CustomModuleRegistryFactor
yBean#ff8e36d' defined in class path resource [META-INF/spring-xd/internal/repos
itories.xml]: Invocation of init method failed; nested exception is java.lang.Il
legalArgumentException: Unsupported resource class path resource [D:/programs/sp
ringXD/spring-xd-1.3.2.RELEASE/xd/custom-modules/source/]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1578) ~[spring-be
ans-4.2.4.RELEASE.jar:4.2.4.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545) ~[spring-beans
-4.2.4.RELEASE.jar:4.2.4.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:482) ~[spring-beans-4
.2.4.RELEASE.jar:4.2.4.RELEASE]
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveInnerBean(BeanDefinitionValueResolver.java:299) ~[spring-beans-4.2.4.REL
EASE.jar:4.2.4.RELEASE]
        ... 20 common frames omitted
Caused by: java.lang.IllegalArgumentException: Unsupported resource class path r
esource [D:/programs/springXD/spring-xd-1.3.2.RELEASE/xd/custom-modules/source/]

        at org.springframework.xd.dirt.module.ExtendedResource.wrap(ExtendedReso
urce.java:73) ~[spring-xd-dirt-1.3.2.RELEASE.jar:1.3.2.RELEASE]
        at org.springframework.xd.dirt.module.WritableResourceModuleRegistry.aft
erPropertiesSet(WritableResourceModuleRegistry.java:222) ~[spring-xd-dirt-1.3.2.
RELEASE.jar:1.3.2.RELEASE]
        at org.springframework.xd.dirt.module.CustomModuleRegistryFactoryBean.af
terPropertiesSet(CustomModuleRegistryFactoryBean.java:95) ~[spring-xd-dirt-1.3.2
.RELEASE.jar:1.3.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1637) ~[spring
-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1574) ~[spring-be
ans-4.2.4.RELEASE.jar:4.2.4.RELEASE]
        ... 23 common frames omitted
Exception in thread "main" org.springframework.beans.factory.BeanCreationExcepti
on: Error creating bean with name 'moduleRegistry' defined in class path resourc
e [META-INF/spring-xd/internal/repositories.xml]: Cannot create inner bean 'org.
springframework.xd.dirt.module.CustomModuleRegistryFactoryBean#ff8e36d' of type
[org.springframework.xd.dirt.module.CustomModuleRegistryFactoryBean] while setti
ng bean property 'delegates' with key [1]; nested exception is org.springframewo
rk.beans.factory.BeanCreationException: Error creating bean with name 'org.sprin
gframework.xd.dirt.module.CustomModuleRegistryFactoryBean#ff8e36d' defined in cl
ass path resource [META-INF/spring-xd/internal/repositories.xml]: Invocation of
init method failed; nested exception is java.lang.IllegalArgumentException: Unsu
pported resource class path resource [D:/programs/springXD/spring-xd-1.3.2.RELEA
SE/xd/custom-modules/source/]
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveInnerBean(BeanDefinitionValueResolver.java:313)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveValueIfNecessary(BeanDefinitionValueResolver.java:122)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveManagedList(BeanDefinitionValueResolver.java:382)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveValueIfNecessary(BeanDefinitionValueResolver.java:157)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1481)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.populateBean(AbstractAutowireCapableBeanFactory.java:1226)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:482)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
ject(AbstractBeanFactory.java:306)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
y.getSingleton(DefaultSingletonBeanRegistry.java:230)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe
an(AbstractBeanFactory.java:302)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:197)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.
preInstantiateSingletons(DefaultListableBeanFactory.java:772)
        at org.springframework.context.support.AbstractApplicationContext.finish
BeanFactoryInitialization(AbstractApplicationContext.java:839)
        at org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:538)
        at org.springframework.boot.SpringApplication.refresh(SpringApplication.
java:686)
        at org.springframework.boot.SpringApplication.run(SpringApplication.java
:320)
        at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringA
pplicationBuilder.java:139)
        at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringA
pplicationBuilder.java:129)
        at org.springframework.xd.dirt.server.singlenode.SingleNodeApplication.r
un(SingleNodeApplication.java:83)
        at org.springframework.xd.dirt.server.singlenode.SingleNodeApplication.m
ain(SingleNodeApplication.java:52)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creati
ng bean with name 'org.springframework.xd.dirt.module.CustomModuleRegistryFactor
yBean#ff8e36d' defined in class path resource [META-INF/spring-xd/internal/repos
itories.xml]: Invocation of init method failed; nested exception is java.lang.Il
legalArgumentException: Unsupported resource class path resource [D:/programs/sp
ringXD/spring-xd-1.3.2.RELEASE/xd/custom-modules/source/]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1578)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:482)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveInnerBean(BeanDefinitionValueResolver.java:299)
        ... 20 more
Caused by: java.lang.IllegalArgumentException: Unsupported resource class path r
esource [D:/programs/springXD/spring-xd-1.3.2.RELEASE/xd/custom-modules/source/]

        at org.springframework.xd.dirt.module.ExtendedResource.wrap(ExtendedReso
urce.java:73)
        at org.springframework.xd.dirt.module.WritableResourceModuleRegistry.aft
erPropertiesSet(WritableResourceModuleRegistry.java:222)
        at org.springframework.xd.dirt.module.CustomModuleRegistryFactoryBean.af
terPropertiesSet(CustomModuleRegistryFactoryBean.java:95)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1637)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1574)
        ... 23 more

0 个答案:

没有答案