@MockkBeanではevery文で定義しなかった関数は何も返さない関数に置き換わりますが、
@SpykBeanではevery文で定義しなかった関数はそのままオリジナルの関数の定義を引き継ぎます。 @MockkBeanではevery文で定義しなかった関数は何も返さない関数に置き換わりますが、
@SpykBeanではevery文で定義しなかった関数はそのままオリジナルの関数の定義を引き継ぎます。 Use config.setAllowedOriginPatterns("*") instead of config.setAllowedOrigins(Collections.singletonList("*"));
logging.level.org.springframework.boot.autoconfigure=ERROR
user name: user
password:
2022-06-29 17:17:09.586 WARN 1242 --- [ main] .s.s.UserDetailsServiceAutoConfiguration :
Using generated security password: 7b324ed9-1181-461e-bd5e-0a26ebdd3013
This generated password is for development use only. Your security configuration must be updated before running your application in production.
curl -X POST -H 'Content-type:application/json' \
--data-binary @some.json some_url
久しぶりにJavaを触った。
many many jdks ...so how to mange so many jdks
deprecated gradle features were used in this build, making it incompatible with gradle 8.0.
=> add ↓ to gradle.properties
org.gradle.warning.mode=all
then
he JavaExec.main property has been deprecated
change build.gradle
plugins {
id "application"
}
apply plugin : "java"
application {
mainClass = 'xxx.xxx'
}
then
gradle run
slf4j has more implements. but you have none in you class path, that is the reason.
add it
gradle example
build.gradle
```
dependencies { implementation 'org.slf4j:slf4j-log4j12:1.7.36' }
```