-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Qute - Bean instance for localized interface not found #19617
Comments
/cc @mkouba |
Just to be clear - |
Hi @mkouba Yes indeed. It occurs when I launch quarkus using maven:3.8-jdk11 image with the following configuration: server:
container_name: uptimr-server
image: maven:3.8-jdk-11
working_dir: /usr/src/app
volumes:
- "./:/usr/src/app"
command: mvn compile quarkus:dev
ports:
- "8080:8080"
links:
- postgres And launching with |
Any update of it ? It also happens on github action context. |
I have no idea what happens. I'm not even sure this is something that is supported. |
I believe you need to build the docker image first and then run docker-compose using the built docker image.
./mvnw quarkus:add-extension -Dextensions="container-image-docker"
./mvnw clean package -Dquarkus.container-image.build=true |
Hi @gastaldi |
This can't works for me because it's the verify maven goal that is throwing the previous error. However, building the image application an running it still throw the error:
|
Any update on this issue ? |
1 similar comment
Any update on this issue ? |
- there was a missing validation that a localized file conflicts with the locale of the default message bundle interface - fixes quarkusio#19617
- there was a missing validation that a localized file conflicts with the locale of the default message bundle interface - fixes quarkusio#19617 (cherry picked from commit 86aeeb1)
Describe the bug
Using github action or maven docker, the
@MessageBundle
is not packaged and throw an exception :Expected behavior
@MessageBundle
should always packaged.Actual behavior
@MessageBundle
is not bundled except with using thequarkus cli tool
andmvnw
.How to Reproduce?
Using the default github action: https://github.com/SLedunois/uptimr/runs/3401245346#step:5:2370
You can clone the code - branch env - and launch with :
The message bundle is here: https://github.com/SLedunois/uptimr/blob/env/src/main/java/fr/uptimr/i18n/AppMessages.java and uses properties messages : https://github.com/SLedunois/uptimr/tree/env/src/main/resources/messages
Output of
uname -a
orver
docker
Output of
java -version
openjdk 11
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.1.1.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)docker-compose up server
Additional information
No response
The text was updated successfully, but these errors were encountered: