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

restriction on data property #1224

Open
mafshari64 opened this issue Jun 21, 2024 · 0 comments
Open

restriction on data property #1224

mafshari64 opened this issue Jun 21, 2024 · 0 comments

Comments

@mafshari64
Copy link

I created a data property (laser_propagation_direction) and want to add only two options either 0.0 or 1.0. I was found on Google (https://stackoverflow.com/questions/35348064/data-range-expression-for-an-enumeration-in-prot%c3%a9g%c3%a9) to do something like that:
1- opened range for data property (laser_propagation_direction) and selected float and In the "Data range expression" field, typed the following:

{0.0, 1.0} but then I see this error:

ERROR 13:06:37 No instantiation found for java.util.function.Supplier<org.semanticweb.owlapi.model.OWLOntologyLoaderConfiguration> arg0

I checked Java setup looks correct based on the outputs. The JAVA_HOME environment variable is set to the correct directory, and the java command is found in the expected location. This suggests that my Java installation is correctly configured.

`P:>java -version
openjdk version "21.0.3" 2024-04-16 LTS
OpenJDK Runtime Environment Corretto-21.0.3.9.1 (build 21.0.3+9-LTS)
OpenJDK 64-Bit Server VM Corretto-21.0.3.9.1 (build 21.0.3+9-LTS, mixed mode, sharing)

P:>echo %JAVA_HOME%
C:\Program Files\Amazon Corretto\jdk21.0.3_9

P:>where java
C:\Program Files\Amazon Corretto\jdk21.0.3_9\bin\java.exe `

Why still see the error? I appreciate any suggestions.

Thanks in advance,

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

1 participant