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

Error: Unable to access jarfile ../waltz-web/target/uber-waltz-web-1.0-SNAPSHOT.jar #4808

Closed
jrutkin opened this issue Apr 8, 2020 · 1 comment

Comments

@jrutkin
Copy link

jrutkin commented Apr 8, 2020

Hi

I have managed to get waltz to build successfully, however am having difficulty in actually getting it to run

the waltz/bin directory contains a run.sh file, however the build doesn't seem to create a jar per above.

I therefore get the error

Error: Unable to access jarfile ../waltz-web/target/uber-waltz-web-1.0-SNAPSHOT.jar

I have only the below in the waltz-web/target directory

waltz@waltz:~/waltz/waltz-web/target$ ls
classes generated-test-sources surefire-reports waltz-web waltz-web.war
generated-sources maven-archiver test-classes waltz-web-sources.jar

Thanks!

@kamransaleem
Copy link
Contributor

Hi John,

If you take the waltz-web.jar from the target directory you can deploy this directly to a tomcat server and it should run fine. You will need to provide the database connection details via a .properties file however.

see example here: https://github.com/finos/waltz/blob/master/waltz-web/example.waltz.properties.md

A good place for the .properties file is in a directory named .waltz under your home directory.

Let me know how you get on with this...
Kamran

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

No branches or pull requests

3 participants