You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception in thread "main" org.xeustechnologies.jcl.exception.JclException: org.xeustechnologies.jcl.exception.JclException: Neither the class [B] nor all the implemented interfaces found in the current classloader
at org.xeustechnologies.jcl.JclObjectFactory.create(JclObjectFactory.java:93)
The fix would be to change JclObjectFactory.java with:
// Class[] interfaces = object.getClass().getInterfaces(); // Remove this line
List<Class> il = new ArrayList<Class>();
// Use this util e.g. from org.apache.commons:commons-lang3 instead
List<Class<?>> interfaces = ClassUtils.getAllInterfaces(object.getClass());
The text was updated successfully, but these errors were encountered:
Auto-proxying does not recursively search for interfaces, so this small example unexpectedly does not work:
Results in:
The fix would be to change JclObjectFactory.java with:
The text was updated successfully, but these errors were encountered: