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 when execute jar file from PHP #1495

Closed
aanair08 opened this issue Nov 24, 2023 · 2 comments
Closed

Error when execute jar file from PHP #1495

aanair08 opened this issue Nov 24, 2023 · 2 comments
Labels
wontfix This will not be worked on

Comments

@aanair08
Copy link

aanair08 commented Nov 24, 2023

I am trying to run validatior_cli.jar from PHP code, and the following error occurred.

Exception in thread "main" java.io.IOException: No such file or directory
	at java.base/java.io.UnixFileSystem.createFileExclusively(Native Method)
	at java.base/java.io.File.createNewFile(File.java:1035)
	at org.hl7.fhir.utilities.npm.FilesystemPackageCacheManager.initCacheFolder(FilesystemPackageCacheManager.java:178)
	at org.hl7.fhir.utilities.npm.FilesystemPackageCacheManager.init(FilesystemPackageCacheManager.java:169)
	at org.hl7.fhir.utilities.npm.FilesystemPackageCacheManager.<init>(FilesystemPackageCacheManager.java:128)
	at org.hl7.fhir.validation.cli.utils.Display.printCliParamsAndInfo(Display.java:23)
	at org.hl7.fhir.validation.ValidatorCli.readParamsAndExecuteTask(ValidatorCli.java:363)
	at org.hl7.fhir.validation.ValidatorCli.readParamsAndExecuteTask(ValidatorCli.java:188)
	at org.hl7.fhir.validation.ValidatorCli.main(ValidatorCli.java:223)

I tried to give permission for Apache in the cache directory but the still issue exists.

@aanair08 aanair08 changed the title Error when execute jar fie from php Error when execute jar file from PHP Nov 24, 2023
@grahamegrieve
Copy link
Collaborator

try again with the latest code, there's now a switch to specify the package cache directory

Copy link

stale bot commented Jun 12, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 5 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Jun 12, 2024
@stale stale bot closed this as completed Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants