If I want to start (mendelson_as2_start.sh) a new mendelson installation (1.1b63) under linux, the following error appears:
java.lang.NoClassDefFoundError: org/eclipse/jetty/util/resource/Resource
at de.mendelson.comm.as2.server.JettyStarter.startWebserver(JettyStarter.java:107)
at de.mendelson.comm.as2.server.AS2Server.startHTTPServer(AS2Server.java:579)
at de.mendelson.comm.as2.server.AS2Server.start(AS2Server.java:306)
at de.mendelson.comm.as2.server.AS2Server.(AS2Server.java:192)
at de.mendelson.comm.as2.AS2.main(AS2.java:133)
Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.util.resource.Resource
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)
Comments
Solved: In mendelson_as2…
Submitted by Alex on Thu, 08/03/2023 - 11:18
Solved: In mendelson_as2_start.sh there is addToClasspath "jetty9/lib". That should be "jetty10/lib".