Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
15 views

How can I specify the local file when calling get message within a free market ftl file?

On a page when using springMacroRequestContext.getMessage text for en-us and it pulls from my messages-en-us.properties file, however in some cases I'd like to for a particular string to pull the text ...
mche's user avatar
  • 676
0 votes
0 answers
20 views

Spring Boot (Kotlin) application: Validation and displaying of errors not working

I am following a course at my college where we build a simple SpringBoot application. This task is about validation. I handle the data exchange with several DTOs (for creating, updating and response). ...
Oliver R.'s user avatar
-4 votes
0 answers
70 views

Problems with Lombok [closed]

I'm trying to make a java with springboot project, i added the dependencies Spring Web and Lombok, but at the moment i use the notation @Data, IntellijIDEA shows me the next error: java: cannot find ...
0dr4d3kdb's user avatar
-3 votes
0 answers
95 views

How to read the object instead of the memory address

I've been working on this project and when I try to read the data stored in the memory retrieves only the memory address instead of reading the object I tried to see if it was a problem with my code ...
Oscar Rivera's user avatar
0 votes
0 answers
20 views

springdoc-openapi-starter-webmvc-ui 2.7.0 not working

i am working with spring boot springdoc-openapi-starter-webmvc-ui 2.7.0 not working altho <dependency> <groupId>org.springdoc</groupId> <...
Yahya Saoud's user avatar
1 vote
1 answer
65 views

JSP file is not rendering on browser for Spring Boot application

I am working on a Spring Boot web app, where I am trying to load a simple JSP file to the browser with Tomcat (embedded), through my controller. I am able to print the message inside home to the ...
kaushiksarangi26's user avatar
0 votes
1 answer
48 views

How to reference bean that is a record from a Spring expression?

I have Spring Boot automatically reading in some application.yaml configuration into this record: package foo.bar.baz; @ConfigurationProperties(prefix = "apns") public record ...
QuantumMechanic's user avatar
0 votes
0 answers
38 views

Embdded jetty 9 with Spring security MVC Access denied 403 from servlet dispatcher using x509 client certificate authentication

Environment is jetty v9 embedded server with a Spring web MVC application. The server requests the client certificate but does not authenticate giving Access denied 403 from servlet dispatcher. (...
R Lawless's user avatar
0 votes
0 answers
9 views

HQL query returns NULL after session.save(object) and session.flush()

I am creating an enablePackage API code flow in JAVA. I am using the Spring MVC project. I am facing an issue related to HQL query returning null. The code logic is as follows: Foo.class List<...
Kartik Wanjari's user avatar
0 votes
2 answers
126 views

RestClient message converters unable to parse ISO-8859-1 response from remote server

I'm using Spring boot 3.4.4 calling a remote xml service where the response is in ISO-8859-1 encoding. Response from server -> HTTP/1.1 200 OK Content-type: application/xml;charset=iso-8859-1 Date: ...
Preben's user avatar
  • 75
-1 votes
2 answers
51 views

How to perform update in Spring Boot application?

In a service UserServiceImpl.updateUser method I need to return Optional if repository userRepository.findById method returned Optional or perform update of selected entity. The code does not work: ...
Альберт Александров's user avatar
0 votes
0 answers
13 views

How to get routeId based on request URI / servletpath in gateway-mvc

Is there a way to get the matching route id for a request URI, similar to the RouteLocator provided by zuul Netflix? We were using it in Zuul, but in Gateway-MVC, it doesn't seem to be a way to get ...
Sachin's user avatar
  • 1
1 vote
0 answers
40 views

Why @Encode annotation isn't applied to multiple parameters at Controller level?

I have a problem with OpenAPI curl generation. I have to create POST method with three parameters: application/json, text/plain and multipart/form-data medium types. So curl that is going to be ...
tidik's user avatar
  • 21
0 votes
0 answers
48 views

Sitemesh 3 layout not applied to error pages after Spring Framework 6.2.4 upgrade

I am developing a web application using Spring MVC and SiteMesh 3. After recently upgrading the Spring Framework version to 6.2.4, I noticed that error pages generated by HandlerExceptionResolver no ...
yehara's user avatar
  • 3
0 votes
0 answers
20 views

Spring MVC + Security: All Pages Accessible Without Login

I'm working on a Spring MVC app and am trying to add Spring security to it, starting with a simple form login. I had an initial app working with web.xml <?xml version="1.0" encoding="...
LemongrabThree's user avatar

15 30 50 per page
1
2 3 4 5
3906