- 博客(2)
- 收藏
- 关注
原创 shell:你为什么 numeric argument required?
已知:shell编写function时,返回值是一个字符串,执行时报错....sh: line 11: return:...: numeric argument required解:原因为shell的function只能返回整数值,故该处可以将返回值赋值给一个变量,调用该funciton后,便可以通过该变量获取到返回值demo:#!/bin/bash# 声明functiontest(){ # 假如我是返回值 str='hello shell' result.
2020-08-11 15:51:25 16787
原创 SpringBootTest报错:No qualifying bean of type...expected at least 1 bean which qualifies as autowire
报错信息:Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.xlhy.saas.cloud.bigdata.service.AdvertisingConfigService' available: expected at least 1 bean which qualifies as autowire candidate. Depende
2020-08-10 15:45:31 3047
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人