Hi Fatih,

That error is basically saying that (at least part of) "jetty-server" is 
missing, when that's a core dependency in the main DSpace 7 POM:
https://github.com/DSpace/DSpace/blob/main/pom.xml#L1392-L1396

So, this implies to me that your build/install is somehow not valid.  I'm not 
sure why that is...maybe you have an old version of that "jetty-server" hanging 
around?  Maybe you've somehow customized this POM?

At the very least, you may want to try a rebuild using "mvn -U clean package" 
(-U will tell maven to try to update all your dependencies) and then redeploy 
via "ant update".

Hopefully, that'll help fix it.  If not, you may want to look closely at your 
upgrade and see if somehow you have old versions of JARs (from DSpace 6) in 
your DSpace 7 installation (if so, you should remove them and update everything 
to what DSpace 7 expects).

Tim
________________________________
From: [email protected] <[email protected]> on behalf of 
Fatih Güneş <[email protected]>
Sent: Saturday, August 20, 2022 1:13 AM
To: DSpace Technical Support <[email protected]>
Subject: Re: [dspace-tech] Handle-server cannot start

Dear Tim,
This is an upgraded instance from 6.x to 7.3
We have OpenJDK 11.0.16 and Maven 3.6.3. These seems compliant with 
prerequisites.
The log output in my previous mail is from handle-server.log. In standard log 
files I see no errors.
How can I dig more to find out what is missing?

On Friday, 19 August 2022 at 17:16:14 UTC+3 Tim Donohue wrote:
Hi Fatih,

You haven't given us enough information to help.  What version of DSpace is 
this?  Are there any other errors in your DSpace logs?

Based on what you've provided, my best guess is you may have had a build or 
install error which resulted in this.  Missing classes (NoClassDefFoundError) 
tend to result from a build problem, or maybe an upgrade problem... it's 
essentially saying that a class which DSpace depends on is missing from your 
DSpace installation.  You also should verify your basic prerequisites are 
correct...e.g. that you are running a supported version of Java & Maven.

Good luck and let us know on this list if you find any more clues or error 
messages.

Tim
________________________________
From: [email protected] <[email protected]> on behalf of Fatih 
Güneş <[email protected]>
Sent: Friday, August 19, 2022 4:48 AM
To: DSpace Technical Support <[email protected]>
Subject: [dspace-tech] Handle-server cannot start

Hi, when I start handle-server I get the error below. Any idea is appreciated.

Exception in thread "main" java.lang.NoClassDefFoundError: 
org/eclipse/jetty/servlet/ServletContextHandler
    at net.handle.server.Main.configureDefaultRootWebApp(Main.java:373)
    at net.handle.server.Main.initEmbeddedJetty(Main.java:348)
    at net.handle.server.Main.initialize(Main.java:273)
    at net.handle.server.Main.main(Main.java:122)
Caused by: java.lang.ClassNotFoundException: 
org.eclipse.jetty.servlet.ServletContextHandler
    at 
java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
    at 
java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
    ... 4 more

--
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/1351d5b9-cb03-40ba-a414-b47e03786f5cn%40googlegroups.com<https://groups.google.com/d/msgid/dspace-tech/1351d5b9-cb03-40ba-a414-b47e03786f5cn%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/61b7f689-1a1b-4f64-b1ef-a96d21fbe558n%40googlegroups.com<https://groups.google.com/d/msgid/dspace-tech/61b7f689-1a1b-4f64-b1ef-a96d21fbe558n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/PH0PR22MB3274E5A80AF6C6CBF6D1ACF3ED719%40PH0PR22MB3274.namprd22.prod.outlook.com.

Reply via email to