我正在使用NetBeans ID 8.0.1生成javadoc,但每当我尝试创建javadoc时会发生以下错误:
Constructing Javadoc information...
1 error
D:\EFConnect\libs\activemq-all-5.9.1.jar(org/apache/activemq/ActiveMQConnection.java):107: error: cannot access Logger
import org.slf4j.Logger;
^
bad source file: D:\EFConnect\libs\activemq-all-5.9.1.jar(org/slf4j/Logger.java)
file does not contain class org.slf4j.Logger
Please remove or make sure it appears in the correct subdirectory of the sourcepath.
D:\EFConnect\nbproject\build-impl.xml:1208: Javadoc returned 1
BUILD FAILED (total time: 1 second)
我的项目工作正常,错误中提到的类也存在于它们应该存在的位置。