Eclipse 一直出错

Eclipse 一直出错

我正在尝试使用 Ubuntu 16.04 将 Neuroph 库链接到 Eclipse。我实际上可以链接库,但当我运行程序时出现以下错误:

Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory 
      at org.neuroph.core.NeuralNetwork.(NeuralNetwork.java:106) 
      at org.neuroph.nnet.Perceptron.(Perceptron.java:55) 
      at testneur.main.main(main.java:14) Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory 
      at java.net.URLClassLoader.findClass(URLClassLoader.java:381) 
      at java.lang.ClassLoader.loadClass(ClassLoader.java:424) 
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) 
      at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 3 more

我的代码非常简单:

神经网络神经网络=新感知器(2,1);

当我将鼠标放在感知器类上时,我收到以下通知:

This element neither has neither attached source nor attached Javadoc and hence no Javadoc could be found.

相关内容