-
-
Notifications
You must be signed in to change notification settings - Fork 36
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
The requested class 'org.apache.commons.csv.CSVFormat' could not be found in the loaded jars/directories. #381
Comments
Hi Sung I've just run the test suite using CF 2018,0,19,330149 via commandbox and all tests passed ok. Could you provide a bit more detail, e.g. the code you're trying to run and the stack trace of the error? |
Hi Julian, Well, the server cycles overnight, and now it works with no error! Very mysterious. The very long stack trace appears below. The file I'm trying to read is about 170MB, which the code was able to handle before without trouble. The last error refereces spreadsheetcfml\javaLoader\JavaLoader.cfc, on line 563. Also...I was totally wrong about the CF version! Sorry about that. Here's the real info: Server Product | ColdFusion (2021 Release)
|
Oh, and as far as the code I'm executing, it's super vanilla. Here's the operative snippet:
When the error occurred, it happened immediately -- like no delay whatsoever, so there was zero processing. CF couldn't find the class and it just stopped cold right away. |
Sounds like something odd going on with JavaLoader, but I'm afraid I've no idea what exactly. Just to be sure, I re-ran the test suite with the latest update of CF21 (update 17, i.e. 2021,0,17,330334) and there were no problems. If you are on CF21 update 10, then perhaps applying the latest update might make a difference? But then again I've not seen this error on previous releases. Sounds like it could just be some specific condition that hopefully has gone now you've restarted. |
On one of my boxes, I'm suddenly getting this error:
"The requested class 'org.apache.commons.csv.CSVFormat' could not be found in the loaded jars/directories."
Running CF 2018 Update 10. It's all been working fine for a month. I have all the necessary directories.
There's a file that's being used:
..\spreadsheetcfml\javaLoader\lib\classloader-20120103162851.jar
The text was updated successfully, but these errors were encountered: