一、该问题的重现步骤是什么?
1. 工程目录下执行mvn clean package
获取打包后的jar
2.
3.
二、你期待的结果是什么?实际看到的又是什么?
期待结果:打包成功
实际看到:打包失败(出错)
三、你正在使用的是什么产品,什么版本?在什么操作系统上?
SpringBlade开源版
四、请提供详细的错误堆栈信息,这很重要。
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running BladeDemoTest
20:10:57.375 [main] DEBUG org.springframework.test.context.junit4.SpringJUnit4ClassRunner - SpringJUnit4ClassRunner constructor called with [class
BladeDemoTest]
20:10:57.383 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating CacheAwareContextLoaderDelegate from class [org.springfra
mework.test.context.cache.DefaultCacheAwareContextLoaderDelegate]
20:10:57.395 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating BootstrapContext using constructor [public org.springfram
ework.test.context.support.DefaultBootstrapContext(java.lang.Class,org.springframework.test.context.CacheAwareContextLoaderDelegate)]
20:10:57.449 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating TestContextBootstrapper for test class [BladeDemoTest] fr
om class [org.springframework.boot.test.context.SpringBootTestContextBootstrapper]
20:10:57.481 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierar
chy found for test class [BladeDemoTest], using SpringBootContextLoader
20:10:57.487 [main] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class
[BladeDemoTest]: class path resource [BladeDemoTest-context.xml] does not exist
20:10:57.487 [main] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class
[BladeDemoTest]: class path resource [BladeDemoTestContext.groovy] does not exist
20:10:57.488 [main] INFO org.springframework.test.context.support.AbstractContextLoader - Could not detect default resource locations for test clas
s [BladeDemoTest]: no resource found for suffixes {-context.xml, Context.groovy}.
20:10:57.573 [main] DEBUG org.springframework.test.context.support.ActiveProfilesUtils - Could not find an 'annotation declaring class' for annotat
ion type [org.springframework.test.context.ActiveProfiles] and class [BladeDemoTest]
20:10:57.727 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - @TestExecutionListeners is not present for clas
s [BladeDemoTest]: using defaults.
20:10:57.728 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Loaded default TestExecutionListener class names
from location [META-INF/spring.factories]: [org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test
.mock.mockito.ResetMocksTestExecutionListener, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframew
ork.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.Moc
kMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springfram
ework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.s
pringframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionL
istener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecu
tionListener, org.springframework.test.context.event.EventPublishingTestExecutionListener]
20:10:57.749 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using TestExecutionListeners: [org.springframewo
rk.test.context.web.ServletTestExecutionListener@11c9af63, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@
757acd7b, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@36b4fe2a, org.springframework.boot.test.autoconfigure.SpringBootD
ependencyInjectionTestExecutionListener@574b560f, org.springframework.test.context.support.DirtiesContextTestExecutionListener@ba54932, org.springf
ramework.test.context.transaction.TransactionalTestExecutionListener@28975c28, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListene
r@3943a2be, org.springframework.test.context.event.EventPublishingTestExecutionListener@343570b7, org.springframework.boot.test.mock.mockito.ResetM
ocksTestExecutionListener@157853da, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@71c3b41, org.springframework
.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@236e3f4e, org.springframework.boot.test.autoconfigure.web.servl
et.MockMvcPrintOnlyOnFailureTestExecutionListener@3cc1435c, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@
6bf0219d]
---[junit.test]:[blade-desk]---启动中,读取到的环境变量:[test]
20:10:57.792 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class
[BladeDemoTest]
20:10:57.793 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test
.annotation.SystemProfileValueSource] for class [BladeDemoTest]
20:10:57.795 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class
[BladeDemoTest]
20:10:57.795 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test
.annotation.SystemProfileValueSource] for class [BladeDemoTest]
20:10:57.802 [main] DEBUG org.springframework.test.context.support.AbstractDirtiesContextTestExecutionListener - Before test class: context [Defaul
tTestContext@4bb33f74 testClass = BladeDemoTest, testInstance = [null], testMethod = [null], testException = [null], mergedContextConfiguration = [
WebMergedContextConfiguration@759d26fb testClass = BladeDemoTest, locations = '{}', classes = '{class org.springblade.desk.DeskApplication, class o
rg.springblade.desk.DeskApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourcePrope
rties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.co
ntext.filter.ExcludeFilterContextCustomizer@143640d5, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonO
bjectContextCustomizer@657c8ad9, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.Te
stRestTemplateContextCustomizer@8909f18, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframe
work.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@2133814f], resourceBasePath = 'src/main/webapp', contextLoade
r = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.Servl
etTestExecutionListener.activateListener' -> true]], class annotated with @DirtiesContext [false] with mode [null].
20:10:57.805 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class
[BladeDemoTest]
20:10:57.805 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test
.annotation.SystemProfileValueSource] for class [BladeDemoTest]
20:10:57.817 [main] DEBUG org.springframework.test.context.support.TestPropertySourceUtils - Adding inlined properties to environment: {spring.jmx.
enabled=false, org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true, server.port=-1}
_____ _ ______ _ _
/ ___| (_) | ___ \| | | |
\ `--. _ __ _ __ _ _ __ __ _ | |_/ /| | __ _ __| | ___
`--. \| '_ \ | '__|| || '_ \ / _` | | ___ \| | / _` | / _` | / _ \
/\__/ /| |_) || | | || | | || (_| | | |_/ /| || (_| || (_| || __/
\____/ | .__/ |_| |_||_| |_| \__, | \____/ |_| \__,_| \__,_| \___|
| | __/ |
|_| |___/
:: SpringBlade :: blade-desk:test :: Running SpringBoot 2.2.4.RELEASE ::
2020-03-01 20:10:59.881 WARN 4996 --- [ main] c.a.c.n.c.NacosPropertySourceBuilder : Ignore the empty nacos configuration and get it
based on dataId[blade] & group[DEFAULT_GROUP]
2020-03-01 20:10:59.901 ERROR 4996 --- [ main] c.a.c.n.c.NacosPropertySourceBuilder : parse data from Nacos error,dataId:blade.yaml,d
ata:#鏈嶅姟鍣ㄩ厤缃?
server:
undertow:
# 璁剧疆IO绾跨▼鏁? 瀹冧富瑕佹墽琛岄潪闃诲鐨勪换鍔?瀹冧滑浼氳礋璐e涓繛鎺? 榛樿璁剧疆姣忎釜CPU鏍稿績涓€涓嚎绋?绋?
io-threads: 4
# 闃诲浠诲姟绾跨▼姹? 褰撴墽琛岀被浼約ervlet璇锋眰闃诲鎿嶄綔, undertow浼氫粠杩欎釜绾跨▼姹犱腑鍙栧緱绾跨▼,瀹冪殑鍊艰剧疆鍙栧喅浜庣郴缁熺
殑璐熻浇
worker-threads: 20
# 浠ヤ笅鐨勯厤缃細褰卞搷buffer,杩欎簺buffer浼氱敤浜庢湇鍔″櫒杩炴帴鐨処O鎿嶄綔,鏈夌偣绫讳技netty鐨勬睜鍖栧唴瀛樼鐞?
buffer-size: 1024
# 鏄惁鍒嗛厤鐨勭洿鎺ュ唴瀛?
direct-buffers: true
#spring閰嶇疆
spring:
devtools:
restart:
log-condition-evaluation-delta: false
livereload:
port: 23333
#feign閰嶇疆
feign:
hystrix:
enabled: true
#sentinel:
#enabled: true
okhttp:
enabled: true
httpclient:
enabled: false
#hystrix閰嶇疆
hystrix:
threadpool:
default:
coreSize: 300
maxQueueSize: 1000
queueSizeRejectionThreshold: 800
command:
default:
execution:
isolation:
thread:
timeoutInMilliseconds: 5000
#ribbon閰嶇疆
ribbon:
#瀵瑰綋鍓嶅疄渚嬬殑閲嶈瘯娆℃暟
MaxAutoRetries: 1
#鍒囨崲瀹炰緥鐨勯噸璇曟鏁?
MaxAutoRetriesNextServer: 2
#璇锋眰澶勭悊鐨勮秴鏃舵椂闂?
ReadTimeout: 60000
#璇锋眰杩炴帴鐨勮秴鏃舵椂闂?
ConnectTimeout: 60000
#瀵规墍鏈夋搷浣滆姹傞兘杩涜閲嶈瘯
OkToRetryOnAllOperations: true
#瀵瑰鏆撮湶绔彛
management:
endpoints:
web:
exposure:
include: "*"
endpoint:
health:
show-details: always
#blade閰嶇疆
blade:
xss:
enable: true
skip-url:
- /weixin
secure:
skip-url:
- /test/**
- /api/info
client:
- client-id: sword
path-patterns:
- /sword/**
- client-id: saber
path-patterns:
- /saber/**
tenant:
column: tenant_id
tables:
- blade_notice
,
org.yaml.snakeyaml.error.YAMLException: java.nio.charset.MalformedInputException: Input length = 1
at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:218)
at org.yaml.snakeyaml.reader.StreamReader.ensureEnoughData(StreamReader.java:176)
at org.yaml.snakeyaml.reader.StreamReader.ensureEnoughData(StreamReader.java:171)
at org.yaml.snakeyaml.reader.StreamReader.peek(StreamReader.java:126)
at org.yaml.snakeyaml.scanner.ScannerImpl.scanToNextToken(ScannerImpl.java:1177)
at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:287)
at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:227)
at org.yaml.snakeyaml.parser.ParserImpl$ParseImplicitDocumentStart.produce(ParserImpl.java:195)
at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158)
at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
at org.yaml.snakeyaml.composer.Composer.checkNode(Composer.java:72)
at org.yaml.snakeyaml.constructor.BaseConstructor.checkData(BaseConstructor.java:114)
at org.yaml.snakeyaml.Yaml$1.hasNext(Yaml.java:543)
at org.springframework.beans.factory.config.YamlProcessor.process(YamlProcessor.java:160)
at org.springframework.beans.factory.config.YamlProcessor.process(YamlProcessor.java:134)
at org.springframework.beans.factory.config.YamlMapFactoryBean.createMap(YamlMapFactoryBean.java:124)
at org.springframework.beans.factory.config.YamlMapFactoryBean.getObject(YamlMapFactoryBean.java:104)
at com.alibaba.cloud.nacos.parser.NacosDataYamlParser.doParse(NacosDataYamlParser.java:40)
at com.alibaba.cloud.nacos.parser.AbstractNacosDataParser.parseNacosData(AbstractNacosDataParser.java:80)
at com.alibaba.cloud.nacos.parser.AbstractNacosDataParser.parseNacosData(AbstractNacosDataParser.java:85)
at com.alibaba.cloud.nacos.parser.NacosDataParserHandler.parseNacosData(NacosDataParserHandler.java:45)
at com.alibaba.cloud.nacos.client.NacosPropertySourceBuilder.loadNacosData(NacosPropertySourceBuilder.java:98)
at com.alibaba.cloud.nacos.client.NacosPropertySourceBuilder.build(NacosPropertySourceBuilder.java:74)
at com.alibaba.cloud.nacos.client.NacosPropertySourceLocator.loadNacosPropertySource(NacosPropertySourceLocator.java:204)
at com.alibaba.cloud.nacos.client.NacosPropertySourceLocator.loadNacosDataIfPresent(NacosPropertySourceLocator.java:191)
at com.alibaba.cloud.nacos.client.NacosPropertySourceLocator.loadApplicationConfiguration(NacosPropertySourceLocator.java:145)
at com.alibaba.cloud.nacos.client.NacosPropertySourceLocator.locate(NacosPropertySourceLocator.java:103)
at org.springframework.cloud.bootstrap.config.PropertySourceLocator.locateCollection(PropertySourceLocator.java:52)
at org.springframework.cloud.bootstrap.config.PropertySourceLocator.locateCollection(PropertySourceLocator.java:47)
at org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration.initialize(PropertySourceBootstrapConfiguration.java:101
)
at org.springframework.boot.SpringApplication.applyInitializers(SpringApplication.java:626)
at org.springframework.boot.SpringApplication.prepareContext(SpringApplication.java:370)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:314)
at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:126)
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate
.java:99)
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:12
4)
at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:123)
at org.springframework.test.context.web.ServletTestExecutionListener.setUpRequestContextIfNecessary(ServletTestExecutionListener.java:190)
at org.springframework.test.context.web.ServletTestExecutionListener.prepareTestInstance(ServletTestExecutionListener.java:132)
at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:244)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:227)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:246)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
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:498)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
Caused by: java.nio.charset.MalformedInputException: Input length = 1
at java.nio.charset.CoderResult.throwException(CoderResult.java:281)
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:339)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
at java.io.InputStreamReader.read(InputStreamReader.java:184)
at org.yaml.snakeyaml.reader.UnicodeReader.read(UnicodeReader.java:125)
at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:183)
... 66 common frames omitted
2020-03-01 20:10:59.910 WARN 4996 --- [ main] c.a.c.n.c.NacosPropertySourceBuilder : Ignore the empty nacos configuration and get it
based on dataId[blade-test.yaml] & group[DEFAULT_GROUP]
2020-03-01 20:10:59.912 INFO 4996 --- [ main] b.c.PropertySourceBootstrapConfiguration : Located property source: [BootstrapPropertySour
ce {name='bootstrapProperties-blade-test.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-blade.yaml,DEFAULT_GROUP'}, Boots
trapPropertySource {name='bootstrapProperties-blade,DEFAULT_GROUP'}]
2020-03-01 20:10:59.968 INFO 4996 --- [ main] BladeDemoTest : The following profiles are active: test
2020-03-01 20:11:00.127 WARN 4996 --- [ main] o.s.c.c.u.SpringFactoryImportSelector : More than one implementation of @EnableCircuitB
reaker (now relying on @Conditionals to pick one): [org.springframework.cloud.netflix.hystrix.HystrixCircuitBreakerConfiguration, com.alibaba.cloud
.sentinel.custom.SentinelCircuitBreakerConfiguration]
2020-03-01 20:11:01.552 WARN 4996 --- [ main] o.s.boot.actuate.endpoint.EndpointId : Endpoint ID 'nacos-config' contains invalid cha
racters, please migrate to a valid format.
2020-03-01 20:11:01.556 WARN 4996 --- [ main] o.s.boot.actuate.endpoint.EndpointId : Endpoint ID 'nacos-discovery' contains invalid
characters, please migrate to a valid format.
2020-03-01 20:11:02.207 INFO 4996 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering st
rict repository configuration mode!
2020-03-01 20:11:02.212 INFO 4996 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in
DEFAULT mode.
2020-03-01 20:11:02.252 INFO 4996 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 19m
s. Found 0 Redis repository interfaces.
2020-03-01 20:11:02.370 WARN 4996 --- [ main] o.s.boot.actuate.endpoint.EndpointId : Endpoint ID 'service-registry' contains invalid
characters, please migrate to a valid format.
2020-03-01 20:11:02.391 WARN 4996 --- [ main] o.s.boot.actuate.endpoint.EndpointId : Endpoint ID 'hystrix.stream' contains invalid c
haracters, please migrate to a valid format.
2020-03-01 20:11:02.547 WARN 4996 --- [ main] o.m.s.mapper.ClassPathMapperScanner : No MyBatis mapper was found in '[org.springblad
e.desk]' package. Please check your configuration.
2020-03-01 20:11:02.799 INFO 4996 --- [ main] o.s.cloud.context.scope.GenericScope : BeanFactory id=fa576e52-da3d-35a2-9ed4-77ee9675
c9b6
2020-03-01 20:11:03.133 INFO 4996 --- [ main] faultConfiguringBeanFactoryPostProcessor : No bean named 'errorChannel' has been explicitl
y defined. Therefore, a default PublishSubscribeChannel will be created.
2020-03-01 20:11:03.150 INFO 4996 --- [ main] faultConfiguringBeanFactoryPostProcessor : No bean named 'integrationHeaderChannelRegistry
' has been explicitly defined. Therefore, a default DefaultHeaderChannelRegistry will be created.
2020-03-01 20:11:03.307 INFO 4996 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.stream.config.B
indersHealthIndicatorAutoConfiguration' of type [org.springframework.cloud.stream.config.BindersHealthIndicatorAutoConfiguration$$EnhancerBySpringC
GLIB$$26a65242] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-03-01 20:11:03.334 INFO 4996 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'bindersHealthContributor' of type [org.sp
ringframework.cloud.stream.config.BindersHealthIndicatorAutoConfiguration$BindersHealthContributor] is not eligible for getting processed by all Be
anPostProcessors (for example: not eligible for auto-proxying)
2020-03-01 20:11:03.339 INFO 4996 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'bindersHealthIndicatorListener' of type [
org.springframework.cloud.stream.config.BindersHealthIndicatorAutoConfiguration$BindersHealthIndicatorListener] is not eligible for getting process
ed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-03-01 20:11:03.351 INFO 4996 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'BindingHandlerAdvise' of type [org.spring
framework.cloud.stream.config.BindingHandlerAdvise] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for
auto-proxying)
2020-03-01 20:11:03.371 INFO 4996 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'spelConverter' of type [org.springframewo
rk.cloud.stream.config.SpelExpressionConverterConfiguration$SpelConverter] is not eligible for getting processed by all BeanPostProcessors (for exa
mple: not eligible for auto-proxying)
2020-03-01 20:11:03.376 INFO 4996 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'blade.async-org.springblade.core.boot.pro
ps.BladeAsyncProperties' of type [org.springblade.core.boot.props.BladeAsyncProperties] is not eligible for getting processed by all BeanPostProces
sors (for example: not eligible for auto-proxying)
2020-03-01 20:11:03.388 INFO 4996 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springblade.core.boot.config.BladeExe
cutorConfiguration' of type [org.springblade.core.boot.config.BladeExecutorConfiguration$$EnhancerBySpringCGLIB$$3a3f8b80] is not eligible for gett
ing processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-03-01 20:11:03.549 INFO 4996 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotatio
n.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration] is not elig
ible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-03-01 20:11:04.237 INFO 4996 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.cloud.sentinel-com.alibaba.cloud.s
entinel.SentinelProperties' of type [com.alibaba.cloud.sentinel.SentinelProperties] is not eligible for getting processed by all BeanPostProcessors
(for example: not eligible for auto-proxying)
2020-03-01 20:11:04.383 INFO 4996 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'com.alibaba.cloud.sentinel.custom.Sentine
lAutoConfiguration' of type [com.alibaba.cloud.sentinel.custom.SentinelAutoConfiguration] is not eligible for getting processed by all BeanPostProc
essors (for example: not eligible for auto-proxying)
2020-03-01 20:11:04.453 INFO 4996 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.integration.config.In
tegrationManagementConfiguration' of type [org.springframework.integration.config.IntegrationManagementConfiguration] is not eligible for getting p
rocessed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-03-01 20:11:04.496 INFO 4996 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'integrationChannelResolver' of type [org.
springframework.integration.support.channel.BeanFactoryChannelResolver] is not eligible for getting processed by all BeanPostProcessors (for exampl
e: not eligible for auto-proxying)
2020-03-01 20:11:04.506 INFO 4996 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'integrationDisposableAutoCreatedBeans' of
type [org.springframework.integration.config.annotation.Disposables] is not eligible for getting processed by all BeanPostProcessors (for example:
not eligible for auto-proxying)
2020-03-01 20:11:04.980 INFO 4996 --- [ main] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource
2020-03-01 20:11:05.475 INFO 4996 --- [ main] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited
2020-03-01 20:11:07.600 WARN 4996 --- [ main] c.n.c.sources.URLConfigurationSource : No URLs will be polled as dynamic configuration
sources.
2020-03-01 20:11:07.600 INFO 4996 --- [ main] c.n.c.sources.URLConfigurationSource : To enable URLs as dynamic configuration sources
, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
2020-03-01 20:11:07.622 INFO 4996 --- [ main] c.netflix.config.DynamicPropertyFactory : DynamicPropertyFactory is initialized with conf
iguration sources: com.netflix.config.ConcurrentCompositeConfiguration@3a917017
2020-03-01 20:11:07.812 INFO 4996 --- [ main] c.a.c.s.SentinelWebAutoConfiguration : [Sentinel Starter] register SentinelWebIntercep
tor with urlPatterns: [/*].
2020-03-01 20:11:07.882 INFO 4996 --- [ main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{GET /dashboard/activities}" onto org.s
pringblade.desk.controller.DashBoardController#activities()
2020-03-01 20:11:07.882 INFO 4996 --- [ main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{POST /notice/remove}" onto org.springb
lade.desk.controller.NoticeController#remove(String)
2020-03-01 20:11:07.882 INFO 4996 --- [ main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{POST /notice/update}" onto org.springb
lade.desk.controller.NoticeController#update(Notice)
2020-03-01 20:11:07.883 INFO 4996 --- [ main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{GET /notice/list}" onto org.springblad
e.desk.controller.NoticeController#list(Map, Query)
2020-03-01 20:11:07.883 INFO 4996 --- [ main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{POST /notice/save}" onto org.springbla
de.desk.controller.NoticeController#save(Notice)
2020-03-01 20:11:07.884 INFO 4996 --- [ main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{POST /notice/submit}" onto org.springb
lade.desk.controller.NoticeController#submit(Notice)
2020-03-01 20:11:07.884 INFO 4996 --- [ main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{GET /notice/detail}" onto org.springbl
ade.desk.controller.NoticeController#detail(Notice)
2020-03-01 20:11:07.885 INFO 4996 --- [ main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{GET /notice/notices}" onto org.springb
lade.desk.controller.NoticeController#notices()
2020-03-01 20:11:07.885 INFO 4996 --- [ main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{GET /notice/my-notices}" onto org.spri
ngblade.desk.controller.NoticeController#myNotices()
2020-03-01 20:11:07.886 INFO 4996 --- [ main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{GET /dashboard/top}" onto org.springbl
ade.desk.feign.NoticeClient#top(Integer)
2020-03-01 20:11:07.887 INFO 4996 --- [ main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{GET /v2/api-docs-ext, produces [applic
ation/json || application/hal+json]}" onto com.github.xiaoymin.knife4j.spring.web.Knife4jController#apiSorts(String, HttpServletRequest)
2020-03-01 20:11:07.888 INFO 4996 --- [ main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{ /swagger-resources/configuration/ui}"
onto springfox.documentation.swagger.web.ApiResourceController#uiConfiguration()
2020-03-01 20:11:07.888 INFO 4996 --- [ main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{ /swagger-resources}" onto springfox.d
ocumentation.swagger.web.ApiResourceController#swaggerResources()
2020-03-01 20:11:07.889 INFO 4996 --- [ main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{ /swagger-resources/configuration/secu
rity}" onto springfox.documentation.swagger.web.ApiResourceController#securityConfiguration()
2020-03-01 20:11:07.889 INFO 4996 --- [ main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{ /error}" onto org.springframework.boo
t.autoconfigure.web.servlet.error.BasicErrorController#error(HttpServletRequest)
2020-03-01 20:11:07.890 INFO 4996 --- [ main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{ /error, produces [text/html]}" onto o
rg.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#errorHtml(HttpServletRequest, HttpServletResponse)
2020-03-01 20:11:09.849 INFO 4996 --- [ main] o.s.s.c.ThreadPoolTaskScheduler : Initializing ExecutorService 'taskScheduler'
2020-03-01 20:11:10.089 INFO 4996 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 2 endpoint(s) beneath base path '/actu
ator'
2020-03-01 20:11:11.271 WARN 4996 --- [ main] c.n.c.sources.URLConfigurationSource : No URLs will be polled as dynamic configuration
sources.
2020-03-01 20:11:11.271 INFO 4996 --- [ main] c.n.c.sources.URLConfigurationSource : To enable URLs as dynamic configuration sources
, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
2020-03-01 20:11:11.622 INFO 4996 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskEx
ecutor'
2020-03-01 20:11:12.680 INFO 4996 --- [ main] c.f.c.c.BeanFactoryAwareFunctionRegistry : Looking up function '' with acceptedOutputTypes
: []
2020-03-01 20:11:12.705 INFO 4996 --- [ main] c.f.c.c.BeanFactoryAwareFunctionRegistry : Looking up function 'hystrixStreamEndpoint' wit
h acceptedOutputTypes: []
2020-03-01 20:11:12.785 INFO 4996 --- [ main] c.f.c.c.BeanFactoryAwareFunctionRegistry : Looking up function 'hystrixStreamEndpoint' wit
h acceptedOutputTypes: []
2020-03-01 20:11:12.800 INFO 4996 --- [ main] c.f.c.c.BeanFactoryAwareFunctionRegistry : Looking up function 'hystrixStreamEndpoint' wit
h acceptedOutputTypes: []
2020-03-01 20:11:12.800 INFO 4996 --- [ main] c.f.c.c.BeanFactoryAwareFunctionRegistry : Looking up function 'hystrixStreamEndpoint' wit
h acceptedOutputTypes: [application/json]
2020-03-01 20:11:13.390 INFO 4996 --- [ main] o.s.core.boot.config.RetryConfiguration : configServerRetryInterceptor: Changing backOffO
ptions to initial: 1000, multiplier: 1.2, maxInterval: 5000
2020-03-01 20:11:14.091 INFO 4996 --- [ main] f.a.AutowiredAnnotationBeanPostProcessor : Inconsistent constructor declaration on bean wi
th name 'org.springblade.core.launch.server.ServerInfo': single autowire-marked constructor flagged as optional - this constructor is effectively r
equired since there is no default constructor to fall back to: public org.springblade.core.launch.server.ServerInfo$$EnhancerBySpringCGLIB$$8108428
6(org.springframework.boot.autoconfigure.web.ServerProperties)
2020-03-01 20:11:14.299 INFO 4996 --- [ main] o.s.core.log.logger.BladeLogger : blade-desk: BladeLogger init success!
2020-03-01 20:11:14.407 INFO 4996 --- [ main] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [spr
ingfox.documentation.swagger2.web.Swagger2Controller#getDocumentation(String, HttpServletRequest)]
2020-03-01 20:11:16.713 INFO 4996 --- [ main] o.s.i.endpoint.EventDrivenConsumer : Adding {logging-channel-adapter:_org.springfram
ework.integration.errorLogger} as a subscriber to the 'errorChannel' channel
2020-03-01 20:11:16.714 INFO 4996 --- [ main] o.s.i.channel.PublishSubscribeChannel : Channel 'blade-desk-1.errorChannel' has 1 subsc
riber(s).
2020-03-01 20:11:16.714 INFO 4996 --- [ main] o.s.i.endpoint.EventDrivenConsumer : started bean '_org.springframework.integration.
errorLogger'
2020-03-01 20:11:16.714 INFO 4996 --- [ main] o.s.i.endpoint.EventDrivenConsumer : Adding {router} as a subscriber to the 'hystrix
StreamEndpoint_integrationflow.channel#0' channel
2020-03-01 20:11:16.715 INFO 4996 --- [ main] o.s.integration.channel.DirectChannel : Channel 'blade-desk-1.hystrixStreamEndpoint_int
egrationflow.channel#0' has 1 subscriber(s).
2020-03-01 20:11:16.715 INFO 4996 --- [ main] o.s.i.endpoint.EventDrivenConsumer : started bean 'hystrixStreamEndpoint_integration
flow.org.springframework.integration.config.ConsumerEndpointFactoryBean#0'
2020-03-01 20:11:16.719 WARN 4996 --- [ main] o.s.w.c.s.GenericWebApplicationContext : Exception encountered during context initializa
tion - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Failed to start bean 'outputBindingLifecycle'; nested e
xception is java.lang.IllegalArgumentException: A default binder has been requested, but there is no binder available
2020-03-01 20:11:16.728 INFO 4996 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskE
xecutor'
2020-03-01 20:11:16.744 INFO 4996 --- [ main] o.s.s.c.ThreadPoolTaskScheduler : Shutting down ExecutorService 'taskScheduler'
2020-03-01 20:11:16.773 INFO 4996 --- [ main] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ...
2020-03-01 20:11:16.786 INFO 4996 --- [ main] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed
2020-03-01 20:11:16.808 INFO 4996 --- [ main] ConditionEvaluationReportLoggingListener :
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2020-03-01 20:11:16.810 ERROR 4996 --- [ main] o.s.boot.SpringApplication : Application run failed
org.springframework.context.ApplicationContextException: Failed to start bean 'outputBindingLifecycle'; nested exception is java.lang.IllegalArgume
ntException: A default binder has been requested, but there is no binder available
at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:185)
at org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:53)
at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:360)
at org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:158)
at org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:122)
at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:894)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:553)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:747)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:126)
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate
.java:99)
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:12
4)
at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:123)
at org.springframework.test.context.web.ServletTestExecutionListener.setUpRequestContextIfNecessary(ServletTestExecutionListener.java:190)
at org.springframework.test.context.web.ServletTestExecutionListener.prepareTestInstance(ServletTestExecutionListener.java:132)
at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:244)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:227)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:246)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
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:498)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
Caused by: java.lang.IllegalArgumentException: A default binder has been requested, but there is no binder available
at org.springframework.util.Assert.notEmpty(Assert.java:549)
at org.springframework.cloud.stream.binder.DefaultBinderFactory.doGetBinder(DefaultBinderFactory.java:142)
at org.springframework.cloud.stream.binder.DefaultBinderFactory.getBinder(DefaultBinderFactory.java:132)
at org.springframework.cloud.stream.binding.BindingService.getBinder(BindingService.java:362)
at org.springframework.cloud.stream.binding.BindingService.bindProducer(BindingService.java:257)
at org.springframework.cloud.stream.binding.AbstractBindableProxyFactory.createAndBindOutputs(AbstractBindableProxyFactory.java:136)
at org.springframework.cloud.stream.binding.OutputBindingLifecycle.doStartWithBindable(OutputBindingLifecycle.java:58)
at java.util.LinkedHashMap$LinkedValues.forEach(LinkedHashMap.java:608)
at org.springframework.cloud.stream.binding.AbstractBindingLifecycle.start(AbstractBindingLifecycle.java:57)
at org.springframework.cloud.stream.binding.OutputBindingLifecycle.start(OutputBindingLifecycle.java:34)
at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:182)
... 43 common frames omitted
2020-03-01 20:11:16.813 ERROR 4996 --- [ main] o.s.test.context.TestContextManager : Caught exception while allowing TestExecutionLi
stener [org.springframework.test.context.web.ServletTestExecutionListener@11c9af63] to prepare test instance [BladeDemoTest@1c3eeda4]
java.lang.IllegalStateException: Failed to load ApplicationContext
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:13
2)
at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:123)
at org.springframework.test.context.web.ServletTestExecutionListener.setUpRequestContextIfNecessary(ServletTestExecutionListener.java:190)
at org.springframework.test.context.web.ServletTestExecutionListener.prepareTestInstance(ServletTestExecutionListener.java:132)
at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:244)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:227)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:246)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
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:498)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
Caused by: org.springframework.context.ApplicationContextException: Failed to start bean 'outputBindingLifecycle'; nested exception is java.lang.Il
legalArgumentException: A default binder has been requested, but there is no binder available
at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:185)
at org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:53)
at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:360)
at org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:158)
at org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:122)
at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:894)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:553)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:747)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:126)
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate
.java:99)
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:12
4)
... 31 common frames omitted
Caused by: java.lang.IllegalArgumentException: A default binder has been requested, but there is no binder available
at org.springframework.util.Assert.notEmpty(Assert.java:549)
at org.springframework.cloud.stream.binder.DefaultBinderFactory.doGetBinder(DefaultBinderFactory.java:142)
at org.springframework.cloud.stream.binder.DefaultBinderFactory.getBinder(DefaultBinderFactory.java:132)
at org.springframework.cloud.stream.binding.BindingService.getBinder(BindingService.java:362)
at org.springframework.cloud.stream.binding.BindingService.bindProducer(BindingService.java:257)
at org.springframework.cloud.stream.binding.AbstractBindableProxyFactory.createAndBindOutputs(AbstractBindableProxyFactory.java:136)
at org.springframework.cloud.stream.binding.OutputBindingLifecycle.doStartWithBindable(OutputBindingLifecycle.java:58)
at java.util.LinkedHashMap$LinkedValues.forEach(LinkedHashMap.java:608)
at org.springframework.cloud.stream.binding.AbstractBindingLifecycle.start(AbstractBindingLifecycle.java:57)
at org.springframework.cloud.stream.binding.OutputBindingLifecycle.start(OutputBindingLifecycle.java:34)
at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:182)
... 43 common frames omitted
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 19.783 sec <<< FAILURE>
contextLoads(BladeDemoTest) Time elapsed: 0.002 sec <<< ERROR>
java.lang.IllegalStateException: Failed to load ApplicationContext
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:13
2)
at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:123)
at org.springframework.test.context.web.ServletTestExecutionListener.setUpRequestContextIfNecessary(ServletTestExecutionListener.java:190)
at org.springframework.test.context.web.ServletTestExecutionListener.prepareTestInstance(ServletTestExecutionListener.java:132)
at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:244)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:227)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:246)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
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:498)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
Caused by: org.springframework.context.ApplicationContextException: Failed to start bean 'outputBindingLifecycle'; nested exception is java.lang.Il
legalArgumentException: A default binder has been requested, but there is no binder available
at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:185)
at org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:53)
at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:360)
at org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:158)
at org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:122)
at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:894)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:553)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:747)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:126)
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate
.java:99)
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:12
4)
... 31 more
Caused by: java.lang.IllegalArgumentException: A default binder has been requested, but there is no binder available
at org.springframework.util.Assert.notEmpty(Assert.java:549)
at org.springframework.cloud.stream.binder.DefaultBinderFactory.doGetBinder(DefaultBinderFactory.java:142)
at org.springframework.cloud.stream.binder.DefaultBinderFactory.getBinder(DefaultBinderFactory.java:132)
at org.springframework.cloud.stream.binding.BindingService.getBinder(BindingService.java:362)
at org.springframework.cloud.stream.binding.BindingService.bindProducer(BindingService.java:257)
at org.springframework.cloud.stream.binding.AbstractBindableProxyFactory.createAndBindOutputs(AbstractBindableProxyFactory.java:136)
at org.springframework.cloud.stream.binding.OutputBindingLifecycle.doStartWithBindable(OutputBindingLifecycle.java:58)
at java.util.LinkedHashMap$LinkedValues.forEach(LinkedHashMap.java:608)
at org.springframework.cloud.stream.binding.AbstractBindingLifecycle.start(AbstractBindingLifecycle.java:57)
at org.springframework.cloud.stream.binding.OutputBindingLifecycle.start(OutputBindingLifecycle.java:34)
at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:182)
... 43 more
Results :
Tests in error:
contextLoads(BladeDemoTest): Failed to load ApplicationContext
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for SpringBlade 2.6.1:
[INFO]
[INFO] SpringBlade ........................................ SUCCESS [ 1.124 s]
[INFO] blade-common ....................................... SUCCESS [ 4.932 s]
[INFO] blade-service-api .................................. SUCCESS [ 0.563 s]
[INFO] blade-user-api ..................................... SUCCESS [ 3.075 s]
[INFO] blade-auth ......................................... SUCCESS [ 4.642 s]
[INFO] blade-gateway ...................................... SUCCESS [ 3.954 s]
[INFO] blade-ops .......................................... SUCCESS [ 0.034 s]
[INFO] blade-admin ........................................ SUCCESS [ 2.702 s]
[INFO] blade-dict-api ..................................... SUCCESS [ 2.757 s]
[INFO] blade-develop ...................................... SUCCESS [ 6.706 s]
[INFO] blade-resource ..................................... SUCCESS [ 2.905 s]
[INFO] blade-seata-order .................................. SUCCESS [ 3.980 s]
[INFO] blade-seata-storage ................................ SUCCESS [ 3.348 s]
[INFO] blade-desk-api ..................................... SUCCESS [ 2.320 s]
[INFO] blade-service ...................................... SUCCESS [ 0.074 s]
[INFO] blade-desk ......................................... FAILURE [ 27.670 s]
[INFO] blade-log .......................................... SKIPPED
[INFO] blade-system-api ................................... SKIPPED
[INFO] blade-system .......................................
扫一扫访问 Blade技术社区 移动端