I want to configure logging in spring boot application. I have configure logback-spring.xml. The sample of logback-spring.xml is located on here and sample of a
I keep getting this annoying error from Checkmarx code scanner, Method getTotalValue at line 220 of src\java\com\example\PeopleController.java gets user input
I want to write a test for controller. Here is test snippet: @RunWith(SpringRunner.class) @WebMvcTest(WeatherStationController.class) @ContextConfiguration(cla
I have a simple question about exception handling. I currently have an application divided into multiple layers: controller, service, repository, and my questio
Any help appreciated ! I have a spring boot application to be connected to couchbase with following details Repository interface @Repository public interf
Here's my Spring Boot config @SpringBootApplication public class ServicesApplication { public static void main(String[] args) { SpringApplication.
I getting error Like Fail 1 Correct HTML Component with the name 'userName/contactNumber/emailId/confirmEmailId/status/submit' must be given correctly Fail 2
I tried to find the solution for the below problem, but none of them worked for me. I am developing Angular + Spring Boot application using MySQL + flyway. Plea
I am using swagger 2.0 in a Spring boot(version 1.5.9.RELEASE) project. Swagger works fine but now documentation have hundreds of api and I want to redirect doc
I am trying to develop Spring Boot web application and securing it using Spring security java configuration. After placing my static web resources in 'src/main
I am trying to implement pagination feature in Spring Data JPA. I am referring this Blog My Controller contains following code : @RequestMapping(value="/orga
I have an issue with a project I just join. The technical stack : Jhipster with Angular and SpringBoot Keycloak I replace the right url by example.com and bar.c
I can't understand where is the problem Repository class: @Repository public interface PhotoRepository extends JpaRepository<Photo, UUID> { Page<Phot
When I call a query in graphiQL i get the following response { "errors": [ { "message": "The field at path '/customers' was declared as a non null t
I've recently installed the plugin "spring boot assistant" into my Intellij. When I was trying to run an old java file that I've completed before, a lot of the
I have this problem when testing a JPA repository: Caused by: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "CREATED_AT" not found; SQL statement: ins
I have a simple Spring Cloud Config Server which consume configuration from git server. ConfigServer bootstrap.yml : spring: application: name: config-
Like the title says, I'm getting the Whitelabel 404 error page when trying to access localhost:8080. Main class: package com.michaelLong.studentaddressbook;
@Component public class TestInterceptor implements HandlerInterceptor { @Override public void afterCompletion(HttpServletRequest arg0, HttpS
There is 3 (node.js + kafka-node) client Following the tutorial, I made topic 'quickstart-events'. Topic: quickstart-events TopicId: oZC9g7FvTiOm-QIuPpyo