-
Fixing the Spring Web error: Expected lookupPath in request attribute “org.springframework.web.util.UrlPathHelper.PATH”
The other day I was upgrading my Spring Boot app from 2.3.1 to 2.6.6 to address the recent Spring vulnerability. This upgraded the dependent Spring libraries from 5.2.7 to 5.3.18. At start-up my application dynamically adds some REST endpoints by adding new RequestMappingInfo objects to the RequestMappingHandlerMapping bean already registered in the application context: When…
-
AWS CloudFormation: AutoScaling Group – You must use a valid fully-formed launch template
I had a AWS CloudFormation template that included an Auto Scaling Group, Launch Template and Security Group. The Auto Scaling Group being created was to use the Launch Template being created. And that Launch Template was to use the Security Group being created. When I created my CloudFormation stack, the stack failed with this error…
-
AWS CloudFormation: Target Group does not have an associated Load Balancer
Yesterday I was using an AWS CloudFormation template to ultimately create an ECS Service (Fargate type), but also create resources including an Application Load Balancer, Target Group and IAM Roles. When the stack was being created, I received the following error: The target group with targetGroupArn arn:aws:elasticloadbalancing:us-east-1:999999995545:targetgroup/MyTargetGroup/999999eb40599999 does not have an associated load balancer. (Service:…
-
Elasticsearch – Ignore special characters in query with pattern replace filter and custom analyzer
Using Elasticsearch 5, we had a field like drivers license number where values may include special characters and inconsistent upper/lower case behavior as the values were entered by the users with limited validation. For example, these are hypothetical values: CA-123-456-789 WI.12345.6789 tx123456789 az-123-xyz-456 … In our application, the end user need to search by that…
-
GWT Error – Have you forgotten to annotate your event handler with @Presenter or @EventHandler?
In developing my GWT application today, I encountered this error: Have you forgotten to annotate your event handler with @Presenter or @EventHandler? This one was a struggle to track down. In fact, the actual problem did not seem related to the error message at all. The problem was I was using a Java SDK class…
-
Let’s hope this works…
I am going to start posting solutions to problems I encounter while developing and deploying the applications I work on. Hopefully I can help at least one other person out by saving them some time. After all, if I had to search the web for it, I bet someone else is encountering the same problem.…