Re: "Can't find a permissible class" error

Ulrich Mayring <[email protected]> Thu, 4 Jul 2024 10:56:08 +0200
Newsgroups gmane.comp.ai.weka
Message-ID <[email protected]>
Am 04.07.24 um 04:34 schrieb Eibe Frank:
> 
> It is probably a class loader issue, see also

I have to correct myself here. It cannot be a problem of the Spring Boot 
environment, because it is working fine outside of the docker container. 
It is more likely a problem with the container's environment that is 
missing something that the host system has.

Perhaps the class is not loaded from the classpath at all, but from the 
filesystem? In that case I could simply copy that to the container 
image. The error occurs in line 102 of:

https://git.cms.waikato.ac.nz/weka/weka/-/blob/main/trunk/weka/src/main/java/weka/core/ResourceUtils.java

Apparently the class was at some point loaded with Class.forName() as 
that is commented out. Instead it is now loaded with the 
WekaPackageClassLoaderManager. Where does that get its classes from?

Kind regards,
Ulrich


_______________________________________________
Wekalist mailing list -- [email protected]
Send posts to [email protected]
To unsubscribe send an email to [email protected]
To subscribe, unsubscribe, etc., visit https://list.waikato.ac.nz/postorius/lists/wekalist.list.waikato.ac.nz
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html