-
Notifications
You must be signed in to change notification settings - Fork 159
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 ON LINUX: did not recongnize any BaseX jars in classpath. This may indicate missing jars or duplicate version mismatch. #151
Comments
update: after fixing the |
Where is BaseX-8.6.7.jar? Make sure it's in home/root/gcam-core/libs/jars. Also add "." to the CLASSPATH so java can find XMLDBDriver.jar, which lives in the exe directory. This is where you need to be to run GCAM.
|
@sanshuiii: Did @rjplevin's suggestion fix the issue? |
I am having a similar problem with GCAMv5.4. At runtime, I get SEVERE ERROR:Failed to find Java class XMLDBDriver to write to the XML database.
(Sorry for the long path names.) To verify that the problem is not attributable to some system change on my end, I verified that I can still run gcamv5.2. |
After fixing the CLASSPATH problem, the issue has been fixed. It works on GCAM v5.3, however I am not sure if it works on GCAM v5.4 as well. |
Did you set the CLASSPATH at compile time or run time? |
Compile time, before makefile. |
That did not help me. However, I see now that my error is different, an inability to find XMLDBDriver.jar, where yours pertained to BaseX. |
I follow the GCAM Build Instructions and successfully compile the GCAM v5.3 on Ubuntu 16.04. However, I failed to run it with error: did not recongnize any BaseX jars in classpath. This may indicate missing jars or duplicate version mismatch. I will show my installation process below. I wonder if you can help me to solve this problem. Thanks in advance.
To be convient, we provide a short and a complete version of our problem.
Short version
We compile the system on Ubuntu16.04, with environment variables:
We copy the libs folder from a GCAM v5.2 release version to our working directory, and set classpath and jars_lib as follows:
Finally we compile and run and get the error message:
Complete install process
\home\root
and it turned out that there are some problems.
Note that
<GCAMWorkspace>/output/modelinterface/ModelInterface.jar
in section 5.2 does not exist, the true path should be<GCAMWorkspace>/output/modelinterface/ModelInterface.jar
with the first interface starting by a lowercase i.The text was updated successfully, but these errors were encountered: