Questions tagged [spring-context]

95 questions
0
votes
1 answer

MyBatis MapperScannerConfigurer to scan base package from classpath

I have configured MapperScannerConfigurer in spring application context as follow:
01000001
  • 833
  • 3
  • 8
  • 21
0
votes
2 answers

java.lang.ClassNotFoundException: org.springframework.context.ApplicationContext

I get this exception when tried to create ApplicationContext applicationContext; I have org.springframework spring-context 5.1.7.RELEASE also…
T.Sham
  • 1
  • 1
  • 3
0
votes
0 answers

How to call/test Spring Boot Controllers in aws lamda locally

I have to test/call Spring Boot Controllers in aws lamda locally. I am using "serverless" to locally Here is my "RequestHandler" public class ReqHandler implements RequestStreamHandler { private static…
Farhan
  • 105
  • 1
  • 10
-1
votes
1 answer

Is BeanPostProcessor postProcessAfterInitialization needed only to work with proxy?

A bean implementing BeanPostProcessor is called when all bean definitions will have been loaded, but no beans will have been instantiated yet BeanPostprocessor is executed after the bean object is created, as it can be executed before init() and…
J.J. Beam
  • 2,612
  • 2
  • 26
  • 55
-1
votes
2 answers

SpringBoot not able to inject bean into kafkaConumser i.e. in class outside spring managed class due to double loading of spring context

I am using spring boot starter 2.2.0.RELEASE for my application. I have one kafka consumer. Now I want to inject my spring entities into my kafka consumer (kafka consumer is not managed by spring container). I tried ApplicationContextAware but it…
1 2 3 4 5 6
7