Skip to content
Advertisement

Tag: spring

How does the double-dot “..” syntax work in AspectJ?

i need to put this aop aspect to work, but i always get error 404, i need to know if this dots, after controller is right. idk how these dots works, to acess the controller. if can explain how the dots works. Answer would mean – the execution of any method defined in the com.teste1.teste2.web.controller package or one of its

Binding two Property classes and I need to merge them to one and Bind that too

I am working in a library which configures Property classes through Spring properties in an application.yml file. I am moving from a deprecated prefix(com.myapp.deprecated) to a new prefix(com.myapp.newprefix). I want to maintain old applications that are already using the deprecated prefix for a short while to allow for a migration period. To achieve that I have made two classes that

Why after that I quit a Spring Boot application in a Linux shell (by CTRL+Z) a process still listen on the 8080 port? (the port used by my application

I am working on a Spring Boot application running it on a Linux machine. It is a batch application containing Spring Boot Admin tool listening on the 8080 port. I have the following “problem”: I run it into my shell for the first time using this command: it correctly start and I can access to the Spring Boot Admin tool

Spring Boot + Infinispan embedded – how to prevent ClassCastException when the object to be cached has been modified?

I have a web application with Spring Boot 2.5.5 and embedded Infinispan 12.1.7. I have a Controller with an endpoint to get a Person object by ID: The following is the PersonService implementation with the use of the @Cacheable annotation on the getPerson method : And here is the Person class: I configured infinispan to use a filesystem-based cache store:

How to get ApplicationContext in xml definition?

What is the xml equivalent of the ? P.S.: When I try to google it I got a million results about how ApplicationContext works but not how to get it in the xml definition. The project is all writen using xml definition so I need to find a way how to do it without anotations. Answer First, configure your spring

Advertisement