Gang Of Coders
Home
About Us
Contact Us
All Spring Solutions on Gang of Coders
Total of 875 Spring Solutions
getServletConfigClasses() vs getRootConfigClasses() when extending AbstractAnnotationConfigDispatcherServletInitializer
Java
Spring
Spring Mvc
Configuration
Component Scan
How to do PATCH properly in strongly typed languages based on Spring - example
Spring
Rest
Spring Boot
Patch
Kotlin
Using @Headers with dynamic values in Feign client + Spring Cloud (Brixton RC2)
Spring
Spring Cloud
Spring Cloud-Netflix
Override a single @Configuration class on every spring boot @Test
Spring
Spring Boot
Spring Test
Spring catch all route for index.html
Spring
Spring Mvc
Spring Boot
Single Page-Application
Catch All
Service layer and controller: who takes care of what?
Java
Spring
Architecture
Business Logic
Using env variable in Spring Boot's application.properties
Java
Mysql
Spring
Spring Mvc
Openshift
Spring REST multiple @RequestBody parameters, possible?
Java
Json
Spring
Spring Mvc
Jackson
Spring annotation-based DI vs xml configuration?
Java
Spring
Configuration
Dependency Injection
Annotations
Are Spring objects thread safe?
Spring
Provide time zone to Spring @Scheduled?
Java
Spring
Cron
Timezone
Scheduling
How to use new PasswordEncoder from Spring Security
Java
Spring
Spring Security
How to show localization messages with parameters in Spring 3 / Thymeleaf
Java
Spring
Thymeleaf
How to pass system property to Gradle task
Spring
Gradle
Spring Boot
How to enable request scope in async task executor
Java
Spring
What is the difference between Spring REST service, Jersey REST service and Spring+Jersey solutions?
Json
Spring
Jersey
Rest
Convert Map to JSON using Jackson
Java
Json
Spring
Jackson
Gson
IntelliJ Process finished with exit code 0 when spring-boot run
Java
Spring
Intellij Idea
Spring Boot
Injecting a String property with @InjectMocks
Java
Spring
Unit Testing
Dependency Injection
Mockito
How to bind an object list with thymeleaf?
Java
Spring
Spring Mvc
Spring Boot
Thymeleaf
Issue With Spring: There was an unexpected error (type=Not Found, status=404)
Java
Spring
Maven
Spring Mvc
Endpoint
How to beautifully update a JPA entity in Spring Data?
Java
Spring
Jpa
Spring Data
Spring Data-Jpa
No property found for type... custom Spring Data repository
Spring
Spring Boot
Spring Data
Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test
Java
Spring
Spring Boot
Spring Data-Jpa
Spring Test
How do I prevent Spring 3.0 MVC @ModelAttribute variables from appearing in URL?
Java
Spring
Spring Mvc
How to implement pagination in Spring MVC 3
Java
Spring
Spring Mvc
Servlets
Pagination
Why use Spring ApplicationContext hierarchies?
Spring
Springs XmlBeanFactory is deprecated
Java
Spring
Deprecated
Xmlbeans
Add attributes to the model of all controllers in Spring 3
Java
Spring
Spring Mvc
Spring 3
How do I get a property value from an ApplicationContext object? (not using an annotation)
Spring
Spring El
Can @PropertySources be chosen by Spring profile?
Spring
Order By Date ASC with Spring Data
Java
Sql
Spring
Postgresql
Spring Data
java.lang.ClassNotFoundException: org.springframework.boot.SpringApplication Maven
Java
Spring
Maven
Spring MVC 3.2 Thymeleaf Ajax Fragments
Ajax
Spring
Spring Mvc
Thymeleaf
java.lang.IllegalArgumentException: A ServletContext is required to configure default servlet handling
Spring
Spring Mvc
Spring Test
What is the order of precedence when there are multiple Spring's environment profiles as set by spring.profiles.active
Spring
Spring Profiles
Spring-Batch without persisting metadata to database?
Java
Spring
Spring Batch
When use AbstractAnnotationConfigDispatcherServletInitializer and WebApplicationInitializer?
Spring
Spring Mvc
Spring 3
Spring 4
How do I send spring csrf token from Postman rest client?
Spring
Rest
Header
Csrf
Postman
How to fill HashMap from java property file with Spring @Value
Java
Spring
Properties File
Spring El
Use @RequestBody with optional body in latest Spring v4
Java
Spring
Spring Mvc
Httprequest
Multiple antMatchers in Spring security
Spring
Spring Mvc
Spring Security
how to debug spring application with gradle
Java
Eclipse
Spring
Debugging
Gradle
How to enable all endpoints in actuator (Spring Boot 2.0.0 RC1)
Java
Spring
Spring Boot
Spring Boot-Actuator
What is the spring-boot-configuration-processor ? Why do people exclude libraries from it? Why is it invisible in dependency tree?
Java
Spring
Maven
Spring Boot
Gradle
Spring - Annotation Based Controller - RequestMapping based on query string
Spring
Annotations
Type safety: Unchecked cast
Java
Spring
Type Safety
Unchecked
Any open source Spring sample project that's bigger than PetClinic?
Spring
Open Source
Spring Mvc
Spring @ContextConfiguration how to put the right location for the xml
Java
Unit Testing
Spring
Annotations
Maven
Is there a way to avoid undeployment memory leaks in Tomcat?
Java
Spring
Tomcat
Memory Leaks
Jaxb
Getting the java.lang.reflect.Method from a ProceedingJoinPoint?
Spring
Jakarta Ee
Aop
Aspectj
Spring Aop
What is difference between singleton and prototype bean?
Spring
Dependency Injection
Access Https Rest Service using Spring RestTemplate
Spring
Rest
Https
Certificate
Resttemplate
View content of embedded H2 database started by Spring
Spring
H2
setting up a value for a variable name in thymeleaf
Java
Html
Spring
Jsp
Thymeleaf
what is the difference between Spring and Spring MVC framework
Java
Spring
Spring Mvc
Immutable @ConfigurationProperties
Java
Spring
Spring Boot
Properties File
Path variables in Spring WebSockets @SendTo mapping
Java
Spring
Websocket
Stomp
Sockjs
Modify default JSON error response from Spring Boot Rest Controller
Json
Spring
Rest
Spring Boot
Is spring default scope singleton or not?
Java
Spring
Dependency Injection
Singleton
Spring Ioc
What is Eureka service, Eureka Client, Eureka instance and Eureka server
Spring
Spring Cloud
Netflix Eureka
How can I set up a letsencrypt SSL certificate and use it in a Spring Boot application?
Java
Spring
Ssl
Spring Boot
Lets Encrypt
how to show query while using query annotations with MongoRepository with spring data
Java
Spring
Mongodb
Spring Data
Mongorepository
JPQL Like Case Insensitive
Java
Spring
Jpa
Spring Data-Jpa
Jpql
Can't set JPA naming strategy after configuring multiple data sources (Spring 1.4.1 / Hibernate 5.x)
Spring
Hibernate
Spring Boot
Spring Data-Jpa
What difference does @EnableConfigurationProperties make if a bean is already annotated with @ConfigurationProperties?
Java
Spring
Spring Boot
java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
Spring
Tomcat7
Classnotfoundexception
How can I inject a property value into a Spring Bean which was configured using annotations?
Java
Spring
Dependency Injection
Spring Scheduling: @Scheduled vs Quartz
Java
Spring
Scheduling
Quartz Scheduler
How can I shutdown Spring task executor/scheduler pools before all other beans in the web app are destroyed?
Java
Spring
Threadpool
Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/security]
Spring
Spring Security
When using Spring Security, what is the proper way to obtain current username (i.e. SecurityContext) information in a bean?
Java
Spring
Spring Mvc
Spring Security
org.hibernate.AnnotationException: No identifier specified for entity - even when it was
Spring
Hibernate
Spring Data
Spring Data-Jpa
How to have multiple condition in an th:if tag using thymeleaf
Java
Html
Spring
Jstl
Thymeleaf
How to enable LockModeType.PESSIMISTIC_WRITE when looking up entities with Spring Data JPA?
Java
Spring
Jpa
Spring Data
Spring Data-Jpa
Testing @Scheduled in spring
Java
Spring
Unit Testing
Scheduler
java.lang.NoSuchMethodException: userAuth.User.<init>()
Java
Spring
Validation
Hibernate Validator
Cannot Autowire Service in HandlerInterceptorAdapter
Java
Spring
Spring Mvc
exception loading sessions from persistent storage
Java
Spring
Spring Mvc
Spring HATEOAS embedded resource support
Java
Spring
Spring Hateoas
Spring Boot JSP 404
Java
Spring
Jsp
Spring Mvc
How set up Spring Boot to run HTTPS / HTTP ports
Java
Spring
Spring Boot
Ssl
Using Spring Boot together with gRPC and Protobuf
Spring
Spring Boot
Protocol Buffers
Grpc
Unable to find a suitable main class, please add a 'mainClass' property, Spring boot
Java
Spring
Maven
How do you turn off swagger-ui in production
Java
Spring
Spring Boot
Swagger
Swagger Ui
Why is Spring's ApplicationContext.getBean considered bad?
Java
Spring
Spring boot 1.4 Testing : Configuration error: found multiple declarations of @BootstrapWith
Java
Spring
Spring Mvc
Spring Boot
Spring Test
SpringBoot: Unable to find a single main class from the following candidates
Spring
Maven
Spring Mvc
Spring Boot
Spring Profiles
Spring beans redefinition in unit test environment
Spring
Unit Testing
Spring Test
How to unit test a Spring MVC controller using @PathVariable?
Java
Spring
Unit Testing
Spring Mvc
Spring Test
How does Spring 3 expression language interact with property placeholders?
Java
Spring
Spring El
Spring 3.0 vs Java EE 6.0
Spring
Jakarta Ee
Reading a List from properties file and load with spring annotation @Value
Java
Spring
Spring Properties
Injecting Mockito mocks into a Spring bean
Spring
Dependency Injection
Junit
Annotations
Mockito
Autowiring spring bean by name using annotation
Spring
Autowired
Spring cache @Cacheable method ignored when called from within the same class
Spring
Caching
Spring Cache
How to import Java-config class into XML-config so that both contexts have beans?
Spring
Configuration
What is the difference between an Spring Entity Manager and Spring Data Repository?
Spring
Jpa
Spring Data
Spring Data-Jpa
Do you need a database transaction for reading data?
Java
Spring
Hibernate
Jdbc
Transactions
How to configure annotations processing in IntelliJ IDEA 14 for current project work?
Java
Spring
Maven
Spring Mvc
Intellij Idea
Dynamic spring data jpa repository query with arbitrary AND clauses
Java
Spring
Spring Data
Spring Data-Jpa
Querydsl
What is the HTTP status return code for a successful DELETE statement in REST?
Java
Spring
Web Services
Rest
Spring Mvc
Unable to autowire the service inside my authentication filter in Spring
Java
Spring
Hibernate
Spring Mvc
What is the difference between "gradle bootRun" and "gradle run" to run a springboot application?
Java
Spring
Gradle
Spring Boot
Spring security CORS Filter
Java
Spring
Spring Security
Spring Boot
Cors
Connection with MySql is being aborted automatically. How to configure Connector/J properly?
Java
Mysql
Spring
Jpa
Connection Timeout
Starting new transaction in Spring bean
Java
Spring
Transactions
How does Spring annotation @Autowired work?
Spring
Dependency Injection
Autowired
Spring @Value annotation always evaluating as null?
Java
Spring
Spring Mvc
No Hibernate Session bound to thread, and configuration does not allow creation of non-transactional one here
Java
Hibernate
Spring
Spring @Async Not Working
Java
Spring
Asynchronous
Difference between Role and GrantedAuthority in Spring Security
Java
Spring
Spring Mvc
Spring Security
Why use CDI in Java EE
Java
Spring
Jakarta Ee
Cdi
Spring MVC + JSON = 406 Not Acceptable
Java
Json
Spring
Not-null property references a transient value - transient instance must be saved before current operation
Java
Json
Spring
Hibernate
Rest
How to do rest authentication with Spring Social?
Spring
Spring Security
Spring Social
Spring Security-Oauth2
Spring Security exclude url patterns in security annotation configurartion
Spring
Spring Mvc
Spring Security
Basic Authentication
Terminating mvn spring-boot:run doesn't stop tomcat
Java
Spring
Maven
Tomcat
Spring Boot
Where to put @Bean in Spring Boot?
Java
Spring
Spring Boot
how do I change log level in runtime without restarting spring boot application
Java
Spring
Logging
Spring Boot
Pcf
How to get request URL in Spring Boot RestController
Java
Spring
Spring Boot
Difference between spring JSP MVC and Thymeleaf MVC
Spring
Spring Mvc
Spring application does not start outside of a package
Java
Spring
Spring Boot Configure and Use Two DataSources
Java
Spring
Spring Boot
Spring Mvc
Datasource
Differences between jar and war in Spring Boot?
Java
Spring
Spring Boot
Jar
War
How can I set a description and an example in Swagger with Swagger annotations?
Java
Spring
Swagger
Swagger Codegen
Should the mvnw files be added to the repository?
Java
Spring
Git
Maven
Spring Boot
ObjectMapper can't deserialize without default constructor after upgrade to Spring Boot 2
Java
Spring
Spring Boot
Jackson
Lombok
Could not find or load main class org.apache.maven.wrapper.MavenWrapperMain
Java
Spring
Maven
Spring Boot
Travis Ci
What is the difference between Hibernate and Spring Data JPA
Java
Spring
Hibernate
Jpa
Spring Data-Jpa
Could not resolve Spring property placeholder
Spring
Spring Security and @Async (Authenticated Users mixed up)
Spring
Asynchronous
Spring Security
Spring Web MVC - validate individual request params
Java
Spring
Validation
Spring Mvc
HTTPS login with Spring Security redirects to HTTP
Spring
Ssl
Https
Spring Security
Tomcat6
An Authentication object was not found in the SecurityContext - Spring 3.2.2
Spring
Spring Mvc
Spring Security
How to set 'Content-Disposition' and 'Filename' when using FileSystemResource to force a file download file?
Java
Spring
Spring 3
Content Disposition
How does Spring MVC handle multiple users
Spring
Spring Mvc
Not allowed to create transaction on shared EntityManager - use Spring transactions or EJB CMT
Spring
Hibernate
Jpa
Jpa 2.0
Autowired Environment is null
Java
Spring
Properties
Environment
Autowired
Adding additional details to principal object stored in spring security context
Java
Spring
Spring Security
no suitable HttpMessageConverter found for response type
Java
Xml
Spring
Jaxb
Difference between JavaBean and Spring bean
Java
Spring
Spring Mvc
Javabeans
Spring Bean
SpringApplication.run main method
Java
Eclipse
Spring
Spring Boot
Implementing custom methods of Spring Data repository and exposing them through REST
Java
Spring
Rest
Jpa
Spring Data
Could not commit JPA transaction: Transaction marked as rollbackOnly
Java
Spring
Hibernate
Jpa
Multipart File Upload Using Spring Rest Template + Spring Web MVC
Java
Spring
Spring Mvc
Resttemplate
How to use OAuth2RestTemplate?
Spring
Spring Security
Oauth
Rest
Spring boot - custom variables in Application.properties
Spring
Spring Mvc
Spring Boot
Spring Data
How to add multiple application.properties files in spring-boot?
Java
Spring
Spring Boot
Spring-Kafka vs. Spring-Cloud-Stream (Kafka)
Spring
Spring Integration
Spring Cloud-Stream
Spring Kafka
Force a transactional rollback without encountering an exception?
Java
Hibernate
Spring
What is the difference between corePoolSize and maxPoolSize in the Spring ThreadPoolTaskExecutor
Java
Spring
Multithreading
Stateful beans and Stateless beans in Spring context
Spring
Is this very likely to create a memory leak in Tomcat?
Spring
Apache
Tomcat
How to write a custom filter in spring security?
Spring
Filter
Spring Security
Intellij IDEA: specify datasource for JPA validation
Java
Spring
Jpa
Intellij Idea
Dynamic Web Module 3.0 -- 3.1
Eclipse
Spring
Maven
Spring Mvc
Spring-Boot How to properly inject javax.validation.Validator
Java
Spring
Validation
Spring Boot
What does this do: @RunWith(SpringJUnit4ClassRunner.class)
Spring
Junit
Best way of handling entities inheritance in Spring Data JPA
Java
Spring
Spring Data
Spring Boot
Spring Data-Jpa
What are `spring-boot-starter` jars?
Java
Spring
Maven
Spring Boot
How can Mockito capture arguments passed to an injected mock object's methods?
Java
Spring
Unit Testing
Mockito
How to autowire field in static @BeforeClass?
Java
Spring
Junit
Spring Test
Spring data query where column is null
Spring
Spring Data
Spring Data-Jpa
Spring Security hasRole() not working
Java
Spring
Spring Mvc
Spring Security
Thymeleaf
Configure specific in memory database for testing purpose in Spring
Spring
Spring Boot
Spring Data
Spring Test
Spring Test-Dbunit
How to find distinct rows with field in list using JPA and Spring?
Java
Spring
Hibernate
Jpa
Java 8
Spring Data JPA: query ManyToMany
Java
Spring
Jpa
Spring Data
Spring Data-Jpa
spring @Autowire property vs setter
Java
Spring
Dependency Injection
File Upload with Angular2 to REST API
Spring
Angular
Spring Mvc
Angular2 Forms
Angular2 Http
Spring + hibernate versus Spring Data JPA: Are they different?
Spring
Hibernate
Jpa
Spring Data-Jpa
Spring Orm
Mapstruct - How can I inject a spring dependency in the Generated Mapper class
Spring
Mapstruct
Why Spring Boot Application class needs to have @Configuration annotation?
Java
Spring
Spring Boot
Spring @Autowired and @Qualifier
Java
Spring
MultipartException: Current request is not a multipart request
Java
Spring
Rest
@RestControllerAdvice vs @ControllerAdvice
Spring
How to use multiple @RequestMapping annotations in spring?
Java
Spring
Spring Mvc
Spring cron expression for every day 1:01:am
Java
Spring
Cron
Cronexpression
Spring Scheduled
Difference between Spring MVC and Spring Boot
Spring
Spring Mvc
Spring Boot
RESTful Authentication via Spring
Java
Spring
Rest
Spring Mvc
Spring Security
Setting active profile and config location from command line in spring boot
Java
Spring
Gradle
Spring Boot
Yaml
BeanFactory vs ApplicationContext
Spring
Managed Bean
Applicationcontext
Spring @Autowire on Properties vs Constructor
Spring
Dependency Injection
Constructor
Autowired
How to call a method after bean initialization is complete?
Spring
Initialization
Startup
Applicationcontext
Spring Boot - Loading Initial Data
Spring
Spring Boot
Spring Data
Mockito: Inject real objects into private @Autowired fields
Java
Spring
Mockito
Does Spring @Transactional attribute work on a private method?
Java
Spring
Transactions
Annotations
How to set an "Accept:" header on Spring RestTemplate request?
Spring
Rest
Resttemplate
Spring CrudRepository findByInventoryIds(List<Long> inventoryIdList) - equivalent to IN clause
Java
Spring
Jpa
Spring Data
Spring Data-Jpa
Getting Spring Application Context
Java
Spring
Configuration
Applicationcontext
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured
Spring
Spring Boot
Spring Batch
Get list of JSON objects with Spring RestTemplate
Java
Spring
Resttemplate
How does spring.jpa.hibernate.ddl-auto property exactly work in Spring?
Spring
Hibernate
Jpa
Database Connection
Ddl
How do I activate a Spring Boot profile when running from IntelliJ?
Spring
Intellij Idea
Gradle
Spring Boot
Spring - No EntityManager with actual transaction available for current thread - cannot reliably process 'persist' call
Java
Spring
Spring Mvc
Web Applications
Spring @Autowired usage
Java
Spring
Autowired
Difference between using bean id and name in Spring configuration file
Spring
Configuration
How to configure port for a Spring Boot application
Java
Spring
Spring Boot
Server
Port
What is difference between CrudRepository and JpaRepository interfaces in Spring Data JPA?
Java
Spring
Jpa
Spring Data
Spring Data-Jpa
Unable to find a @SpringBootConfiguration when doing a JpaTest
Java
Spring
Junit
Spring Boot
Spring Data
Trigger 404 in Spring-MVC controller?
Java
Spring
Spring Mvc
How do you get current active/default Environment profile programmatically in Spring?
Java
Spring
Spring Profiles
Add context path to Spring Boot application
Java
Spring
Spring Mvc
Spring Boot
What is this spring.jpa.open-in-view=true property in Spring Boot?
Java
Spring
Jpa
Spring Boot
Spring Data
Difference between @Mock, @MockBean and Mockito.mock()
Java
Spring
Spring Boot
Junit
Mockito
Map enum in JPA with fixed values?
Java
Spring
Orm
Jpa
Enums
What is Dispatcher Servlet in Spring?
Java
Spring
Spring Mvc
Servlet Dispatching
Why does my Spring Boot App always shutdown immediately after starting?
Java
Spring
Spring Boot
@RequestParam in Spring MVC handling optional parameters
Java
Spring
Spring Mvc
How to POST form data with Spring RestTemplate?
Java
Spring
Rest
Resttemplate
How to define a List bean in Spring?
Java
Spring
What is the difference between Spring's GA, RC and M2 releases?
Spring
Release Cycle
intellij incorrectly saying no beans of type found for autowired repository
Java
Spring
Intellij Idea
Annotations
Autowired
Spring MVC - How to get all request params in a map in Spring controller?
Java
Spring
Spring Mvc
How do I mock an autowired @Value field in Spring with Mockito?
Spring
Mockito
Autowired
Value Initialization
With Spring can I make an optional path variable?
Spring
Rest
What is the proper way to re-attach detached objects in Hibernate?
Java
Hibernate
Spring
Session
Detach
Spring Boot not serving static content
Spring
Spring Mvc
Spring Boot
What is the difference between ApplicationContext and WebApplicationContext in Spring MVC?
Spring
Spring Mvc
Applicationcontext
When use ResponseEntity<T> and @RestController for Spring RESTful applications
Spring
Spring Mvc
Spring 3
Spring 4
How do I tell Spring Boot which main class to use for the executable jar?
Java
Spring
Maven
Executable Jar
Spring Boot
REST API - DTOs or not?
Java
Spring
Rest
Dto
Hateoas
javax.transaction.Transactional vs org.springframework.transaction.annotation.Transactional
Java
Spring
Hibernate
Transactions
Jta
Spring Security on Wildfly: error while executing the filter chain
Spring
Spring Security
Wildfly
Spring Saml
Undertow
Spring Boot REST service exception handling
Java
Spring
Rest
Exception Handling
Spring Boot
multiple packages in context:component-scan, spring config
Java
Spring
Component Scan
POST JSON fails with 415 Unsupported media type, Spring 3 mvc
Ajax
Json
Spring
Post
Http Status-Code-415
Difference between the annotations @GetMapping and @RequestMapping(method = RequestMethod.GET)
Java
Spring
Spring Mvc
Spring 4
Unsure if I understand TransactionAwarePersistenceManagerFactoryProxy
Java
Spring
Persistence
Dao
Jdo
Spring boot - Not a managed type
Spring
Spring Mvc
Jpa
Spring Boot
Spring Data
Execute method on startup in Spring
Java
Spring
How to execute IN() SQL queries with Spring's JDBCTemplate effectively?
Java
Sql
Spring
Jdbc
Jdbctemplate
How Spring Security Filter Chain works
Spring
Authentication
Spring Security
Filter
Jwt
Spring AOP vs AspectJ
Java
Spring
Design Patterns
Aspectj
Spring Aop
Can you use @Autowired with static fields?
Java
Spring
Autowired
Spring Boot: Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFactory bean
Java
Spring
Spring Boot
Spring 3.0 - Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/security]
Java
Spring
Maven 2
Spring Security
Role/Purpose of ContextLoaderListener in Spring?
Java
Spring
Web Applications
How to get access to HTTP header information in Spring MVC REST controller?
Spring
Rest
Http
Spring Mvc
Request Headers
What is username and password when starting Spring Boot with Tomcat?
Java
Spring
Spring Mvc
Tomcat
Spring Boot
Spring Boot Remove Whitelabel Error Page
Spring
Spring Boot
How to get active user's UserDetails
Java
Spring
Spring Mvc
Spring Security
Spring: Why do we autowire the interface and not the implemented class?
Java
Spring
Dependency Injection
Where should @Service annotation be kept? Interface or Implementation?
Spring
Service
What is the difference between @Inject and @Autowired in Spring Framework? Which one to use under what condition?
Java
Spring
Dependency Injection
Autowired
Inject
Spring Test & Security: How to mock authentication?
Spring
Security
Model View-Controller
Testing
Junit
Spring Java Config: how do you create a prototype-scoped @Bean with runtime arguments?
Java
Spring
Scope
Prototype
Spring Java-Config
How to manage exceptions thrown in filters in Spring?
Java
Spring
Spring Security
Unit testing with Spring Security
Java
Security
Unit Testing
Spring
Spring Security
Does Spring Data JPA have any way to count entites using method name resolving?
Java
Spring
Spring Data-Jpa
Java Spring Boot: How to map my app root (â/â) to index.html?
Java
Spring
Spring Boot
How to set base url for rest in spring boot?
Java
Spring
Rest
Spring Boot
Spring Mvc
How to fetch FetchType.LAZY associations with JPA and Hibernate in a Spring Controller
Java
Spring
Hibernate
Jpa
Spring Data
Spring MVC - How to return simple String as JSON in Rest Controller
Java
Json
Spring
Rest
Spring Mvc
Can not deserialize instance of java.util.ArrayList out of START_OBJECT token
Java
Spring
Jackson
Jax Rs
Resteasy
Spring @Transaction method call by the method within the same class, does not work?
Java
Spring
Aspectj
Spring Aop
Does application.yml support environment variables?
Java
Spring
Yaml
Spring Boot
How to use JNDI DataSource provided by Tomcat in Spring?
Java
Spring
Tomcat
Datasource
Jndi
Difference between <context:annotation-config> and <context:component-scan>
Java
Spring
Configuration
Annotations
Spring 3
Could not autowire field:RestTemplate in Spring boot application
Spring
Maven
Spring Boot
Resttemplate
Disable all Database related auto configuration in Spring Boot
Spring
Hibernate
Spring Boot
Spring Data
Spring Data-Jpa
This application has no explicit mapping for /error
Spring
Spring Mvc
File Upload
Upload
Spring RestTemplate timeout
Spring
Rest
Timeout
Resttemplate
Spring Boot and multiple external configuration files
Java
Spring
Config
Spring Boot
How to return a custom object from a Spring Data JPA GROUP BY query
Java
Spring
Spring Mvc
Jpa
Repository
How to define @Value as optional
Spring
Spring Bean
What's the difference between <mvc:annotation-driven /> and <context:annotation-config /> in servlet?
Spring
Spring Mvc
Spring 3
Spring Resttemplate exception handling
Spring
Rest
Exception Handling
Resttemplate
Why is my Spring @Autowired field null?
Java
Spring
Null
Nullpointerexception
Autowired
@RequestBody and @ResponseBody annotations in Spring
Java
Spring
Spring Mvc
Annotations
How to fix Hibernate LazyInitializationException: failed to lazily initialize a collection of roles, could not initialize proxy - no Session
Java
Spring
Hibernate
Spring Mvc
Spring Security
Binding a list in @RequestParam
Java
Spring
Data Binding
Collections
Spring Mvc
Spring Cache @Cacheable - not working while calling from another method of the same bean
Java
Spring
Caching
Ehcache
Redirect to an external URL from controller action in Spring MVC
Java
Spring
Jsp
Spring Mvc
How to shutdown a Spring Boot Application in a correct way?
Linux
Spring
Spring Boot
Why would I use Scala/Lift over Java/Spring?
Java
Spring
Scala
Lift
Spring classpath prefix difference
Java
Spring
Classpath
Spring 3 RequestMapping: Get path value
Spring
Spring Mvc
Request Mapping
Difference between Interceptor and Filter in Spring MVC
Java
Spring
Spring Mvc
Spring Boot
Read file from resources folder in Spring Boot
Java
Spring
Spring Boot
Json Schema-Validator
@Scope("prototype") bean scope not creating new bean
Spring
Spring Mvc
Difference between save and saveAndFlush in Spring data jpa
Java
Spring
Hibernate
Jpa
Spring Data-Jpa
Error creating bean with name 'entityManagerFactory' defined in class path resource : Invocation of init method failed
Java
Spring
Hibernate
Spring Mvc
Jpa
How to inject dependencies into a self-instantiated object in Spring?
Java
Spring
Dependency Injection
setMaxResults for Spring-Data-JPA annotation?
Java
Spring
Jpa
Spring Data
Spring Data-Jpa
Is it possible to have empty RequestParam values use the defaultValue?
Java
Spring
Spring Mvc
Autowiring two beans implementing same interface - how to set default bean to autowire?
Java
Spring
Spring Mvc
Autowired
Re-run Spring Boot Configuration Annotation Processor to update generated metadata
Java
Spring
Maven
Intellij Idea
'Field required a bean of type that could not be found.' error spring restful API using mongodb
Java
Spring
Mongodb
Rest
Spring MVC @PathVariable getting truncated
Java
Spring
Rest
Spring Mvc
Get
How to determine programmatically the current active profile using Spring boot
Java
Spring
Spring Boot
Access properties file programmatically with Spring?
Spring
Properties
How are Spring Data repositories actually implemented?
Java
Spring
Spring Data
Repository Pattern
Ddd Repositories
What exactly is Spring Framework for?
Java
Spring
Frameworks
Spring Expression Language (SpEL) with @Value: dollar vs. hash ($ vs. #)
Spring
Dependency Injection
Spring El
How to read values from properties file?
Spring
Properties File
How to parameterize @Scheduled(fixedDelay) with Spring 3.0 expression language?
Java
Spring
Configuration
Annotations
Scheduling
File inside jar is not visible for spring
Spring
Jar
Classpath
Setting up a JavaScript variable from Spring model by using Thymeleaf
Javascript
Spring
Thymeleaf
Is there a way to @Autowire a bean that requires constructor arguments?
Spring
Constructor
Autowired
Spring Annotations
Spring Bean
Can I set a TTL for @Cacheable
Java
Spring
Spring Boot Adding Http Request Interceptors
Java
Spring
Spring Mvc
Spring Boot
Can I set null as the default value for a @Value in Spring?
Java
Spring
Spring Annotations
How to avoid the "Circular view path" exception with Spring MVC test
Spring
Spring Mvc
Circular Reference
Thymeleaf
Spring Mvc-Test
How to manage REST API versioning with spring?
Java
Spring
Rest
Spring Mvc
Versioning
Spring @PropertySource using YAML
Spring
Spring Boot
Difference between @Valid and @Validated in Spring
Java
Spring
Validation
Spring Mvc
POST request via RestTemplate in JSON
Java
Json
Spring
Rest
Resttemplate
How to accept Date params in a GET request to Spring MVC Controller?
Java
Spring
Date
Spring Mvc
Using Spring MVC Test to unit test multipart POST request
Spring
Unit Testing
Spring Mvc
Content type 'application/x-www-form-urlencoded;charset=UTF-8' not supported for @RequestBody MultiValueMap
Spring
Spring Mvc
Model View-Controller
Passing multiple variables in @RequestBody to a Spring MVC controller using Ajax
Java
Spring
Http
Spring Mvc
Spring: @Component versus @Bean
Java
Spring
Annotations
Autowired
Spring MVC type conversion : PropertyEditor or Converter?
Java
Spring
Data Binding
Spring Mvc
Type Conversion
JpaRepository Not supported for DML operations [delete query]
Java
Spring
Hibernate
Spring Data-Jpa
Hql
ApplicationContextException: Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean
Spring
Spring Boot
Spring Mvc
Xml configuration versus Annotation based configuration
Java
Xml
Spring
Annotations
What is javax.inject.Named annotation supposed to be used for?
Java
Spring
Dependency Injection
Java Ee-6
Programmatically shut down Spring Boot application
Java
Spring
Spring Boot
When annotating a class with @Component, does this mean it is a Spring Bean and Singleton?
Spring
Annotations
What is Dependency Injection and Inversion of Control in Spring Framework?
Spring
Dependencies
Controls
Code Injection
Inversion
How do I call the default deserializer from a custom deserializer in Jackson
Java
Spring
Hibernate
Jackson
Spring Data JPA map the native query result to Non-Entity POJO
Spring
Hibernate
Jpa
Spring Data
Pojo
Shiro vs. SpringSecurity
Java
Spring
Spring Security
Shiro
Handle spring security authentication exceptions with @ExceptionHandler
Spring
Spring Mvc
Spring Security
Spring Boot Rest Controller how to return different HTTP status codes?
Spring
Rest
Spring Boot
How does Spring Data JPA differ from Hibernate for large projects?
Java
Spring
Hibernate
Jpa
Spring Data-Jpa
Spring Scheduled Task running in clustered environment
Spring
Spring Scheduled
Spring Hibernate - Could not obtain transaction-synchronized Session for current thread
Spring
Hibernate
Spring Mvc
Spring Orm
The type WebMvcConfigurerAdapter is deprecated
Java
Spring
Spring Mvc
Calling a @Bean annotated method in Spring java configuration
Java
Spring
Cglib
Spring-boot default profile for integration tests
Java
Spring
Spring Boot
What's the point of Spring MVC's DelegatingFilterProxy?
Java
Spring
Spring Mvc
Spring Security
IntelliJ IDEA shows errors when using Spring's @Autowired annotation
Spring
Spring Mvc
Intellij Idea
Warnings
Intellij Inspections
ContextLoaderListener or not?
Java
Spring
Servlets
Dependency Injection
count members with jsonpath?
Java
Spring
Testing
Jsonpath
Spring Test-Mvc
Spring Boot default H2 jdbc connection (and H2 console)
Java
Spring
Spring Boot
H2
Spring Jdbc
Showing a Spring transaction in log
Java
Spring
Transactional
Circular dependency in Spring
Java
Spring
What does java:comp/env/ do?
Spring
Jdbc
Jndi
Factory
@Autowired and static method
Java
Spring
Static
Autowired
download a file from Spring boot rest service
Java
Spring
Rest
java.lang.IllegalArgumentException: No converter found for return value of type
Java
Spring
Spring Boot
Jackson
What's the difference between @Component, @Repository & @Service annotations in Spring?
Java
Spring
Spring Mvc
Annotations
Spring @PostConstruct vs. init-method attribute
Spring
Spring get current ApplicationContext
Java
Spring
Spring Mvc
Servlets
Spring Boot - How to get the running port
Spring
Spring Boot
Port
Embedded Tomcat-7
how to read System environment variable in Spring applicationContext
Java
Spring
Environment Variables
How does Spring autowire by name when more than one matching bean is found?
Spring
Jdbctemplate query for string: EmptyResultDataAccessException: Incorrect result size: expected 1, actual 0
Java
Spring
Jdbctemplate
What's the difference between Spring Data's MongoTemplate and MongoRepository?
Java
Spring
Mongodb
Spring Data
Spring Data-Mongodb
Spring Data: "delete by" is supported?
Spring
Spring Data
Spring Data-Jpa
Spring 4 vs Jersey for REST web services
Java
Spring
Web Services
Rest
Spring Mvc
Init method in Spring Controller (annotation version)
Java
Spring
Annotations
Controller
How does autowiring work in Spring?
Java
Spring
Spring Mvc
Ioc Container
Autowired
Where does the @Transactional annotation belong?
Java
Spring
Annotations
Transactions
Dao
Case insensitive Query with Spring CrudRepository
Spring
Spring Data-Jpa
Spring Boot JPA - configuring auto reconnect
Spring
Spring Boot
Configuration
Understanding spring @Configuration class
Java
Spring
Configuration
Autowired
JUnit tests pass in Eclipse but fail in Maven Surefire
Java
Spring
Maven 2
Surefire
Spring Test
How to set environment variable or system property in spring tests?
Java
Spring
Environment Variables
Spring Test
Maven dependency spring-web vs spring-webmvc
Spring
Maven
Spring Mvc
How to customise the Jackson JSON mapper implicitly used by Spring Boot?
Java
Spring
Spring Mvc
Jackson
Spring Boot
Spring: how do I inject an HttpServletRequest into a request-scoped bean?
Java
Spring
Servlets
Transaction marked as rollback only: How do I find the cause
Java
Spring
Hibernate
Jpa
Transactions
Spring Data JPA find by embedded object property
Java
Spring
Jpa
Spring Data
Spring Data-Jpa
How do I run a spring boot executable jar in a Production environment?
Java
Linux
Spring
Spring Boot
Spring Boot - inject map from application.yml
Java
Spring
Spring Boot
Difference between @Bean and @Autowired
Java
Spring
Dependency Injection
Which maven dependencies to include for spring 3.0?
Java
Spring
Maven 2
Dependencies
Missing CrudRepository#findOne method
Java
Spring
Spring Boot
Spring Data
Spring Data-Jpa
How to assign bean's property an Enum value in Spring config file?
Java
Spring
Spring Boot and how to configure connection details to MongoDB?
Spring
Mongodb
Spring Data
Spring Boot
How to use LocalDateTime RequestParam in Spring? I get "Failed to convert String to LocalDateTime"
Spring
Spring Boot
Spring Mvc
Java Time
Jsr310
@Transactional method calling another method without @Transactional anotation?
Java
Spring
Spring Transactions
Transactional
@Transactional(propagation=Propagation.REQUIRED)
Java
Spring
Annotations
create two method for same url pattern with different arguments
Spring
Spring Mvc
Can't Autowire @Repository annotated interface in Spring Boot
Spring
Spring Boot
Spring Data
Repository
Spring Data-Jpa
How exactly does the Spring BeanPostProcessor work?
Spring
Spring Mvc
Architecture
crudrepository findBy method signature with multiple in operators?
Java
Spring
Spring Data
Spring Data-Jpa
How to debug Spring Boot application with Eclipse?
Java
Spring
Eclipse
Debugging
Spring Boot
Spring Boot application.properties value not populating
Java
Spring
Spring Boot
Disabling SSL Certificate Validation in Spring RestTemplate
Spring
Validation
Ssl Certificate
Resttemplate
Print all the Spring beans that are loaded
Java
Spring
intellij - spring is not being recognized (Unmapped Spring configuration)
Spring
Maven
Intellij Idea
Spring DAO vs Spring ORM vs Spring JDBC
Spring
Spring Data
Spring Jdbc
Spring Orm
@Valid annotation is not validating the list of child objects
Java
Spring
Spring Mvc
Jsr
Spring .properties file: get element as an Array
Java
Spring
Placeholder
Properties File
Using GZIP compression with Spring Boot/MVC/JavaConfig with RESTful
Java
Spring
Rest
Spring Mvc
Gzip
How do I configure HikariCP in my Spring Boot app in my application.properties files?
Java
Spring
Spring Boot
Hikaricp
Environment Specific application.properties file in Spring Boot application
Spring
Spring Boot
Spring schemaLocation fails when there is no internet connection
Java
Xml
Spring
Xsd
Singleton design pattern vs Singleton beans in Spring container
Java
Spring
Singleton
Containers
Why can't we autowire static fields in spring?
Spring
Autowired
Missing artifact com.microsoft.sqlserver:sqljdbc4:jar:4.0
Sql Server
Spring
Maven
pom.xml
Spring JPA @Query with LIKE
Java
Jquery
Sql
Spring
Jpa
POSTing a @OneToMany sub-resource association in Spring Data REST
Java
Spring
Spring Boot
Spring Data-Jpa
Spring Data-Rest
How to disable spring security for particular url
Java
Spring
Spring Mvc
Spring Security
Spring Data and Native Query with pagination
Spring
Spring Data
Spring Data-Jpa
Spring: How to inject a value to static field?
Spring
Code Injection
JdbcTemplate queryForInt/Long is deprecated in Spring 3.2.2. What should it be replaced by?
Java
Spring
Jdbc
Jdbctemplate
HttpSecurity, WebSecurity and AuthenticationManagerBuilder
Java
Spring
Spring Boot
Spring Mvc
Spring Security
Thymeleaf: how to use conditionals to dynamically add/remove a CSS class
Java
Html
Css
Spring
Thymeleaf
How to disable 'X-Frame-Options' response header in Spring Security?
Java
Spring
Spring Security
Spring Boot
X Frame-Options
How does the FetchMode work in Spring Data JPA
Java
Spring
Hibernate
Jpa
Spring Data-Jpa
How to use spring annotations like @Autowired in kotlin?
Spring
Kotlin
Spring injects dependencies in constructor without @Autowired annotation
Spring
Spring Boot
Dependency Injection
Autowired
How can I use Spring Security without sessions?
Spring
Spring Security
Load Balancing
Amazon Ec2
Using multiple property files (via PropertyPlaceholderConfigurer) in multiple projects/modules
Java
Spring
Properties
What does the @Valid annotation indicate in Spring?
Java
Spring
Spring Mvc
Spring Annotations
Spring @Transactional - isolation, propagation
Java
Spring
Transactional
Isolation
Propagation
Configuring ObjectMapper in Spring
Java
Json
Spring
Jackson
Object Object-Mapping
Annotation @Transactional. How to rollback?
Java
Hibernate
Spring
exclude @Component from @ComponentScan
Java
Spring
Dependency Injection
Spring Boot
Spring Ioc
Could not resolve placeholder in string value
Java
Spring
Launching Spring application Address already in use
Java
Spring
Maven
Tomcat
Spring Mvc
How to convert a multipart file to File?
Java
Spring
Spring Mvc
File Upload
Cloudinary
Spring cron vs normal cron?
Java
Spring
Cron
Basic authentication for REST API using spring restTemplate
Java
Spring
Resttemplate
Jira Rest-Api
Spring Boot embedded HornetQ cluster not forwarding messages
Java
Spring
Spring Boot
Hornetq
Spring Boot how to hide passwords in properties file
Java
Spring
Spring Boot
What are the benefits of dependency injection containers?
Xml
Spring
Dependency Injection
HTTP get with headers using RestTemplate
Spring
Http
Get
Resttemplate
Where can I download Spring Framework jars without using Maven?
Java
Spring
Spring Mvc
@Autowired - No qualifying bean of type found for dependency
Java
Spring
Spring Mvc
Annotations
Autowired
How to set Spring profile from system variable?
Java
Spring
Spring Profiles
inject bean reference into a Quartz job in Spring?
Spring
Quartz Scheduler
Inject
Return only string message from Spring MVC 3 Controller
Java
Spring
Spring Mvc
Spring boot @ResponseBody doesn't serialize entity id
Java
Json
Spring
Spring Boot
No serializer found for class org.hibernate.proxy.pojo.javassist.Javassist?
Json
Spring
Hibernate
Unable to get spring boot to automatically create database schema
Java
Mysql
Spring
Hibernate
Spring Boot
Maven- No plugin found for prefix 'spring-boot' in the current project and in the plugin groups
Java
Spring
Maven
Spring Mvc
Intellij IDEA complains cannot resolve spring boot properties but they work fine
Spring
Spring Boot
Intellij Idea
application.properties
How to get resources directory path programmatically
Java
Spring
Io
Why does Spring MVC respond with a 404 and report "No mapping found for HTTP request with URI [...] in DispatcherServlet"?
Java
Spring
Spring Mvc
Servlets
How to scan multiple paths using the @ComponentScan annotation?
Java
Spring
Annotations
Spring CORS No 'Access-Control-Allow-Origin' header is present
Spring
Spring Mvc
Cors
Default profile in Spring 3.1
Java
Spring
Profiles
Rollback transaction after @Test
Java
Spring
Hibernate
Junit
Spring Test
spring scoped proxy bean
Java
Spring
Proxy
Spring AOP: What's the difference between JoinPoint and PointCut?
Spring
Aop
Aspectj
Spring Aop
Pointcut
Mock MVC - Add Request Parameter to test
Spring
Spring Mvc
Spring Mvc-Test
How to get a method's annotation value from a ProceedingJoinPoint?
Java
Spring
Spring Aop
Spring 3
Java Ee-7
Access all Environment properties as a Map or Properties object
Spring
"Could not find acceptable representation" using spring-boot-starter-web
Java
Json
Spring
Maven
Spring Mvc
How to configure CORS in a Spring Boot + Spring Security application?
Javascript
Spring
Spring Security
Spring Boot
Cors
Persistence unit as RESOURCE_LOCAL or JTA?
Java
Spring
Jpa
Persistence
Jta
Spring data JPA query with parameter properties
Spring
Jpa
Spring Data
Spring Data-Jpa
Sending message to specific user on Spring Websocket
Java
Spring
Spring Mvc
Spring Websocket
Spring Data JPA difference between findBy / findAllBy
Java
Spring
Spring Data
Spring Data-Jpa
What is the difference between SpringJUnit4ClassRunner and SpringRunner
Java
Spring
Unit Testing
Spring Test
Where should I put @Transactional annotation: at an interface definition or at an implementing class?
Java
Spring
Annotations
Coding Style
JPA vs Spring JdbcTemplate
Java
Spring
Jpa
Jdbctemplate
Spring Jdbc
@Autowired bean is null when referenced in the constructor of another bean
Java
Spring
Autowired
Spring ApplicationContext - Resource leak: 'context' is never closed
Java
Eclipse
Spring
Spring Mvc
Akka or Reactor
Java
Spring
Akka
Reactor
Project Reactor
No serializer found for class org.hibernate.proxy.pojo.bytebuddy.ByteBuddyInterceptor
Java
Spring
Hibernate
Spring Mvc
Spring Boot
java.lang.IllegalAccessError: class lombok.javac.apt.LombokProcessor cannot access class com.sun.tools.javac.processing.JavacProcessingEnvironment
Java
Spring
Maven
Lombok
Intellij Lombok-Plugin
What is difference between @RequestBody and @RequestParam?
Spring
Spring Mvc
Spring Boot
Servlet 3.0
Http Request-Parameters
how to use Spring Boot profiles
Java
Spring
Spring Boot
What is the recommended project structure for spring boot rest projects?
Java
Spring
Rest
Spring Boot
Spring vs EJB. Can Spring replace EJB?
Java
Spring
Ejb 3.0
Is there a way to specify a default property value in Spring XML?
Java
Xml
Spring
Properties
How to create custom methods for use in spring security expression language annotations
Java
Spring
Spring Security
Reuse spring application context across junit test classes
Spring
Junit
Junit4
Spring Test
How to use @Transactional with Spring Data?
Java
Spring
Jpa
Spring Data
Spring Data-Jpa
Quartz: Cron expression that will never execute
Spring
Quartz Scheduler
TransactionRequiredException Executing an update/delete query
Java
Spring
Hibernate
Mongodb
Jpa
How does the Spring @ResponseBody annotation work?
Java
Json
Spring
Rest
Spring Mvc
Hibernate-sequence doesn't exist
Java
Spring
Hibernate
Exclude subpackages from Spring autowiring?
Spring
Autowired
Invalid CSRF Token 'null' was found on the request parameter '_csrf' or header 'X-CSRF-TOKEN'
Spring
Spring Security
Csrf
Csrf Protection
Java 1.8 ASM ClassReader failed to parse class file - probably due to a new Java class file version that isn't supported yet
Java
Spring
Java 8
What is the difference between defining @Transactional on class vs method
Java
Spring
Spring Mvc
Spring Transactions
Lombok @Builder and JPA Default constructor
Java
Spring
Spring Data-Jpa
Lombok
After Spring Boot 2.0 migration: jdbcUrl is required with driverClassName
Java
Spring
Spring Boot
Sending GET request with Authentication headers using restTemplate
Java
Spring
Spring Mvc
Resttemplate
Does spring @Scheduled annotated methods runs on different threads?
Java
Spring
Scheduled Tasks
spring data jpa @query and pageable
Java
Spring
Hibernate
Jpa
Spring Data-Jpa
How to Autowire Bean of generic type <T> in Spring?
Java
Spring
Generics
Autowired
Spring Annotations
Spring MVC @RestController and redirect
Spring
Rest
Spring Mvc
Redirect
Http Redirect
Overriding beans in Integration tests
Java
Spring
Spring Boot
Spring Test
Spring Web
Spring: overriding one application.property from command line
Java
Spring
Spring Boot
No String-argument constructor/factory method to deserialize from String value ('')
Java
Json
Spring
Exception NoClassDefFoundError for CacheProvider
Java
Hibernate
Spring
Exception
Web Applications
Serializing enums with Jackson
Java
Json
Spring
Spring Mvc
Jackson
java.lang.ClassNotFoundException: org.springframework.web.servlet.DispatcherServlet
Spring
Maven
Spring Mvc
Maven 2
Spring MVC Multipart Request with JSON
Json
Spring
Spring Mvc
When to use @RestController vs @RepositoryRestResource
Spring
Spring Mvc
Spring Data
Spring Data-Rest
Spring Hateoas
@Autowired vs @PersistenceContext for EntityManager bean
Spring
Jpa
Entitymanager
No mapping found for HTTP request with URI [/WEB-INF/pages/apiForm.jsp]
Spring
Spring Mvc
Servlet Dispatching
Spring @Transactional read-only propagation
Spring
Transactions
JsonMappingException: No suitable constructor found for type [simple type, class ]: can not instantiate from JSON object
Java
Json
Spring
Annotations
Jackson
What in the world are Spring beans?
Java
Spring
Grails
How to log SQL statements in Spring Boot?
Java
Spring
Hibernate
Spring Boot
Logging
What is OncePerRequestFilter?
Spring
Avoid Jackson serialization on non fetched lazy objects
Java
Spring
Hibernate
Serialization
Jackson
Spring-Boot: How do I set JDBC pool properties like maximum number of connections?
Java
Spring
Jdbc
Spring Boot
Tomcat Jdbc
How to specify prefix for all controllers in Spring Boot?
Java
Spring
Spring Boot
Remove "Using default security password" on Spring Boot
Java
Spring
Spring Boot
Spring Security
Spring Data Rest - Sort by multiple properties
Spring
Spring Data
Spring Data-Jpa
Spring Data-Rest
Understanding Spring Cloud Eureka Server self preservation and renew threshold
Spring
Spring Cloud
Netflix Eureka
Unable to create a Configuration, because no Bean Validation provider could be found. Add a provider like Hibernate Validator (RI) to your classpath
Spring
Validation
Email
Spring Boot: How to specify the PasswordEncoder?
Spring
Maven
Spring Boot
Spring Security
Spring Security 5 : There is no PasswordEncoder mapped for the id "null"
Java
Spring
Spring Boot
Spring Security
Spring Security-Oauth2
Table 'DBNAME.hibernate_sequence' doesn't exist
Java
Mysql
Spring
Spring Boot
Spring Data
What design patterns are used in Spring framework?
Design Patterns
Spring
Auto-wiring a List using util schema gives NoSuchBeanDefinitionException
Java
Spring
Which artifact for org.springframework.mail?
Java
Spring
Maven 2
Jakarta Mail
How do I get the Session Object in Spring?
Spring
Spring Mvc
Spring Security
Java EE 6 vs. Spring 3 stack
Java
Spring
Jsf
Jakarta Ee
Java Ee-6
Spring cron expression for every after 30 minutes
Java
Spring
Cron
Expression
Requested bean is currently in creation: Is there an unresolvable circular reference?
Spring
Dependency Injection
Autowired
Spring Data JPA findOne() change to Optional how to use this?
Java
Spring
Spring Data-Jpa
Difference between servlet and web service
Java
Web Services
Spring
Rest
Terminology
Differences between requires_new and nested propagation in Spring transactions
Java
Spring
Transactions
Propagation
@Cacheable key on multiple method arguments
Java
Spring
Ehcache
Injecting @Autowired private field during testing
Java
Spring
Unit Testing
Junit
Autowired
Gradle - Could not find or load main class
Java
Spring
Gradle
build.gradle
How to inject a Map using the @Value Spring Annotation?
Java
Spring
Dependency Injection
Annotations
Spring Annotations
Where should "@Transactional" be placed Service Layer or DAO
Spring
Transactions
Dao
Spring: Difference of /** and /* with regards to paths
Spring
Web
Resources
Url Pattern
spring security 403 error
Spring
Spring Mvc
Spring Security
How To Inject AuthenticationManager using Java Configuration in a Custom Filter
Java
Spring
Spring Security
Spring Java-Config
Spring Boot - Error creating bean with name 'dataSource' defined in class path resource
Java
Spring
Spring Boot
How to secure REST API with Spring Boot and Spring Security?
Java
Spring
Rest
Spring Security
How to customize parameter names when binding Spring MVC command objects?
Java
Spring
Spring Mvc
Spring JDBC Template for calling Stored Procedures
Java
Spring
Spring Jdbc
Jdbctemplate
How to close a spring ApplicationContext?
Java
Spring
javax.servlet.ServletException cannot be resolved to a type in spring web app
Spring
Jsp
Servletexception
How to respond with HTTP 400 error in a Spring MVC @ResponseBody method returning String?
Java
Spring
Spring Mvc
Http Error
Hibernate lazy-load application design
Java
Hibernate
Spring
Lazy Loading
Application Design
What is Model in ModelAndView from Spring MVC?
Spring
Spring Mvc
Spring MVC How take the parameter value of a GET HTTP Request in my controller method?
Java
Spring
Http
Parameters
Request
Scheduling a job with Spring programmatically (with fixedRate set dynamically)
Java
Spring
Scheduled Tasks
Spring Annotations
Spring Scheduled
Spring MVC Controllers Unit Test not calling @ControllerAdvice
Spring
Spring Mvc
Junit
Get method arguments using Spring AOP?
Java
Spring
How to conditionally enable or disable scheduled jobs in Spring?
Java
Spring
Cron
Scheduled Tasks
How does ApplicationContextAware work in Spring?
Java
Spring
Can a spring boot @RestController be enabled/disabled using properties?
Java
Spring
Spring Boot
Application Settings
How to re-create database before each test in Spring?
Java
Spring
Spring Mvc
Spring Boot
Spring Test
What is the difference between @ComponentScan and @EnableAutoConfiguration in Spring Boot?
Java
Spring
Spring Mvc
Spring Boot
How to solve the âfailed to lazily initialize a collection of roleâ Hibernate exception
Java
Spring
Hibernate
Jsp
Spring Mvc
Spring JSON request getting 406 (not Acceptable)
Java
Javascript
Ajax
Json
Spring
A 'simple' way to implement Swagger in a Spring MVC application
Spring
Spring Mvc
Swagger
SpringBoot - making jar files - No auto configuration classes found in META-INF/spring.factories
Java
Spring
Intellij Idea
Spring Boot
JAAS for human beings
Java
Security
Spring
Spring Security
Jaas
Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect)
Java
Hibernate
Spring
Amazon Web-Services
Pessimistic Locking
Spring REST Service: how to configure to remove null objects in json response
Java
Spring
Jackson
Is Spring annotation @Controller same as @Service?
Spring
Service
Controller
EnableWebMvc annotation meaning
Java
Spring
Spring Mvc
Annotations
Configure DataSource programmatically in Spring Boot
Java
Spring
Datasource
Spring Boot
Credential Providers
How to run bootRun with spring profile via gradle task
Java
Spring
Gradle
log4j:WARN No appenders could be found for logger in web.xml
Java
Spring
Spring Mvc
Log4j
Downloading a file from spring controllers
Java
Spring
File
Download
Controller
Autowire reference beans into list by type
Java
Spring
How can we configure the internal Jackson mapper when using RestTemplate?
Spring
Jackson
Spring RedirectAttributes: addAttribute() vs addFlashAttribute()
Java
Spring
Spring Mvc
How to return 404 response status in Spring Boot @ResponseBody - method return type is Response?
Java
Spring
Http Status-Code-404
Retrofit
Where to put static files such as CSS in a spring-boot project?
Spring
Spring Boot
Intellij Spring Initializr not available
Java
Spring
Intellij Idea
Spring Initializr
UnsatisfiedDependencyException: Error creating bean with name
Java
Spring
Spring Mvc
Spring - using static final fields (constants) for bean initialization
Spring
Definition
Javabeans
@Resource vs @Autowired
Java
Spring
Dependency Injection
Annotations
Autowired
Should you set up database connection properties in server.xml or context.xml
Java
Spring
Datasource
Jndi
No found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations:
Java
Spring
Web Services
Soap
Repository Pattern - How to understand it and how does it work with "complex" entities?
Java
Spring
Hibernate
Repository Pattern
Max limit of MultipartFile in Spring Boot
Java
Spring
Spring Boot
Tomcat
File Upload
Spring's @RequestParam with Enum
Java
Spring
Spring Boot
Spring Web
Java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/exc/InvalidDefinitionException
Java
Spring
Maven
How to Solve 403 Error in Spring Boot Post Request
Spring
Rest
Maven
Spring Boot
Generics with Spring RESTTemplate
Java
Spring
Generics
Jackson
Resttemplate
Spring cannot find bean xml configuration file when it does exist
Spring
Configuration
Javabeans
Applicationcontext
Programmatically configure LogBack appender
Java
Spring
Javabeans
Logback
Conversion of List to Page in Spring
Java
Spring
List
Pagination
Spring Data
SpringBoot - BeanDefinitionOverrideException: Invalid bean definition
Java
Spring
Spring Boot
Amazon Dynamodb
Spring Bean
"NoClassDefFoundError: Could not initialize class" error
Java
Spring
Exception
How do I tell Spring cache not to cache null value in @Cacheable annotation
Spring
Caching
Memcached
Annotation-specified bean name conflicts with existing, non-compatible bean def
Spring
Repository
maven... Failed to clean project: Failed to delete ..\org.ow2.util.asm-asm-tree-3.1.jar
Java
Eclipse
Spring
Maven
Spring Tool-Suite
Spring configuration XML schema: with or without version?
Java
Spring
How can I override Spring Boot application.properties programmatically?
Spring
Spring Boot
creating spring rest services without using spring boot
Java
Spring
Rest
Tomcat
Spring Boot 2.5.0 generates plain.jar file. Can I remove it?
Java
Spring
Spring Boot
Kotlin
Gradle
com.sun.jdi.InvocationException occurred invoking method
Java
Spring
Hibernate table not mapped error in HQL query
Java
Eclipse
Spring
Hibernate
Hibernate Mapping
Setting Spring Profile variable
Spring
Spring Boot
Spring Profiles
Alternatives to JSP for Spring MVC view layer
Java
Spring
Spring Mvc
Jsp
Spring - @Transactional - What happens in background?
Java
Spring
Spring Aop
Spring Jdbc
Transactional
Only using @JsonIgnore during serialization, but not deserialization
Java
Json
Spring
Annotations
Jackson
Unit testing a method dependent to the request context
Spring
Spring Mvc
Mockito, JUnit and Spring
Java
Spring
Unit Testing
Mockito
Annotation Configuration Replacement for mvc:resources - Spring
Java
Spring
Spring Mvc
Configuration
What is purpose of @ConditionalOnProperty annotation?
Spring
Annotations
Spring Boot
JPA: update only specific fields
Java
Spring
Jpa
Spring Data-Jpa
Is it possible to add qualifiers in @RequiredArgsConstructor(onConstructor = @__(@Autowired))?
Java
Spring
Dependency Injection
Lombok
Securing Spring Boot API with API key and secret
Java
Spring
Api
Spring Boot
Spring Security
How to import spring-config.xml of one project into spring-config.xml of another project?
Java
Spring
Difference between @size(max = value ) and @min(value) and @max(value)
Java
Spring
Validation
Annotations
Understanding the Spring Data JPA @NoRepositoryBean interface
Java
Spring
Jpa
Spring Data
Spring Data-Jpa
Return generated pdf using spring MVC
Java
Spring
Spring Mvc
Itext
Response
Spring JUnit: How to Mock autowired component in autowired component
Java
Spring
Junit
Dependency Injection
Spring can you autowire inside an abstract class?
Spring
Abstract Class
Autowired
Explain why constructor inject is better than other options
Java
Spring
Dependency Injection
Required
Difference between spring @Controller and @RestController annotation
Java
Spring
Spring Mvc
In Spring MVC, how can I set the mime type header when using @ResponseBody
Java
Json
Spring
Spring Mvc
Controller
How to get access to job parameters from ItemReader, in Spring Batch?
Java
Spring
Spring Batch
Implement a simple factory pattern with Spring 3 annotations
Java
Spring
Annotations
Factory Pattern
Another unnamed CacheManager already exists in the same VM (ehCache 2.5)
Spring
Junit
Ehcache
What are the differences between Model, ModelMap, and ModelAndView?
Spring
Spring Mvc
Disable Spring Security for OPTIONS Http Method
Java
Spring
Spring Mvc
Spring Security
Cors
How does the singleton Bean serve the concurrent request?
Java
Multithreading
Spring
Concurrency
Multiprocessing
Where is the application.properties file in a Spring Boot project?
Java
Spring
Spring Boot
Check date between two other dates spring data jpa
Java
Spring
Spring Data-Jpa
Spring Repositories
How to set @Autowired constructor params as "required=false" individually
Spring
Spring Boot
Constructor
Autowired
How to disable flyway in a certain spring profile?
Java
Spring
Spring Boot
Flyway
Spring Profiles
@RequestParam vs @PathVariable
Java
Spring
Spring Mvc
Is it possible from Spring to inject the result of calling a method on a ref bean?
Java
Spring
How can I have list of all users logged in (via spring security) my web application
Spring
Web Applications
Login
Spring Security
Injecting a Spring dependency into a JPA EntityListener
Spring
Jpa
Dependency Injection
Spring Roo
Entitylisteners
The matching wildcard is strict, but no declaration can be found for element 'context:component-scan
Java
Spring
Spring @Value is not resolving to value from property file
Java
Spring
Spring Properties
Combine GET and POST request methods in Spring
Spring
Spring Mvc
Request Mapping
Httpverbs
Using Spring RestTemplate in generic method with generic parameter
Java
Spring
Generics
Jackson
Resttemplate
Is RestTemplate thread safe?
Java
Spring
Rest
Thread Safety
Spring Boot War deployed to Tomcat
Spring
Maven
Tomcat
Spring Boot
Overriding an Autowired Bean in Unit Tests
Spring
Spring Boot
Spring Annotations
Spring Boot Actuator without Spring Boot
Java
Spring
Spring Mvc
Spring Boot
How do I obtain the Jackson ObjectMapper in use by Spring 4.1?
Java
Json
Spring
Spring Mvc
Jackson
How to use Gitlab CI to build a Java Maven project?
Java
Spring
Maven
Gitlab Ci
Gitlab Omnibus
RestClientException: Could not extract response. no suitable HttpMessageConverter found
Json
Spring
Rest
Spring Mvc
Resttemplate
How to obtain a current user locale from Spring without passing it as a parameter to functions?
Spring
Spring Mvc
@Value annotation type casting to Integer from String
Java
Spring
Casting
Annotations
Property Placeholder
Spring MVC @PathVariable with dot (.) is getting truncated
Spring
Rest
Spring Mvc
Spring Annotations
Cannot deserialize instance of object out of START_ARRAY token in Spring Webservice
Android
Json
Spring
Web Services
Jackson
Statement lambda can be replaced with expression lambda
Java
Spring
Spring Mvc
Lambda
Optional
How to sort by multiple properties in Spring Data (JPA) derived queries?
Java
Spring
Jpa
Spring Data
Spring Data-Jpa
Difference between MockMvc and RestTemplate in integration tests
Java
Spring
Spring Mvc
Junit
Integration Testing
Disable @EnableScheduling on Spring Tests
Spring
Unit Testing
Junit
Junit4
Springjunit4classrunner
Set Logging Level in Spring Boot via Environment Variable
Java
Spring
Spring Boot
Setting the default active profile in Spring-boot
Java
Spring
Spring Boot
Is there a compatibility matrix of Spring-boot and Spring-cloud?
Spring
Spring Boot
Version
Compatibility
Spring Cloud
TomcatEmbeddedServletContainerFactory is missing in Spring Boot 2
Java
Spring
Spring Boot
Should I use EJB3 or Spring for my business layer?
Java
Performance
Spring
Ejb 3.0
Scalability
Difference between applicationContext.xml and spring-servlet.xml in Spring Framework
Java
Spring
How to manually log out a user with spring security?
Spring
Spring Security
Logout
How to add a hook to the application context initialization event?
Spring
Model View-Controller
Applicationcontext
how to send an array in url request
Java
Web Services
Spring
Url
Spring Mvc
Spring AOP not working for method call inside another method
Java
Spring
Spring Aop
Joining two table entities in Spring Data JPA
Spring
Hibernate
Jpa
Spring Data-Jpa
Return a stream with Spring MVC's ResponseEntity
Java
Spring
Servlets
Spring Mvc
How to exclude *AutoConfiguration classes in Spring Boot JUnit tests?
Java
Spring
Junit
Spring Boot
Validation of a list of objects in Spring
Java
Spring
List
Validation
spring security: NoSuchBeanDefinitionException: No qualifying bean of type [org.springframework.security.config.annotation.ObjectPostProcessor] found
Java
Spring
Spring Security
How do I customize default error message from spring @Valid validation?
Json
Spring
Why use/develop Guice, when You have Spring and Dagger?
Java
Spring
Guice
Dagger 2
WebClient vs RestTemplate
Spring
Reactive Programming
Resttemplate
Web Client
Spring - Redirect after POST (even with validation errors)
Java
Spring
Google App-Engine
Spring Mvc
Validation
what are good blogs to read relating java, spring, hibernate, maven?
Java
Spring
Hibernate
Maven
Using Spring 3 autowire in a standalone Java application
Java
Spring
Dependency Injection
Main
Autowired
Spring - Is it possible to use multiple transaction managers in the same application?
Java
Spring
Jpa
Spring Transactions
Transactionmanager
Spring annotations @Repository and @Service
Spring
Making authenticated POST requests with Spring RestTemplate for Android
Java
Android
Spring
Rest
Resttemplate
How to query data out of the box using Spring data JPA by both Sort and Pageable?
Java
Spring
Jpa
Spring Data-Jpa
No mapping found for HTTP request with URI.... in DispatcherServlet with name
Spring
Spring Mvc
How to disable SSL certificate checking with Spring RestTemplate?
Java
Spring
Resttemplate
Self Signed
Spring Boot Multiple Datasource
Java
Spring
Spring Mvc
Spring Boot
How to autowire RestTemplate using annotations
Java
Spring
Spring Mvc
Resttemplate
Why order of Maven dependencies matter?
Spring
Maven
Jersey
disabling spring security in spring boot app
Java
Spring
Spring Security
Spring Boot
Spring Java-Config
Spring: get all Beans of certain interface AND type
Java
Spring
Spring Boot
Autowired
Maven is not using Java 11 - Fatal error compiling: invalid target release: 11
Java
Spring
Spring Boot
Maven
Injecting EntityManager Vs. EntityManagerFactory
Java
Spring
Jpa
Entitymanager
spring security AuthenticationManager vs AuthenticationProvider?
Spring
Authentication
Spring Security
Including bean definition when a profile is NOT active
Java
Spring
Spring Profiles
Negation
Are the roles of a service and a façade similar?
Java
Spring
Model View-Controller
Design Patterns
Facade
How to serve .html files with Spring
Java
Spring
Spring Mvc
How to use OrderBy with findAll in Spring Data
Spring
Spring Data
Spring Data-Jpa
Handling soft-deletes with Spring JPA
Java
Spring
Jpa
Spring Data
Spring Data-Jpa
Change database schema used by Spring Boot
Java
Spring
Spring Boot
Spring Boot access static resources missing scr/main/resources
Java
Spring
Spring Boot
Resources
Spring Properties
Spring Boot - no log file written (logging.file is not respected)
Spring
Spring Boot
Logback
Slf4j
What is the difference between @Configuration and @Component in Spring?
Spring
Spring and the anemic domain model
Spring
Oop
JQuery, Spring MVC @RequestBody and JSON - making it work together
Java
Jquery
Json
Spring
Spring Mvc
Is CDI a good replacement of Spring?
Spring
Java Ee-6
Cdi
Utility class in Spring application - should I use static methods or not?
Java
Spring
Methods
Static
Annotations from javax.validation.constraints not working
Java
Spring
Annotations
Constraints
Bean Validation
SpringMVC RequestMapping for GET parameters
Java
Spring
Spring Mvc
Spring + Web MVC: dispatcher-servlet.xml vs. applicationContext.xml (plus shared security)
Spring
Spring Mvc
Spring Security
Testing Spring MVC @ExceptionHandler method with Spring MVC Test
Spring
Spring Mvc
Mockito
Spring Mvc-Test
Spring/Java error: namespace element 'annotation-config' ... on JDK 1.5 and higher
Java
Spring
Illegalstateexception
Spring Security permitAll not allowing anonymous access
Java
Spring
Spring Mvc
Spring Security
JSON Web Token (JWT) with Spring based SockJS / STOMP Web Socket
Spring
Spring Security
Websocket
Jwt
Sockjs
Spring Data optional parameter in query method
Spring
Hibernate
Spring Data
Spring Data-Jpa
Jpql
How to inject ApplicationContext itself
Java
Spring
Applicationcontext
How to execute INSERT statement using JdbcTemplate class from Spring Framework
Java
Spring
Jdbctemplate
Why is HibernateDaoSupport not recommended?
Hibernate
Spring
No more data to read from socket error
Oracle
Hibernate
Spring
Jdbc
Debugging Spring configuration
Java
Hibernate
Spring
Configuration
Websphere
Spring HandlerInterceptor vs Servlet Filters
Spring
Spring Mvc
Servlet Filters
Interceptor
What is the default AuthenticationManager in Spring-Security? How does it authenticate?
Spring
Spring Security
How to make spring inject value into a static field
Java
Spring
Configuration
App Config
How do I load a resource and use its contents as a string in Spring
Java
Spring
How do you reset Spring JUnit application context after a test class dirties it?
Spring
Junit
Hsqldb
Applicationcontext
Spring Bean Scopes
Java
Spring
Spring Mvc
Spring not autowiring in unit tests with JUnit
Java
Spring
Junit
How to access plain json body in Spring rest controller?
Spring
Rest
Spring Mvc
Controller
How can I register a secondary servlet with Spring Boot?
Java
Spring
Spring Boot
How to manually force a commit in a @Transactional method?
Java
Spring
Jpa
Spring Data
Spring Transactions
How to use 2 or more databases with spring?
Spring
Spring Boot
Multiple Databases
Mapping list in Yaml to list of objects in Spring Boot
Java
Spring
Spring Boot
Yaml
What's the "principal" in Spring Security?
Java
Spring
Spring Security
Configure active profile in SpringBoot via Maven
Java
Spring
Maven
Spring Boot
Unsupported Media Type in postman
Spring
Spring Security
Jwt
Spring Security-Oauth2
why do we have to use @Modifying annotation for queries in Data Jpa
Java
Spring
Spring Data-Jpa
Spring Annotations
No converter found capable of converting from type to type
Spring
Jpa
Spring Data-Jpa
Converter
Spring MVC (async) vs Spring WebFlux
Java
Spring
Spring Mvc
Spring Webflux
Maven + Spring Boot: Found multiple occurrences of org.json.JSONObject on the class path:
Java
Spring
Maven
Spring Boot
Build Dependencies
Can I replace a Spring bean definition at runtime?
Java
Spring
Self injection with Spring
Java
Spring
Dependency Injection
Ioc Container
When to use ModelAndView vs Model in Spring?
Java
Spring
Spring Mvc
Spring MVC - Why not able to use @RequestBody and @RequestParam together
Spring
Spring Mvc
Post
Http Post
Http Request-Parameters
Using RestTemplate in Spring. Exception- Not enough variables available to expand
Spring
Resttemplate
Filter order in spring-boot
Java
Spring
Spring Mvc
Spring Boot
how to make auto reload with Spring-boot on IDEA Intellij
Java
Spring
Spring Boot
Intellij Idea
How to conditionally declare Bean when multiple profiles are not active?
Spring
Spring Boot
How to map Page<ObjectEntity> to Page<ObjectDTO> in spring-data-rest
Java
Spring
Spring Mvc
Spring Data
Spring Data-Rest
Spring Data - ignore parameter if it has a null value
Spring
Spring Boot
Spring Data
How to set up default schema name in JPA configuration?
Java
Hibernate
Spring
Configuration
Jpa
What is Dependency Injection?
Java
Spring
Dependency Injection
How to configure log4j.properties for SpringJUnit4ClassRunner?
Java
Spring
Log4j
Junit4
Configuring Spring Security 3.x to have multiple entry points
Java
Spring
Authentication
Spring Security
Forms Authentication
How can I make Spring WebServices log all SOAP requests?
Java
Spring
Web Services
Spring Mvc
Soap
How to register Spring @Configuration annotated class instead of applicationContext.xml file in web.xml?
Java
Spring
Spring 3
Spring Annotations
Why use returned instance after save() on Spring Data JPA Repository?
Java
Spring
Jpa
Spring Data
Spring Data-Jpa
Sun JSTL taglib declaration fails with "Can not find the tag library descriptor"
Spring
Jsp
Spring Mvc
Jstl
@Value not resolved when using @PropertySource annotation. How to configure PropertySourcesPlaceholderConfigurer?
Spring
Configuration
Inject bean into enum
Java
Spring
Dependency Injection
Autowired
Converting File to MultiPartFile
Java
Spring
Groovy
Using JSF as view technology of Spring MVC
Spring
Jsp
Jsf
Spring Mvc
Primefaces
UnexpectedRollbackException: Transaction rolled back because it has been marked as rollback-only
Java
Spring
Hibernate
Transactions
Spring: @ModelAttribute VS @RequestBody
Spring
Spring Mvc
Data Binding
Spring Boot - Handle to Hibernate SessionFactory
Java
Spring
Hibernate
Spring Boot
How to set spring active profiles with maven profiles
Java
Spring
Maven
Spring Profiles
How to run JUnit SpringJUnit4ClassRunner with Parametrized?
Java
Spring
Junit
Spring Test
How can I @Autowire a spring bean that was created from an external jar?
Java
Spring
Maven
Spring Mvc
What's the difference between fixed rate and fixed delay in Spring Scheduled annotation?
Java
Spring
Scheduled Tasks
Does dependency injection exist in Rails?
Ruby on-Rails
Ruby
Spring
Dependency Injection
Get UserDetails object from Security Context in Spring MVC controller
Java
Spring
Spring Mvc
Spring Security
Spring RestTemplate GET with parameters
Java
Spring
Rest
Spring MVC: difference between <context:component-scan> and <annotation-driven /> tags?
Java
Spring
Spring Mvc
Annotations
Spring Rest POST Json RequestBody Content type not supported
Java
Json
Spring
Spring Mvc
Jackson
Inject and Resource and Autowired annotations
Spring
Dependency Injection
Annotations
Cdi
Autowired
spring boot, logback and logging.config property
Java
Spring
Spring Boot
Logging
Logback
What is the use of @Order annotation in Spring?
Spring
Spring Security
Annotations
Using ConfigurationProperties to fill Map in generic way
Java
Spring
Spring Boot
What is a NoSuchBeanDefinitionException and how do I fix it?
Java
Spring
Applicationcontext
Injecting beans into a class outside the Spring managed context
Java
Spring
How do you set cache headers in Spring MVC?
Java
Spring
Caching
Spring Mvc
How to access Spring context in jUnit tests annotated with @RunWith and @ContextConfiguration?
Spring
Junit
Spring Test
Applicationcontext
Spring security's SecurityContextHolder: session or request bound?
Java
Spring
Jakarta Ee
Spring Security
Spring Security redirect to previous page after successful login
Spring
Redirect
Login
Spring Security
How to do conditional auto-wiring in Spring?
Spring
Scope 'session' is not active for the current thread; IllegalStateException: No thread-bound request found
Spring
Wicket
Spring Boot: Is it possible to use external application.properties files in arbitrary directories with a fat jar?
Spring
Configuration
Spring Boot
Prevent Application / CommandLineRunner classes from executing during JUnit testing
Spring
Spring Boot
Spring choose bean implementation at runtime
Java
Spring
Spring Bean
Maven spring boot run debug with arguments
Java
Spring
Maven
Spring Boot
Maven 3
How to mock Spring WebFlux WebClient?
Spring
Rest
Unit Testing
Mocking
Reactive Programming
Websocket Authentication and Authorization in Spring
Java
Spring
Spring Boot
Authentication
Websocket
DataBufferLimitException: Exceeded limit on max bytes to buffer webflux error
Java
Spring
Webclient
Spring Webflux
Spring -- inject 2 beans of same type
Java
Spring
Telling IntelliJ IDEA which methods not to identify as unused
Java
Spring
Annotations
Intellij Idea
Aop
Caching with Hibernate + Spring - some Questions
Hibernate
Spring
Caching
Ehcache
Second Level-Cache
Spring profiles and testing
Java
Spring
Junit
Profile
Filtering database rows with spring-data-jpa and spring-mvc
Java
Spring
Spring Mvc
Spring Data
Spring Data-Jpa
What RuntimeException can Spring CrudRepository throw?
Java
Spring
Spring Data
How to configure embedded Tomcat integrated with Spring to listen requests to IP address, besides localhost?
Java
Spring
Tomcat
Spring Mvc
Spring Boot
Pagination in Spring Data JPA (limit and offset)
Spring
Jpa
Pagination
Spring Data
Paging
How to check JSON in response body with mockMvc
Java
Spring
Junit
Mocking
Spring Test-Mvc
Spring Boot Data JPA - Modifying update query - Refresh persistence context
Spring
Hibernate
Spring Boot
Spring Data
Spring Data-Jpa
Spring Boot properties in 'application.yml' not loading from JUnit Test
Java
Spring
Junit
Spring Boot
Spring Test
PageRequest constructors have been deprecated
Java
Spring
Spring Data
Spring Data-Commons
Plugin 'org.springframework.boot:spring-boot-maven-plugin:' not found
Java
Spring
Spring Boot
Maven
Understanding Spring @Autowired usage
Java
Spring
Autowired
Spring 3
Right way to write JSON deserializer in Spring or extend it
Java
Json
Spring
Jackson
Deserialization
Spring transaction REQUIRED vs REQUIRES_NEW : Rollback Transaction
Java
Spring
Hibernate
Transactions
Spring Transactions
Integration Testing POSTing an entire object to Spring MVC controller
Java
Spring
Testing
Spring Mvc
Integration Testing
What is the difference between ResponseEntity<T> and @ResponseBody?
Java
Spring
Spring Mvc
How can I tell RestTemplate to POST with UTF-8 encoding?
Json
Spring
Resttemplate
How to get bean using application context in spring boot
Java
Spring
Spring Boot
Dependency Injection
8080 port already taken issue when trying to redeploy project from Spring Tool Suite IDE
Java
Spring
Spring Mvc
Tomcat
Spring Boot
Kotlin & Spring Boot @ConfigurationProperties
Spring
Spring Boot
Kotlin
Using spring HATEOAS with spring webflux Functional Web Framework (reactor-netty)
Java
Spring
Spring Boot
Spring Hateoas
Spring Webflux
Illegal reflective access by org.springframework.cglib.core.ReflectUtils$1
Java
Spring
Spring Boot
Java 9
Java Module
Spring Boot fails to run maven-surefire-plugin ClassNotFoundException org.apache.maven.surefire.booter.ForkedBooter
Spring
Maven
Spring Boot
Maven Surefire-Plugin
How do I get a HttpServletRequest in my spring beans?
Java
Apache Flex
Spring
Facebook
identity from sql insert via jdbctemplate
Java
Sql Server
Spring
Jdbc
Jdbctemplate
How do I prevent people from doing XSS in Spring MVC?
Spring
Jsp
Spring Mvc
Xss
Html Escape-Characters
Spring Dependency Injection with TestNG
Junit
Spring
Testng
How to achieve conditional resource import in a Spring XML context?
Java
Xml
Spring
DAO and Service layers (JPA/Hibernate + Spring)
Java
Spring
Architecture
Jpa
Dao
Add Bean Programmatically to Spring Web App Context
Java
Spring
Web Applications
Dynamic
How do you globally set Jackson to ignore unknown properties within Spring?
Xml
Spring
Jackson
What is the difference between putting a property on application.yml or bootstrap.yml in spring boot?
Java
Spring
Spring Boot
Spring Cloud
How to enable HTTP response caching in Spring Boot
Java
Spring
Spring Mvc
Spring Security
Spring Boot
Spring Boot - nesting ConfigurationProperties
Java
Spring
Spring Boot
Increase HTTP Post maxPostSize in Spring Boot
Java
Spring
Spring Mvc
Tomcat
when spring boot startup,throw out the "method names must be tokens" exception
Java
Spring
Spring Boot - Limit on number of connections created
Java
Spring
Spring Boot
Cloud Foundry
Lombok @builder on a class that extends another class
Java
Spring
Hibernate
Lombok
Is it possible to have multiple PropertyPlaceHolderConfigurer in my applicationContext?
Java
Spring
Tracking down cause of Spring's "not eligible for auto-proxying"
Java
Spring
Aop
Is there a maven 2 archetype for spring 3 MVC applications?
Spring
Spring Mvc
Maven 2
Maven Archetype
Spring MVC: Mapping Multiple URLs to Same Controller
Java
Spring
Spring Mvc
Spring MVC: how to create a default controller for index page?
Spring
Spring Mvc
Spring: Make sure a particular bean gets initialized first
Java
Spring
Transactional saves without calling update method
Java
Hibernate
Spring
Transactional
How to reload authorities on user update with Spring Security
Java
Spring
Spring Security
Spring MVC PATCH method: partial updates
Java
Json
Spring
Rest
Spring Mvc
Manually call Spring Annotation Validation
Java
Spring
Hibernate
Validation
Spring Mvc
Update single field using spring data jpa
Java
Spring
Spring Data
Updates
Spring Data-Jpa
Spring MVC: please explain difference between @RequestParam and @ModelAttribute
Java
Spring
Spring Mvc
Spring Annotations
Spring Security Custom Authentication - AuthenticationProvider vs UserDetailsService
Java
Spring
Spring Mvc
Spring Security
Spring Data Rest and Cors
Java
Spring
Spring Mvc
Cors
Spring Data-Rest
Does it make sense to store JWT in a database?
Spring
Rest
Security
Oauth 2.0
Jwt
Splitting applicationContext to multiple files
Spring
Configuration
What are the possible AOP use cases?
Java
Spring
Jboss
Aop
Use Case
Spring MVC "redirect:" prefix always redirects to http -- how do I make it stay on https?
Spring
Spring Mvc
Populating Spring @Value during Unit Test
Java
Spring
Junit
Spring Annotations
How to check String in response body with mockMvc
Java
Spring
Mocking
Spring Test-Mvc
Spring 3.0 MVC binding Enums Case Sensitive
Java
Spring
Spring Mvc
How to prevent parameter binding from interpreting commas in Spring 3.0.5?
Java
Spring
Data Binding
Spring Mvc
Passing date to request param in Spring MVC
Spring
Spring Mvc
Spring bean scopes: session and globalSession
Java
Spring
Spring Mvc
Spring Ioc
Spring 3.2 @value annotation with pure java configuration does not work, but Environment.getProperty works
Java
Spring
Failed to load Main-Class manifest attribute while running java -jar
Java
Spring
Maven
Spring Mvc
How to override application.properties during production in Spring-Boot?
Java
Spring
Spring Boot
Spring: Returning empty HTTP Responses with ResponseEntity<Void> doesn't work
Java
Spring
Rest
Spring Mvc
What is the default scheduler pool size in spring-boot?
Java
Spring
Spring Boot
How to use @InjectMocks along with @Autowired annotation in Junit
Java
Spring
Junit
Mocking
Mockito
How to specify Java version in Spring/Spring Boot pom.xml?
Java
Spring
Maven
Spring Boot
pom.xml
Spring Boot - Validations stopped working after upgrade from 2.2.5 to 2.3.0
Java
Spring
Spring Boot
Validation
Can SpringMVC be configured to process all requests, but exclude static content directories?
Spring
Configuration
Spring Mvc
How do you create a Spring MVC project in Eclipse?
Java
Eclipse
Spring
Spring Mvc
Eclipse Plugin
Where to put @Transactional? In interface specification or implementation?
Java
Spring
Interface
Transactions
spring autowiring with unique beans: Spring expected single matching bean but found 2
Spring
Spring Mvc
Dependency Injection
Annotations
Autowired
No matching bean of type ... found for dependency
Java
Spring
Hibernate
Spring Mvc
Autowired
What is the difference between BeanPostProcessor and init/destroy method in Spring?
Spring
Are Spring MVC Controllers Singletons?
Java
Spring
Spring Mvc
Accessing spring beans in static method
Java
Spring
Spring default behavior for lazy-init
Spring
Spring Ioc
Spring: namespace vs contextConfigLocation init parameters in web.xml
Spring
Spring Mvc
Dependency Injection
Javascript long integer
Java
Javascript
Json
Spring
Integer
Spring REST using Jackson - 400 bad request logging
Spring
Spring Mvc
Spring HTTP Client
Java
Spring
How to set hibernate.format_sql in spring-boot?
Java
Spring
Spring Boot
Spring Data-Jpa
@EnableGlobalMethodSecurity vs @EnableWebSecurity
Spring
Rest
Spring Security
Spring Boot
Why does Jackson 2 not recognize the first capital letter if the leading camel case word is only a single letter long?
Java
Json
Spring
Spring Mvc
Jackson
Running code after Spring Boot starts
Java
Spring
Spring Boot
Spring Boot - How to log all requests and responses with exceptions in single place?
Java
Spring
Logging
Spring Rest
How to use spring boot making a common library
Java
Spring
Spring Boot
How to return JSON data from spring Controller using @ResponseBody
Java
Json
Spring
Spring Mvc
Spring 4
Read environment variable in SpringBoot
Java
Spring
Spring Boot
Environment Variables
Set System Property With Spring Configuration File
Java
Spring
Junit
Log4j
Is package by feature approach good?
Java
Spring
Jakarta Ee
Package Design
Spring @Value annotation in @Controller class not evaluating to value inside properties file
Spring
Properties
EntityNotFoundException in Hibernate Many To One mapping however data exist
Spring
Hibernate
Jpa
Spring Data-Jpa
Spring can't autowire Map bean
Java
Spring
Map
Unable to mock Service class in Spring MVC Controller tests
Java
Spring
Spring Mvc
Mocking
Mockito
Unable to complete the scan for annotations for web application [/app] due to a StackOverflowError
Java
Eclipse
Spring
Maven
Spring Mvc
Spring Scheduler stops unexpectedly
Java
Spring
Tomcat
Scheduled Tasks
-Dlogback.configurationFile=logback.xml ignored when running Spring-Boot
Spring
Logback
Spring Boot
Spring Boot logging pattern
Spring
Spring Boot
Logback