Tutorials

Java Tutorial
C Tutorial
Spring Boot Tutorial

Spring Boot

How to Log Request and Response in Spring Boot

In the production environment, logging of request and response in a spring boot

Create a Custom Endpoint in Spring Boot Actuator

Spring boot actuator can be used to monitor and manage the spring boot

How to get Thread Dump in Spring Boot

Thread dump in java provides all the state of currently existing threads in

How to Enable Disable Endpoints in Spring Boot Actuator

We’ll go over how to enable and disable actuator endpoints in a spring

Spring Boot Actuator Not Working – Troubleshoot

Spring Boot Actuator is not working because the spring boot actuator dependency is

Python

TypeError: can’t multiply sequence by non-int of type ‘float’

The TypeError: can’t multiply sequence by non-int of type ‘float’

AttributeError: ‘dict’ object has no attribute ‘append’

The python AttributeError: ‘dict’ object has no attribute ‘append’ error

AttributeError: ‘NoneType’ object has no attribute ‘append’

The AttributeError: ‘NoneType’ object has no attribute ‘append’ error happens

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’

Spring Boot

java.lang.IllegalArgumentException: jdbcUrl is required with driverClassName

java.lang.IllegalArgumentException: jdbcUrl is required with driverClassName error occurs when Hikari

java.sql.SQLSyntaxErrorException: Table ‘dbname.hibernate_sequence’ doesn’t exist

java.sql.SQLSyntaxErrorException: Table ‘dbname.hibernate_sequence’ doesn’t exist error occurs when the hibernate_sequence

Table “BATCH_JOB_INSTANCE” not found; SQL statement – Spring Boot Batch

org.springframework.jdbc.BadSqlGrammarException: PreparedStatementCallback; bad SQL grammar [SELECT JOB_INSTANCE_ID, JOB_NAME from BATCH_JOB_INSTANCE

java.lang.IllegalArgumentException: URI is not absolute

java.lang. IllegalArgumentException: URI is not absolute occurs when a relative

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