Not a runnable code in IntelliJ (Building a scheduling app with Quarkus and Timefold) #1563
Closed
jerome1968
started this conversation in
General
Replies: 2 comments 3 replies
-
Hey @jerome1968, welcome to the fold! If you're asking why the application is not runnable in IntelliJ, are you sure you've got the Quarkus plugin installed and enabled? Alternatively, you may want to check out our quickstarts, which are pre-made and therefore should work out of the box. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi @triceo , could you give me some hints on the process to update the Timefold solver lib used by my App when I notice in the Quarkus documentation that the Timefold solver has been updated? Thank you. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I followed the steps to "Build an AI-powered scheduling app with Quarkus and Timefold" but the Run menu option in the IntelliJ IDE is not available to me ("The file in the editor is not runnable"). Did I miss something?
I followed the steps described in this video: https://www.youtube.com/watch?v=QMgUxw4Kpb4&t=51s until 9 mn 13s. I am not able to run the app.
Here is the code of the GreetingResource java class and the app is expected to run at: localhost:8080/hello
package org.acme;
import ai.timefold.solver.core.api.solver.SolverManager;
import jakarta.inject.Inject;
import jakarta.ws.rs.GET;
import jakarta.ws.rs.Path;
import jakarta.ws.rs.Produces;
import jakarta.ws.rs.core.MediaType;
import java.time.Duration;
import java.util.List;
import java.util.concurrent.ExecutionException;
@path("/hello")
public class GreetingResource {
@Inject
SolverManager<Schedule, String> solverManager;
}
Beta Was this translation helpful? Give feedback.
All reactions