I have a blank site with just an index.cfm
and the Bcrypt jar (jbcrypt.jar). In 6.2.2.34 and earlier, this works:
bcrypt = createObject( "java", "org.mindrot.jbcrypt.BCrypt", "c:/dev/apps/aaa/jbcrypt.jar" );
In 6.2.2.35 and later, I get:
Illegal char <:> at index 154: C:\Users\user\.CommandBox\server\1EAF9299F3CEF302DB4C8A7AC5B4EEAB-aaa\lucee-6.2.2-SNAPSHOT.18\WEB-INF\lucee-server\context\cfclasses\RPC\1ag39poswhvk7:1rvc0gxs1rirp
Should I file a bug?
Don’t forget to tell us about your stack!
OS : Windows 11 Pro
Java Version : 21.0.6
Tomcat Version : ???
Lucee Version : Commandbox 6.3.0-alpha+00832
martin
May 22, 2025, 10:12am
2
I too am having problems creating objects from local jar files. I thought is was because I was using a subclass, but apparently not.
I have just updated our dev server to 6.2.2.43-RC by doing a complete uninstall and reinstall from an older version.
Lucee: 6.2.2.43-RC
Tomcat: 11.0.6
Java: 21.0.7 (Eclipse Adoptium) 64bit
OS: Windows Server 2019
I have several components that load jar files locally and I am encountering an error when trying to create an object from an innerclass. We have been loading jar files in this way using Lucee 5 and it has worked well for us.
We have hit this problem using the Duo multi factor auth…
@Leftbower , I have investigated this topic with Lucee version 6.2.2.43-RC and faced the same issue. Yes, it is a regression from 6.2.2.35-SNAPSHOT.
The issue occurs due to these changes: Lucee/core/src/main/java/lucee/commons/lang/PhysicalClassLoader.java at 6.2 · lucee/Lucee · GitHub
2 Likes
Same issue here. A workaround that has been working for me (maybe just randomly?) is described at Datadog throws "unable to load class path" on Lucee, not on CF2018 - #3 by psarin .