[x3d-public] X3DJSAIL: classpath jar issues. Case Sensitivity; jar not found???

John Carlson yottzumm at gmail.com
Mon Sep 11 15:42:44 PDT 2017


Case Sensitivity in classpath:

java -cp “../../../target/X3DJSONLD-1.0-SNAPSHOT.jar;../../../X3DJSaIL-3.3-SNAPSHOT.jar;../../../saxon9he.jar” net/coderextreme/data/arc
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -1
        at java.lang.String.substring(Unknown Source)
        at org.web3d.x3d.jsail.Core.X3DObject.toFileStylesheetConversion(X3DObject.java:740)
        at org.web3d.x3d.jsail.Core.X3DObject.toFileStylesheetConversion(X3DObject.java:601)
        at org.web3d.x3d.jsail.Core.X3DObject.toFileJSON(X3DObject.java:1184)
        at net.coderextreme.data.arc.main(arc.java:80)
============================================================================================
Bad error message?  Jar is not in release versions.   Are we not allowing renaming of jars???  Thanks!

java -cp ../../../target/X3DJSONLD-1.0-SNAPSHOT.jar";"../../../X3DJSAIL-3.3-SNAPSHOT.jar";"../../../saxon9he.jar net/coderextreme/data/arc
Exception in thread "main" org.web3d.x3d.sai.InvalidFieldValueException: ERROR_CONFIGURATION_X3DJSAIL X3DJSAIL jar archive "X3DJSAIL-3.3-SNAPSHOT.jar" not found!
        at org.web3d.x3d.jsail.Core.X3DObject.toFileStylesheetConversion(X3DObject.java:756)
        at org.web3d.x3d.jsail.Core.X3DObject.toFileStylesheetConversion(X3DObject.java:601)
        at org.web3d.x3d.jsail.Core.X3DObject.toFileJSON(X3DObject.java:1184)
        at net.coderextreme.data.arc.main(arc.java:80)

Fixed by changing classpath.

John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170911/0336879d/attachment-0001.html>


More information about the x3d-public mailing list