Tutorials

Java Tutorial
C Tutorial
Spring Boot Tutorial

Spring Boot

How to read multiple external properties file in Spring Boot

Spring boot can read multiple external properties files via command line arguments that

How to read properties file outside jar in Spring Boot

Spring boot can to read properties files from outside jars that contains application

How to create executable jar file in Spring Boot

Spring boot allows to create executable jar files using maven by configuring in

How to access a value defined in the application.properties file

Spring boot enables to access a value defined in the application.properties file in

Spring Boot Batch read from database and write to database

Spring boot batch can read data from a database and write to another

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