[ https://issues.apache.org/jira/browse/MJAVADOC-603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17865811#comment-17865811 ]
ASF GitHub Bot commented on MJAVADOC-603: ----------------------------------------- michael-o opened a new pull request, #303: URL: https://github.com/apache/maven-javadoc-plugin/pull/303 …xception: java.sql.Connection This closes #303 Following this checklist to help us incorporate your contribution quickly and easily: - [ ] Make sure there is a [JIRA issue](https://issues.apache.org/jira/browse/MJAVADOC) filed for the change (usually before you start working on it). Trivial changes like typos do not require a JIRA issue. Your pull request should address just this issue, without pulling in other changes. - [ ] Each commit in the pull request should have a meaningful subject line and body. - [ ] Format the pull request title like `[MJAVADOC-XXX] - Fixes bug in ApproximateQuantiles`, where you replace `MJAVADOC-XXX` with the appropriate JIRA issue. Best practice is to use the JIRA issue title in the pull request title and in the first line of the commit message. - [ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [ ] Run `mvn clean verify -Prun-its` to make sure basic checks pass. A more thorough check will be performed on your pull request automatically. If your pull request is about ~20 lines of code you don't need to sign an [Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf) if you are unsure please ask on the developers list. To make clear that you license your contribution under the [Apache License Version 2.0, January 2004](http://www.apache.org/licenses/LICENSE-2.0) you have to acknowledge this by using the following check-box. - [ ] I hereby declare this contribution to be licensed under the [Apache License Version 2.0, January 2004](http://www.apache.org/licenses/LICENSE-2.0) - [ ] In any other case, please file an [Apache Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf). > javadoc:fix failure on JDK10: java.lang.ClassNotFoundException: > java.sql.Connection > ----------------------------------------------------------------------------------- > > Key: MJAVADOC-603 > URL: https://issues.apache.org/jira/browse/MJAVADOC-603 > Project: Maven Javadoc Plugin > Issue Type: Bug > Components: fix > Affects Versions: 3.1.0 > Environment: java version "10.0.2" 2018-07-17 > Java(TM) SE Runtime Environment 18.3 (build 10.0.2+13) > Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.2+13, mixed mode) > Reporter: Graham Leggett > Priority: Major > > When trying to run javadoc:fix on the jdk as follows: > {noformat} > java version "10.0.2" 2018-07-17 > Java(TM) SE Runtime Environment 18.3 (build 10.0.2+13) > Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.2+13, mixed mode) > {noformat} > The javadoc plugin fails as follows: > {noformat} > Caused by: org.apache.maven.plugin.PluginExecutionException: Execution > default-cli of goal org.apache.maven.plugins:maven-javadoc-plugin:3.1.0:fix > failed: A required class was missing while executing > org.apache.maven.plugins:maven-javadoc-plugin:3.1.0:fix: java/sql/Connection > {noformat} > Last exception is as follows: > {noformat} > Caused by: java.lang.ClassNotFoundException: java.sql.Connection > at java.net.URLClassLoader.findClass (URLClassLoader.java:466) > at java.lang.ClassLoader.loadClass (ClassLoader.java:566) > at java.lang.ClassLoader.loadClass (ClassLoader.java:499) > at java.lang.Class.getDeclaredMethods0 (Native Method) > at java.lang.Class.privateGetDeclaredMethods (Class.java:3119) > at java.lang.Class.getDeclaredMethods (Class.java:2268) > at org.apache.maven.plugins.javadoc.AbstractFixJavadocMojo.isInherited > (AbstractFixJavadocMojo.java:2802) > at org.apache.maven.plugins.javadoc.AbstractFixJavadocMojo.isInherited > (AbstractFixJavadocMojo.java:2775) > at > org.apache.maven.plugins.javadoc.AbstractFixJavadocMojo.updateJavadocComment > (AbstractFixJavadocMojo.java:1661) > at > org.apache.maven.plugins.javadoc.AbstractFixJavadocMojo.updateEntityComment > (AbstractFixJavadocMojo.java:1621) > at > org.apache.maven.plugins.javadoc.AbstractFixJavadocMojo.fixMethodComment > (AbstractFixJavadocMojo.java:1475) > at org.apache.maven.plugins.javadoc.AbstractFixJavadocMojo.processFix > (AbstractFixJavadocMojo.java:1066) > at org.apache.maven.plugins.javadoc.AbstractFixJavadocMojo.execute > (AbstractFixJavadocMojo.java:472) > at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo > (DefaultBuildPluginManager.java:137) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:210) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:156) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:148) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:117) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:81) > at > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build > (SingleThreadedBuilder.java:56) > at org.apache.maven.lifecycle.internal.LifecycleStarter.execute > (LifecycleStarter.java:128) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) > at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) > at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956) > at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288) > at org.apache.maven.cli.MavenCli.main (MavenCli.java:192) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke > (NativeMethodAccessorImpl.java:62) > at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke > (DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke (Method.java:564) > at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced > (Launcher.java:289) > at org.codehaus.plexus.classworlds.launcher.Launcher.launch > (Launcher.java:229) > at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode > (Launcher.java:415) > at org.codehaus.plexus.classworlds.launcher.Launcher.main > (Launcher.java:356) > [ERROR] > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException > {noformat} -- This message was sent by Atlassian Jira (v8.20.10#820010)