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

Running the application on Open Liberty - Skipping module guide-spring-boot which is not included #157

Closed
gusto2 opened this issue Mar 26, 2024 · 2 comments

Comments

@gusto2
Copy link

gusto2 commented Mar 26, 2024

going throuh the step Running the application on Open Liberty

Updated pom.xml and server.xml as in the tutorial
When running the step ./mvnw liberty:run , the build is successful, but the applications doesn't run

[INFO] --- liberty-maven-plugin:3.10.2:run (default-cli) @ guide-spring-boot ---
[INFO] 
Skipping module guide-spring-boot which is not included in this invocation of the run goal.

I noticed the server.xml contains a file path which is not found in the build:
location="thin-guide-spring-boot-0.1.0.jar"

@gkwan-ibm
Copy link
Member

gkwan-ibm commented Apr 10, 2024

hi @gusto2

Thank you to report this issue.

Would you try the workaround by updating the pom.xml to change the liberty-maven-plugin version to 3.10 as following?

...
      <!-- Enable Liberty Maven plugin -->
      <plugin>
        <groupId>io.openliberty.tools</groupId>
        <artifactId>liberty-maven-plugin</artifactId>
        <version>3.10</version>
...

@gusto2
Copy link
Author

gusto2 commented Apr 10, 2024

looks ok, runnig the spring app on liberty

@gusto2 gusto2 closed this as completed Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants