-
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
MessageBundle(qute/jboss logging) not work with gradle multi module #21672
Comments
@dmlloyd hi there are work well with gradle single module but multi module. |
@pipinet it seems that the |
@mkouba tks, got it! fixed. |
@mkouba hi, in jboos logging case, i add class path to annotationProcessor fixed class not found error. annotationProcessor("org.jboss.logging:jboss-logging:3.4.2.Final") but quarkus gradle plugin not include annotationProcessor output folder build/generated/sources/annotationProcessor to class path error message is :
|
@pipinet By default, @MessageBundle(projectCode = "QWSEC")
public interface SecurityMessages {
SecurityMessages log = org.jboss.logging.Messages.getBundle(SecurityMessages.class);
@Message(value = "User name not found")
RuntimeException usernameNotFound();
} And then just use |
@mkouba oh, i forgot it, I used this way in single module project. |
Ok, I think we can close this issue now ;-) |
@mkouba sure!thanks for your help! |
Describe the bug
Can not start service with gradle multi module
Expected behavior
MessageBundle work well
Actual behavior
1、when use io.quarkus.qute.i18n.MessageBundle not work
2、when use org.jboss.logging.annotations.MessageBundle not work
How to Reproduce?
demo project in
https://github.com/qwlabs/quarkus-graphql/tree/jboss-logging
and
https://github.com/qwlabs/quarkus-graphql/tree/qute
step in README.md
Output of
uname -a
orver
Darwin Kernel Version 20.6.0
Output of
java -version
11.0.2
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.4.2.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)Gradle 7.2
Additional information
No response
The text was updated successfully, but these errors were encountered: