Skip to main content

Questions tagged [micronaut]

Micronaut is a JVM framework for building web applications with a strong focus on microservice applications.

0 votes
0 answers
17 views

postgres json column type with Micronaut

json_build_object does exactly what I want except the resulting JSON object is being encoded in my Micronaut controller's JSON response output as: "active": { "type": "json&...
Joel Sherriff's user avatar
0 votes
0 answers
21 views

Micronaut Serverless lambda not able to load partition metadata

I'm using Micronaut Java and building my image as graalvm and deploying that image on aws Lambda and internally code is interacting with dynamodb from lambda. So, whenever code is reaching to dynamodb....
Rochit Aggarwal's user avatar
0 votes
0 answers
41 views

Micronaut Bean Not Found on Websphere

I have a grails 5.3.6 application running on java 8_261. I am using Intellij ultimate with grails, groovy and spring plugins. Whenever I do grails run-app, the app launches normally and opens in my ...
Ali Sabra's user avatar
0 votes
0 answers
16 views

Micronaut Http Client PKIX and trustAnchors Cerificate errors

I am using Windows OS, developing in IntelliJ IDE, using JDK 22 and Micronaut. I am trying to integrate with an application that requires a certificate, and this started to generate an error of io....
Roberto Alves's user avatar
0 votes
0 answers
15 views

How to provide multiple query-params in micronaut http-client

I am calling an external api from my kotlin micronaut application using micronaut-http-client. The external-api requires multiple query-params, so I defined my interface like below: @Client("...
Mohamed Niyaz's user avatar
0 votes
0 answers
26 views

Populating properties into application context with PropertySource

I was wondering if in Micronaut it is possible to achieve similar functionality like in Sppring where by creating custom annotation we are able to populate custom properties into the application ...
stosik's user avatar
  • 53
0 votes
0 answers
13 views

Micronaut custom SecurityRule is never called

I am trying to implement a security rule in Micronaut 4.5.0 like so: package test; import static io.micronaut.security.utils.LoggingUtils.debug; import io.micronaut.context.annotation.Requires; ...
Fohlen's user avatar
  • 311
0 votes
0 answers
19 views

Micronaut - load configs under multiple names in multi maven module project

I'm trying to split up a micronaut project into multiple maven modules so I can have separate smaller executables for pub/sub workers. Layout now has three modules Api Core Workers Workers and Api ...
jkebinger's user avatar
  • 4,084
1 vote
1 answer
28 views

How to enable jackson custom serialiser in micronaut?

I have usecase to enable custom serialization for one of the field. I'm trying to implement the same using below snippet. @JsonSerialize(using = CustomSerializer.class) private CustomDTO customDto; ...
Nikhil N gowda's user avatar
0 votes
0 answers
16 views

io.micronaut.context.exceptions.DependencyInjectionException: Failed to inject value for parameter [enabled] of class:.DatahubHttpClient

I have an issue when i run micronaut test. i got stuck with this kind of error: io.micronaut.context.exceptions.DependencyInjectionException: Failed to inject value for parameter [enabled] of class: ...
Marwa Ben Abda's user avatar
0 votes
0 answers
23 views

Micronaut R2DBC Parent Child Relationship Parent ID not getting inserted into child (One to Many)

I am new to R2DBC and I have a fairly standard parent child relationship Person / Address and when attempting to save a person object with an address both the person and the address get saved but the ...
moff2's user avatar
  • 1
1 vote
0 answers
19 views

how to use multiple versions of maven dependency [duplicate]

In my Java micronaut microservice, I want to use a version of a maven dependency for my main code and another different version of the same maven dependency for unit tests code. So, how can I achieve ...
Test's user avatar
  • 21
0 votes
0 answers
28 views

Micronaut login redirecting from a docker container

I have a pair of Micronaut services secured via a Keycloak docker image. Running it normally, via ./gradlew run it authenticates with Keycloak at localhost:9080 and can successfully do both standard ...
John M's user avatar
  • 310
1 vote
0 answers
20 views

Micronaut @Error is not catching HttpStatus.INTERNAL_SERVER_ERROR

I'm working on a way to handle errors that should show an error page in HTML format. But it's not working, and instead of showing the error page, it's giving back a default JSON message saying {"...
BlackLotus's user avatar
0 votes
0 answers
24 views

Issue implementing Micronaut JWT

I'm trying to implement the follow the Micronaut guide at https://guides.micronaut.io/latest/micronaut-security-jwt-maven-java.html When I get to https://guides.micronaut.io/latest/micronaut-security-...
Brian Hoover's user avatar
  • 7,941

15 30 50 per page
1
2 3 4 5
122