Spring Boot
How to set Logging Level with application.properties in Spring Boot
The logging level of the spring boot application is set using the logging
How to Configure Port for a Spring Boot Application
The spring boot application is configured with the default tomcat server. The spring
Spring Boot Optional Path Variables
In this post, we’ll see how to make the @PathVariable optional for the
Spring Boot @PathVariable Annotation
The annotation @PathVariable in the spring boot is used to bind the template
RejectedExecutionException: Task java.util.concurrent.FutureTask rejected from java.util.concurrent.ThreadPoolExecutor
The spring boot exception java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.FutureTask rejected from java.util.concurrent.ThreadPoolExecutor happens when the
Python
TypeError: unsupported operand type(s) for +: ‘NoneType’ and ‘int’
In python, TypeError: unsupported operand type(s) for +: ‘NoneType’ and
TypeError: unsupported operand type(s) for -: ‘str’ and ‘str’
The python error TypeError: unsupported operand type(s) for -: ‘str’
TypeError: unsupported operand type(s) for -: ‘str’ and ‘int’
The python error TypeError: unsupported operand type(s) for-: ‘str’ and
ValueError: invalid literal for long() with base 10:
The python error ValueError: Invalid literal for long() with base
ValueError: invalid literal for int() with base 16:
The python error ValueError: Invalid literal for int with base
Spring Boot
Missing URI template variable for method parameter of type String
The spring boot exception Missing URI template variable for method parameter of type String occurs when the path variable name in the @RequestMapping annotation is different from the @PathVariable name. The name of the path variable should be the same in @RequestMapping and @PathVariable. If there is some mismatch, the exception Missing URI template variable for method parameter of type String would be thrown. The path variable is added as part of the request url in the @RequestMapping annotation. The path variable is covered by curly brackets. The path variable is added to the method parameter with a @PathVariable annotation. The name of the method parameter and the name of the path variable should be the same to avoid an exception Missing URI template variable ” for method parameter of type String. Exception The exception Missing URI template variable for method parameter of type String will
UnsatisfiedDependencyException: Error creating bean with name defined in file
The spring boot exception org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name
BeanCreationException: Error creating bean with name
The spring boot exception org.springframework.beans.factory.BeanCreationException: Error creating bean with name
BeanInstantiationException: Failed to instantiate
The spring boot exception BeanInstantiationException: Failed to instantiate happens when