Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
more logging for strange "java.lang.NoClassDefFoundError: de/anomic/http/server/RequestHeader" error
orbiteree3820c9ccd9
diff --git a/source/de/anomic/http/server/HTTPDFileHandler.java b/source/de/anomic/http/server/HTTPDFileHandler.javaindex cf17c6beb..164df05ea 100644--- a/source/de/anomic/http/server/HTTPDFileHandler.java+++ b/source/de/anomic/http/server/HTTPDFileHandler.java@@ -1134,7 +1134,7 @@ public final class HTTPDFileHandler {}}- private static final Method rewriteMethod(final File classFile) {+ private static final Method rewriteMethod(final File classFile) throws InvocationTargetException {Method m = null;// now make a class out of the streamtry {@@ -1164,11 +1164,12 @@ public final class HTTPDFileHandler {}} catch (final ClassNotFoundException e) {- System.out.println("INTERNAL ERROR: class " + classFile + " is missing:" + e.getMessage());+ Log.logSevere("HTTPDFileHandler", "class " + classFile + " is missing:" + e.getMessage());+ throw new InvocationTargetException(e, "class " + classFile + " is missing:" + e.getMessage());} catch (final NoSuchMethodException e) {- System.out.println("INTERNAL ERROR: method respond not found in class " + classFile + ": " + e.getMessage());+ Log.logSevere("HTTPDFileHandler", "method 'respond' not found in class " + classFile + ": " + e.getMessage());+ throw new InvocationTargetException(e, "method 'respond' not found in class " + classFile + ": " + e.getMessage());}- //System.out.println("found method: " + m.toString());return m;}