JChemSearch, cannot find class IncidentsObserver

User 5282f2c7aa

19-01-2012 21:20:31

Hi,


I'm using the merged JChem jar version 5.8.0, and am trying to use JChemSearch. I am getting this error:



Exception in thread "main" java.lang.NoClassDefFoundError: chemaxon/jchem/db/status/IncidentsObserver


Caused by: java.lang.ClassNotFoundException: chemaxon.jchem.db.status.IncidentsObserver


on this line of code:



JChemSearch searcher = new JChemSearch(); 


I checked the jar and there is no chemaxon.jchem.db.status package.


Thank you for any help.

ChemAxon 9c0afc9aaf

19-01-2012 23:31:03

Hi,


THe class should be found in chemaxon-status.jar.


Maybe you need to add it to your application's classpath.


Best,


Szilard


 

User 0261d34ad7

20-01-2012 14:48:07

Hi,


I hit the same issue today, but while running 5.7.0.


The only difference from our "typical" search scenario is that I was connecting to a remote database...


Any thoughts about what we should do?


We worked around the problem by grabbing the same Jar file from 5.8.0, but this seems quite messy :)


Thanks,


Jim

ChemAxon efa1591b5a

27-01-2012 14:32:10

Hi Jim,


Did you find our response in the other thread you started helpful? Has it resolve the issue?


Regards,


Miklos