BUILD FAILURE in osmt-api (asking for assistance in setting up OSMT in local) #466
-
|
Hello! Really appreciate if someone can assist me with this issue in setting up OSMT. This is my first time setting up OSMT and I follow the docx here to set up OSMT: https://github.com/wgu-opensource/osmt/blob/develop/README.md#running-the-development-configuration , but as it started to build the app, I encountered an issue in the
Here's the logs when it encountered the first error Here's the versions of the tech installed in my system: I am building and running osmt in a vagrant machine, using Ubuntu focal as my system's OS. Your comments/suggestions are greatly appreciated! Thank you in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
|
Hello. Please paste in the output of Thank you. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @JohnKallies , thank you for responding. Here's the output for And for the
Additional error logs |
Beta Was this translation helpful? Give feedback.
-
|
[UPDATED] Hi @JohnKallies , I was able to successfully built osmt, omt-ui, and osmt-api by skipping the tests --> |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for your help @JohnKallies , I have other issues encountered but I guess it's better be discussed in a separate thread. |
Beta Was this translation helpful? Give feedback.



OSMT has a design quirk from the original authors, in that the UI is built in the resources directory of the API module. So when you start the Spring app, the UI files are baked into that jar and available via 8080. If the API is running, the UI is already in that jar. Everything works on the same host / port / server via Spring.
If you want to run the UI independently, this makes it a little messy, beause the OAuth2 redirect needs to come back to the Angular/webpack server on 4200.
To support this local UI development, uncomment the line with OSMT_FRONT_END_PORT in your api/osmt-dev-stack.env file.
Let's be honest about that baked-in UI files design... it's messy when standing up a UI in…