Skip to content
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

[WIP] Add Hello World and Todo MVC Quarkus Example [#3549] #4366

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

himanshumahajan138
Copy link
Contributor

Pull Request

Adds Hello World and Todo MVC Quarkus Example [#3549]

Description

Quarkus Examples For Mill Examples 6-hello-quarkus & 7-todo-quarkus

Related Issues

Checklist

  • 6-hello-quarkus
  • 7-todo-quarkus
  • Updated Documentation

Status

Require Help !!!

@himanshumahajan138
Copy link
Contributor Author

@lihaoyi Sir I am stucked with this error if possible could u please help me regarding this (i have tried searching on google and docs but didn't got any solution)

If Anyone aware about this then please help me resolving this

root@MrBlacked:~/mill/mill# ./mill dist.run example/javalib/web/6-hello-quarkus/ test
[2990/2990] dist.run
[build.mill-62/66] compile
[build.mill-62] [info] compiling 1 Scala source to /root/mill/mill/example/javalib/web/6-hello-quarkus/out/mill-build/compile.dest/classes ...
[build.mill-62] [info] done compiling
[75/89] compile
[75] [info] compiling 1 Java source to /root/mill/mill/example/javalib/web/6-hello-quarkus/out/compile.dest/classes ...
[75] [info] done compiling
[82/89] test.compile
[82] [info] compiling 1 Java source to /root/mill/mill/example/javalib/web/6-hello-quarkus/out/test/compile.dest/classes ...
[82] [info] done compiling
[89/89] test.test
[89] Test run started (JUnit Jupiter)
[89] Jan 18, 2025 5:59:48 PM io.quarkus.bootstrap.utils.BuildToolHelper findBuildTool
[89] WARN: Unable to find a build tool in /root/mill/mill/example/javalib/web/6-hello-quarkus/out/test/test.dest/sandbox or in any parent.
[89] Jan 18, 2025 5:59:49 PM io.quarkus.bootstrap.BootstrapAppModelFactory resolveAppModel
[89] WARN: Unable to locate the maven project on the filesystem
[89] Test com.example.HelloQuarkusTest#testHelloEndpoint() started
[89] Test com.example.HelloQuarkusTest.testHelloEndpoint failed: java.lang.RuntimeException: io.quarkus.bootstrap.BootstrapException: Failed to create the application model for null, took 0.022s
[89]     at io.quarkus.test.junit.QuarkusTestExtension.throwBootFailureException(QuarkusTestExtension.java:628)
[89]     at io.quarkus.test.junit.QuarkusTestExtension.interceptTestClassConstructor(QuarkusTestExtension.java:712)
[89]     at java.util.Optional.orElseGet(Optional.java:364)
[89]     at java.util.ArrayList.forEach(ArrayList.java:1511)
[89]     at java.util.ArrayList.forEach(ArrayList.java:1511)
[89] Caused by: io.quarkus.bootstrap.BootstrapException: Failed to create the application model for null
[89]     at io.quarkus.bootstrap.BootstrapAppModelFactory.resolveAppModel(BootstrapAppModelFactory.java:310)
[89]     at io.quarkus.bootstrap.app.QuarkusBootstrap.bootstrap(QuarkusBootstrap.java:138)
[89]     at io.quarkus.test.junit.AbstractJvmQuarkusTestExtension.createAugmentor(AbstractJvmQuarkusTestExtension.java:192)
[89]     at io.quarkus.test.junit.QuarkusTestExtension.doJavaStart(QuarkusTestExtension.java:207)
[89]     at io.quarkus.test.junit.QuarkusTestExtension.ensureStarted(QuarkusTestExtension.java:595)
[89]     at io.quarkus.test.junit.QuarkusTestExtension.beforeAll(QuarkusTestExtension.java:645)
[89]     ... 1 more
[89] Caused by: io.quarkus.bootstrap.BootstrapException: Failed to determine the Maven artifact associated with the application /root/mill/mill/example/javalib/web/6-hello-quarkus/out/test/test.dest/sandbox
[89]     at io.quarkus.bootstrap.BootstrapAppModelFactory.resolveAppModel(BootstrapAppModelFactory.java:250)
[89]     ... 6 more
[89] Test com.example.HelloQuarkusTest finished, took 0.421s
[89] Test junit-jupiter finished, took 0.488s
[89] Test run finished: 1 failed, 0 ignored, 1 total, 0.537s

@himanshumahajan138
Copy link
Contributor Author

@lolgab maybe you know something that i am missing in this if available could u please have a look

moreover @lihaoyi do u have any remarks on this i have tried all dependencies but the application is not running at all

@lihaoyi
Copy link
Member

lihaoyi commented Jan 19, 2025

@himanshumahajan138 that's your job to figure it out. If I knew how to do it I wouldn't put a 1000USD bounty on it

@himanshumahajan138 himanshumahajan138 marked this pull request as draft January 23, 2025 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants