You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'toUpperCase_registration': Could not resolve matching constructor (hint: specify index/type/name arguments for simple parameters to avoid type ambiguities)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:279) ~[na:na]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1354) ~[na:na]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1204) ~[na:na]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:564) ~[na:na]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:524) ~[na:na]
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) ~[na:na]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[na:na]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) ~[na:na]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) ~[na:na]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:925) ~[na:na]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918) ~[na:na]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) ~[na:na]
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:144) ~[na:na]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:769) ~[com.example.functionnative.FunctioningApplicationKt:na]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:761) ~[com.example.functionnative.FunctioningApplicationKt:na]
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:426) ~[com.example.functionnative.FunctioningApplicationKt:na]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:326) ~[com.example.functionnative.FunctioningApplicationKt:na]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1313) ~[com.example.functionnative.FunctioningApplicationKt:na]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1302) ~[com.example.functionnative.FunctioningApplicationKt:na]
at com.example.functionnative.FunctioningApplicationKt.main(FunctioningApplication.kt:21) ~[na:na]
The text was updated successfully, but these errors were encountered:
@sdeleuze just as a reminder; I did make questionable class public in case you decide to test against current snapshots of s-c-function or check if there is any difference between it being private (in the latest release - 3.1.2) and public (in the current snapshot - 3.1.3-SNAPSHOT)
The initial issue was raised here, but Oleg asked me to move it and add a repo that replicates it.
spring-cloud/spring-cloud-function#675
Reproduction steps
Clone this repo https://github.com/frayneposset/functionnative.git
Build the docker image:
./gradlew build bootBuildImage
Run the docker image:
docker run functionnative:0.0.1-SNAPSHOT
This results in the following error:
The text was updated successfully, but these errors were encountered: