-
Notifications
You must be signed in to change notification settings - Fork 5
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
java.lang.IllegalArgumentException: URI is not hierarchical at java.io.File.<init>(File.java:418) #12
Comments
İf you write absolute path to "dsm-config-file.yaml" it will work. Problem is not related to DSM. Java can't find the file. if the file is in your class path you should use getResourceasStrram function. Please check #11 issue. You can find example usage getResourceasStrram. İf problem isn't solved please let me know. |
Thanks for quick response ..... i wrote absolute path to builder. builder object is created when i am trying to create dsm object i am getting the error here is my code..
error in second line... |
can you please write the error you get. |
run: |
When you pass File object to DSM.toObject, DSM assume file is in classpath if you didn't specified rootPath. |
this is also not working for me.... for me the exception raised at below line not at toObject method...
|
Only change toObject method to use input Stream. |
Exception in thread "main" java.lang.IllegalArgumentException: URI is not hierarchical |
The problem is not related the code. which java version are you using? |
#9 close this |
Jdk 8 |
1.0.4 released. can you try new version. |
Hi.....
I got the same error even i added new File("") in DSMBuilder
this is my sample code
i try to solve my problem by using below question.....
java.lang.IllegalArgumentException: URI is not hierarchical..
but i codn't figure out the problem please help me..
if you want i will share my code ...
The text was updated successfully, but these errors were encountered: