Could not find or load main class org.dspace.app.launcher.ScriptLauncher

138 views
Skip to first unread message

Raúl Fernández

unread,
Mar 16, 2024, 8:48:04 PM3/16/24
to DSpace Technical Support
Hello all,


However, I have this isue running the command "dspace database info":

Using DSpace installation in: C:\DSpace-dspace-7.6.1\dspace
Error: Could not find or load main class org.dspace.app.launcher.ScriptLauncher
Caused by: java.lang.ClassNotFoundException: org.dspace.app.launcher.ScriptLauncher

Any suggestion or step where I could investigate would be appreciated.

Best regards.


DSpace Technical Support

unread,
Mar 28, 2024, 5:43:44 PM3/28/24
to DSpace Technical Support
Hi,

That "ScriptLauncher" class is included in the "dspace-api-[version].jar", which should be installed in your [dspace]/lib/ directory.   The error seems to be saying that file is either missing or incorrect.  You may want to double check that all the upgrade steps have succeeded, especially the "ant update" step which installs/updates this JAR into that directory.

Tim

Reply all
Reply to author
Forward
0 new messages