Christopher-Chianelli / SecretSanta

Generate Secret Santa Assignments using OptaPlanner!
6 stars 1 forks source link

when I tried to execute .jar file it is showing unable to access #2

Open AseeshDevops opened 1 year ago

AseeshDevops commented 1 year ago

Screenshot (96)

C:\Users\ravit\Desktop\SecretSanta-master>java -jar secret-santa-standalone/target/secret-santa-standalone--exec.jar Error: Unable to access jarfile secret-santa-standalone/target/secret-santa-standalone--exec.jar

C:\Users\ravit\Desktop\SecretSanta-master>java -jar secret-santa-standalone/target/secret-santa-standalone-*-exec.jar

C:\Users\ravit\Desktop\SecretSanta-master>java -jar secret-santa-standalone/target/secret-santa-standalone--exec.jar Error: Unable to access jarfile secret-santa-standalone/target/secret-santa-standalone--exec.jar

AseeshDevops commented 1 year ago

how can I solve this issue ?

Christopher-Chianelli commented 1 year ago

You might need to use the Windows path separator '\' in the path (replace '/' with '\' in the path). Additionally, the terminal might not support glob expressions, so you might need to replace '*' with the version in pom.xml (7.32.0-SNAPSHOT).