我尝试生成 JavaDoc,但每次遇到这些错误,我都不知道如何解决问题。
error: the unnamed module reads package com.mongodb from both org.mongodb.driver.core and mongo.java.driver
error: module org.mongodb.driver.core reads package com.mongodb.internal.validator from both mongo.java.driver and org.mongodb.driver.core
error: module org.mongodb.driver.core reads package com.mongodb.internal.thread from both mongo.java.driver and org.mongodb.driver.core
error: module org.mongodb.driver.core reads package com.mongodb.internal.session from both mongo.java.driver and org.mongodb.driver.core
error: module org.mongodb.driver.core reads package com.mongodb.internal from both mongo.java.driver and org.mongodb.driver.core
error: module org.mongodb.driver.core reads package com.mongodb.internal.operation from both mongo.java.driver and org.mongodb.driver.core
error: module org.mongodb.driver.core reads package com.mongodb.internal.event from both mongo.java.driver and org.mongodb.driver.core
error: module org.mongodb.driver.core reads package com.mongodb.internal.dns from both mongo.java.driver and org.mongodb.driver.core
error: module org.mongodb.driver.core reads package com.mongodb.internal.connection.tlschannel.util from both mongo.java.driver and org.mongodb.driver.core
error: module org.mongodb.driver.core reads package com.mongodb.internal.connection.tlschannel.impl from both mongo.java.driver and org.mongodb.driver.core
error: module org.mongodb.driver.core reads package com.mongodb.internal.connection.tlschannel.async from both mongo.java.driver and org.mongodb.driver.core
error: module org.mongodb.driver.core reads package com.mongodb.internal.connection.tlschannel from both mongo.java.driver and org.mongodb.driver.core
error: module org.mongodb.driver.core reads package com.mongodb.internal.connection from both mongo.java.driver and org.mongodb.driver.core
error: module org.mongodb.driver.core reads package com.mongodb.internal.client.model from both mongo.java.driver and org.mongodb.driver.core
error: module org.mongodb.driver.core reads package com.mongodb.internal.capi from both mongo.java.driver and org.mongodb.driver.core
error: module org.mongodb.driver.core reads package com.mongodb.internal.build from both mongo.java.driver and org.mongodb.driver.core
error: module org.mongodb.driver.core reads package com.mongodb.internal.binding from both mongo.java.driver and org.mongodb.driver.core
error: module org.mongodb.driver.core reads package com.mongodb.internal.authentication from both mongo.java.driver and org.mongodb.driver.core
error: module org.mongodb.driver.core reads package com.mongodb.internal.async from both mongo.java.driver and org.mongodb.driver.core
error: module org.mongodb.driver.core reads package com.mongodb.event from both mongo.java.driver and org.mongodb.driver.core
error: module org.mongodb.driver.core reads package com.mongodb.connection from both mongo.java.driver and org.mongodb.driver.core
error: module org.mongodb.driver.core reads package com.mongodb.connection.netty from both mongo.java.driver and org.mongodb.driver.core
error: module org.mongodb.driver.core reads package com.mongodb.client.result from both mongo.java.driver and org.mongodb.driver.core
error: module org.mongodb.driver.core reads package com.mongodb.client.model.vault from both mongo.java.driver and org.mongodb.driver.core
error: module org.mongodb.driver.core reads package com.mongodb.client.model from both mongo.java.driver and org.mongodb.driver.core
100 errors
有人知道如何解决这个问题吗?我也尝试在此处包含 JDK 和库路径,但没有任何帮助。