SWRLAPI 2.0.8

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

SWRLAPI 2.0.8

sguthery
jdk-13.0.1 doesn't like SWRLAPI 2.0.8 (see below).  Is the recommendation to get Maven to use jdk1.8.x_yyy somehow?

Thanks in advance for any guidance.

Cheers, Scott

C:\Users\s_gut\Desktop\Protege\swrlapi>cd swrlapi-parent

C:\Users\s_gut\Desktop\Protege\swrlapi\swrlapi-parent>mvn clean install
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< edu.stanford.swrl:swrlapi-parent >------------------
[INFO] Building SWRLAPI Parent POM 2.0.8
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ swrlapi-parent ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ swrlapi-parent ---
[INFO]
[INFO] --- maven-site-plugin:3.8.2:attach-descriptor (attach-descriptor) @ swrlapi-parent ---
[INFO] No site descriptor found: nothing to attach.
[INFO]
[INFO] --- maven-install-plugin:3.0.0-M1:install (default-install) @ swrlapi-parent ---
[INFO] Installing C:\Users\s_gut\Desktop\Protege\swrlapi\swrlapi-parent\pom.xml to C:\Users\s_gut\.m2\repository\edu\stanford\swrl\swrlapi-parent\2.0.8\swrlapi-parent-2.0.8.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  2.351 s
[INFO] Finished at: 2019-12-18T09:29:40-05:00
[INFO] ------------------------------------------------------------------------

C:\Users\s_gut\Desktop\Protege\swrlapi\swrlapi-parent>cd ../swrlapi-project

C:\Users\s_gut\Desktop\Protege\swrlapi\swrlapi-project>mvn clean install
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] SWRLAPI                                                         [bundle]
[INFO] Drools-based SWRL Rule Engine                                   [bundle]
[INFO] SWRLTab Plugin                                                  [bundle]
[INFO] SWRLAPI Example                                                    [jar]
[INFO] Standalone SWRLTab                                                 [jar]
[INFO] SWRLAPI Integration Tests                                          [jar]
[INFO] SWRLAPI Project Builder                                            [pom]
[INFO]
[INFO] ---------------------< edu.stanford.swrl:swrlapi >----------------------
[INFO] Building SWRLAPI 2.0.8                                             [1/7]
[INFO] -------------------------------[ bundle ]-------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ swrlapi ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ swrlapi ---
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ swrlapi ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 13 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ swrlapi ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 277 source files to C:\Users\s_gut\Desktop\Protege\swrlapi\swrlapi\target\classes
An exception has occurred in the compiler (13.0.1). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com) for duplicates. Include your program, the following diagnostic, and the parameters passed to the Java compiler in your report. Thank you.
java.lang.AssertionError: Could not find exception index for type annotation @org.checkerframework.checker.nullness.qual.NonNull on exception parameter
        at jdk.compiler/com.sun.tools.javac.util.Assert.error(Assert.java:162)
        at jdk.compiler/com.sun.tools.javac.jvm.Code.fillExceptionParameterPositions(Code.java:2139)
        at jdk.compiler/com.sun.tools.javac.jvm.Gen.genMethod(Gen.java:1005)
        at jdk.compiler/com.sun.tools.javac.jvm.Gen.visitMethodDef(Gen.java:913)
        at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:876)
        at jdk.compiler/com.sun.tools.javac.jvm.Gen.genDef(Gen.java:597)
        at jdk.compiler/com.sun.tools.javac.jvm.Gen.genClass(Gen.java:2391)
        at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.genCode(JavaCompiler.java:756)
        at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.generate(JavaCompiler.java:1640)
        at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.generate(JavaCompiler.java:1608)
        at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:972)
        at jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.lambda$doCall$0(JavacTaskImpl.java:104)
        at jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.handleExceptions(JavacTaskImpl.java:147)
        at jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:100)
        at jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:94)
        at org.codehaus.plexus.compiler.javac.JavaxToolsCompiler.compileInProcess(JavaxToolsCompiler.java:126)
        at org.codehaus.plexus.compiler.javac.JavacCompiler.performCompile(JavacCompiler.java:174)
        at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:1129)
        at org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:188)
        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:957)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:289)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:193)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:567)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] An unknown compilation problem occurred
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] SWRLAPI 2.0.8 ...................................... FAILURE [  6.873 s]
[INFO] Drools-based SWRL Rule Engine 2.0.8 ................ SKIPPED
[INFO] SWRLTab Plugin 2.0.8 ............................... SKIPPED
[INFO] SWRLAPI Example 2.0.8 .............................. SKIPPED
[INFO] Standalone SWRLTab 2.0.8 ........................... SKIPPED
[INFO] SWRLAPI Integration Tests 2.0.6 .................... SKIPPED
[INFO] SWRLAPI Project Builder 2.0.8 ...................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  8.052 s
[INFO] Finished at: 2019-12-18T09:30:19-05:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project swrlapi: Compilation failure
[ERROR] An unknown compilation problem occurred
[ERROR]
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[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/MojoFailureException

C:\Users\s_gut\Desktop\Protege\swrlapi\swrlapi-project>





_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev
Reply | Threaded
Open this post in threaded view
|

Re: SWRLAPI 2.0.8

Lorenz Buehmann

Protege 5.5.0 requires Java 8 as far as I know.

On 18.12.19 15:37, Scott Guthery wrote:
jdk-13.0.1 doesn't like SWRLAPI 2.0.8 (see below).  Is the recommendation to get Maven to use jdk1.8.x_yyy somehow?

Thanks in advance for any guidance.

Cheers, Scott

C:\Users\s_gut\Desktop\Protege\swrlapi>cd swrlapi-parent

C:\Users\s_gut\Desktop\Protege\swrlapi\swrlapi-parent>mvn clean install
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< edu.stanford.swrl:swrlapi-parent >------------------
[INFO] Building SWRLAPI Parent POM 2.0.8
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ swrlapi-parent ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ swrlapi-parent ---
[INFO]
[INFO] --- maven-site-plugin:3.8.2:attach-descriptor (attach-descriptor) @ swrlapi-parent ---
[INFO] No site descriptor found: nothing to attach.
[INFO]
[INFO] --- maven-install-plugin:3.0.0-M1:install (default-install) @ swrlapi-parent ---
[INFO] Installing C:\Users\s_gut\Desktop\Protege\swrlapi\swrlapi-parent\pom.xml to C:\Users\s_gut\.m2\repository\edu\stanford\swrl\swrlapi-parent\2.0.8\swrlapi-parent-2.0.8.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  2.351 s
[INFO] Finished at: 2019-12-18T09:29:40-05:00
[INFO] ------------------------------------------------------------------------

C:\Users\s_gut\Desktop\Protege\swrlapi\swrlapi-parent>cd ../swrlapi-project

C:\Users\s_gut\Desktop\Protege\swrlapi\swrlapi-project>mvn clean install
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] SWRLAPI                                                         [bundle]
[INFO] Drools-based SWRL Rule Engine                                   [bundle]
[INFO] SWRLTab Plugin                                                  [bundle]
[INFO] SWRLAPI Example                                                    [jar]
[INFO] Standalone SWRLTab                                                 [jar]
[INFO] SWRLAPI Integration Tests                                          [jar]
[INFO] SWRLAPI Project Builder                                            [pom]
[INFO]
[INFO] ---------------------< edu.stanford.swrl:swrlapi >----------------------
[INFO] Building SWRLAPI 2.0.8                                             [1/7]
[INFO] -------------------------------[ bundle ]-------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ swrlapi ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ swrlapi ---
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ swrlapi ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 13 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ swrlapi ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 277 source files to C:\Users\s_gut\Desktop\Protege\swrlapi\swrlapi\target\classes
An exception has occurred in the compiler (13.0.1). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com) for duplicates. Include your program, the following diagnostic, and the parameters passed to the Java compiler in your report. Thank you.
java.lang.AssertionError: Could not find exception index for type annotation @org.checkerframework.checker.nullness.qual.NonNull on exception parameter
        at jdk.compiler/com.sun.tools.javac.util.Assert.error(Assert.java:162)
        at jdk.compiler/com.sun.tools.javac.jvm.Code.fillExceptionParameterPositions(Code.java:2139)
        at jdk.compiler/com.sun.tools.javac.jvm.Gen.genMethod(Gen.java:1005)
        at jdk.compiler/com.sun.tools.javac.jvm.Gen.visitMethodDef(Gen.java:913)
        at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:876)
        at jdk.compiler/com.sun.tools.javac.jvm.Gen.genDef(Gen.java:597)
        at jdk.compiler/com.sun.tools.javac.jvm.Gen.genClass(Gen.java:2391)
        at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.genCode(JavaCompiler.java:756)
        at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.generate(JavaCompiler.java:1640)
        at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.generate(JavaCompiler.java:1608)
        at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:972)
        at jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.lambda$doCall$0(JavacTaskImpl.java:104)
        at jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.handleExceptions(JavacTaskImpl.java:147)
        at jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:100)
        at jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:94)
        at org.codehaus.plexus.compiler.javac.JavaxToolsCompiler.compileInProcess(JavaxToolsCompiler.java:126)
        at org.codehaus.plexus.compiler.javac.JavacCompiler.performCompile(JavacCompiler.java:174)
        at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:1129)
        at org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:188)
        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:957)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:289)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:193)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:567)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] An unknown compilation problem occurred
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] SWRLAPI 2.0.8 ...................................... FAILURE [  6.873 s]
[INFO] Drools-based SWRL Rule Engine 2.0.8 ................ SKIPPED
[INFO] SWRLTab Plugin 2.0.8 ............................... SKIPPED
[INFO] SWRLAPI Example 2.0.8 .............................. SKIPPED
[INFO] Standalone SWRLTab 2.0.8 ........................... SKIPPED
[INFO] SWRLAPI Integration Tests 2.0.6 .................... SKIPPED
[INFO] SWRLAPI Project Builder 2.0.8 ...................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  8.052 s
[INFO] Finished at: 2019-12-18T09:30:19-05:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project swrlapi: Compilation failure
[ERROR] An unknown compilation problem occurred
[ERROR]
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[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/MojoFailureException

C:\Users\s_gut\Desktop\Protege\swrlapi\swrlapi-project>





_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev

_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev
Reply | Threaded
Open this post in threaded view
|

Re: SWRLAPI 2.0.8

sguthery
Normally this requirement can be safely interpreted as "Java 8 or later".  But then normally programming languages take care to be backward compatible for obvious reasons.

Cheers, Scott


On Thu, Dec 19, 2019 at 2:21 AM Lorenz Buehmann <[hidden email]> wrote:

Protege 5.5.0 requires Java 8 as far as I know.

On 18.12.19 15:37, Scott Guthery wrote:
jdk-13.0.1 doesn't like SWRLAPI 2.0.8 (see below).  Is the recommendation to get Maven to use jdk1.8.x_yyy somehow?

Thanks in advance for any guidance.

Cheers, Scott

C:\Users\s_gut\Desktop\Protege\swrlapi>cd swrlapi-parent

C:\Users\s_gut\Desktop\Protege\swrlapi\swrlapi-parent>mvn clean install
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< edu.stanford.swrl:swrlapi-parent >------------------
[INFO] Building SWRLAPI Parent POM 2.0.8
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ swrlapi-parent ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ swrlapi-parent ---
[INFO]
[INFO] --- maven-site-plugin:3.8.2:attach-descriptor (attach-descriptor) @ swrlapi-parent ---
[INFO] No site descriptor found: nothing to attach.
[INFO]
[INFO] --- maven-install-plugin:3.0.0-M1:install (default-install) @ swrlapi-parent ---
[INFO] Installing C:\Users\s_gut\Desktop\Protege\swrlapi\swrlapi-parent\pom.xml to C:\Users\s_gut\.m2\repository\edu\stanford\swrl\swrlapi-parent\2.0.8\swrlapi-parent-2.0.8.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  2.351 s
[INFO] Finished at: 2019-12-18T09:29:40-05:00
[INFO] ------------------------------------------------------------------------

C:\Users\s_gut\Desktop\Protege\swrlapi\swrlapi-parent>cd ../swrlapi-project

C:\Users\s_gut\Desktop\Protege\swrlapi\swrlapi-project>mvn clean install
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] SWRLAPI                                                         [bundle]
[INFO] Drools-based SWRL Rule Engine                                   [bundle]
[INFO] SWRLTab Plugin                                                  [bundle]
[INFO] SWRLAPI Example                                                    [jar]
[INFO] Standalone SWRLTab                                                 [jar]
[INFO] SWRLAPI Integration Tests                                          [jar]
[INFO] SWRLAPI Project Builder                                            [pom]
[INFO]
[INFO] ---------------------< edu.stanford.swrl:swrlapi >----------------------
[INFO] Building SWRLAPI 2.0.8                                             [1/7]
[INFO] -------------------------------[ bundle ]-------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ swrlapi ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ swrlapi ---
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ swrlapi ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 13 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ swrlapi ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 277 source files to C:\Users\s_gut\Desktop\Protege\swrlapi\swrlapi\target\classes
An exception has occurred in the compiler (13.0.1). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com) for duplicates. Include your program, the following diagnostic, and the parameters passed to the Java compiler in your report. Thank you.
java.lang.AssertionError: Could not find exception index for type annotation @org.checkerframework.checker.nullness.qual.NonNull on exception parameter
        at jdk.compiler/com.sun.tools.javac.util.Assert.error(Assert.java:162)
        at jdk.compiler/com.sun.tools.javac.jvm.Code.fillExceptionParameterPositions(Code.java:2139)
        at jdk.compiler/com.sun.tools.javac.jvm.Gen.genMethod(Gen.java:1005)
        at jdk.compiler/com.sun.tools.javac.jvm.Gen.visitMethodDef(Gen.java:913)
        at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:876)
        at jdk.compiler/com.sun.tools.javac.jvm.Gen.genDef(Gen.java:597)
        at jdk.compiler/com.sun.tools.javac.jvm.Gen.genClass(Gen.java:2391)
        at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.genCode(JavaCompiler.java:756)
        at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.generate(JavaCompiler.java:1640)
        at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.generate(JavaCompiler.java:1608)
        at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:972)
        at jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.lambda$doCall$0(JavacTaskImpl.java:104)
        at jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.handleExceptions(JavacTaskImpl.java:147)
        at jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:100)
        at jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:94)
        at org.codehaus.plexus.compiler.javac.JavaxToolsCompiler.compileInProcess(JavaxToolsCompiler.java:126)
        at org.codehaus.plexus.compiler.javac.JavacCompiler.performCompile(JavacCompiler.java:174)
        at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:1129)
        at org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:188)
        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:957)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:289)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:193)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:567)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] An unknown compilation problem occurred
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] SWRLAPI 2.0.8 ...................................... FAILURE [  6.873 s]
[INFO] Drools-based SWRL Rule Engine 2.0.8 ................ SKIPPED
[INFO] SWRLTab Plugin 2.0.8 ............................... SKIPPED
[INFO] SWRLAPI Example 2.0.8 .............................. SKIPPED
[INFO] Standalone SWRLTab 2.0.8 ........................... SKIPPED
[INFO] SWRLAPI Integration Tests 2.0.6 .................... SKIPPED
[INFO] SWRLAPI Project Builder 2.0.8 ...................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  8.052 s
[INFO] Finished at: 2019-12-18T09:30:19-05:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project swrlapi: Compilation failure
[ERROR] An unknown compilation problem occurred
[ERROR]
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[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/MojoFailureException

C:\Users\s_gut\Desktop\Protege\swrlapi\swrlapi-project>





_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev
_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev

_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev
Reply | Threaded
Open this post in threaded view
|

Re: SWRLAPI 2.0.8

Martin O'Connor-2

Depending on the code base, migrating from Java 8 to later versions could actually be a significant amount of work. (For example, see https://blog.codefx.org/java/java-9-migration-guide/.)

The SWRLAPI has been updated but, since Protege is still using Java 8, I have kept the version of Java at 8 to maintain plugin compatibility. 

I will report the compiler bug for 13.0.1. In the mean time I would 8 or 12 when compiling the SWRLAPI and related components. 

Martin

On Dec 20, 2019, at 4:03 AM, Scott Guthery <[hidden email]> wrote:

Normally this requirement can be safely interpreted as "Java 8 or later".  But then normally programming languages take care to be backward compatible for obvious reasons.

Cheers, Scott


On Thu, Dec 19, 2019 at 2:21 AM Lorenz Buehmann <[hidden email]> wrote:

Protege 5.5.0 requires Java 8 as far as I know.

On 18.12.19 15:37, Scott Guthery wrote:
jdk-13.0.1 doesn't like SWRLAPI 2.0.8 (see below).  Is the recommendation to get Maven to use jdk1.8.x_yyy somehow?

Thanks in advance for any guidance.

Cheers, Scott

C:\Users\s_gut\Desktop\Protege\swrlapi>cd swrlapi-parent

C:\Users\s_gut\Desktop\Protege\swrlapi\swrlapi-parent>mvn clean install
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< edu.stanford.swrl:swrlapi-parent >------------------
[INFO] Building SWRLAPI Parent POM 2.0.8
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ swrlapi-parent ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ swrlapi-parent ---
[INFO]
[INFO] --- maven-site-plugin:3.8.2:attach-descriptor (attach-descriptor) @ swrlapi-parent ---
[INFO] No site descriptor found: nothing to attach.
[INFO]
[INFO] --- maven-install-plugin:3.0.0-M1:install (default-install) @ swrlapi-parent ---
[INFO] Installing C:\Users\s_gut\Desktop\Protege\swrlapi\swrlapi-parent\pom.xml to C:\Users\s_gut\.m2\repository\edu\stanford\swrl\swrlapi-parent\2.0.8\swrlapi-parent-2.0.8.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  2.351 s
[INFO] Finished at: 2019-12-18T09:29:40-05:00
[INFO] ------------------------------------------------------------------------

C:\Users\s_gut\Desktop\Protege\swrlapi\swrlapi-parent>cd ../swrlapi-project

C:\Users\s_gut\Desktop\Protege\swrlapi\swrlapi-project>mvn clean install
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] SWRLAPI                                                         [bundle]
[INFO] Drools-based SWRL Rule Engine                                   [bundle]
[INFO] SWRLTab Plugin                                                  [bundle]
[INFO] SWRLAPI Example                                                    [jar]
[INFO] Standalone SWRLTab                                                 [jar]
[INFO] SWRLAPI Integration Tests                                          [jar]
[INFO] SWRLAPI Project Builder                                            [pom]
[INFO]
[INFO] ---------------------< edu.stanford.swrl:swrlapi >----------------------
[INFO] Building SWRLAPI 2.0.8                                             [1/7]
[INFO] -------------------------------[ bundle ]-------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ swrlapi ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ swrlapi ---
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ swrlapi ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 13 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ swrlapi ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 277 source files to C:\Users\s_gut\Desktop\Protege\swrlapi\swrlapi\target\classes
An exception has occurred in the compiler (13.0.1). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com) for duplicates. Include your program, the following diagnostic, and the parameters passed to the Java compiler in your report. Thank you.
java.lang.AssertionError: Could not find exception index for type annotation @org.checkerframework.checker.nullness.qual.NonNull on exception parameter
        at jdk.compiler/com.sun.tools.javac.util.Assert.error(Assert.java:162)
        at jdk.compiler/com.sun.tools.javac.jvm.Code.fillExceptionParameterPositions(Code.java:2139)
        at jdk.compiler/com.sun.tools.javac.jvm.Gen.genMethod(Gen.java:1005)
        at jdk.compiler/com.sun.tools.javac.jvm.Gen.visitMethodDef(Gen.java:913)
        at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:876)
        at jdk.compiler/com.sun.tools.javac.jvm.Gen.genDef(Gen.java:597)
        at jdk.compiler/com.sun.tools.javac.jvm.Gen.genClass(Gen.java:2391)
        at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.genCode(JavaCompiler.java:756)
        at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.generate(JavaCompiler.java:1640)
        at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.generate(JavaCompiler.java:1608)
        at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:972)
        at jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.lambda$doCall$0(JavacTaskImpl.java:104)
        at jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.handleExceptions(JavacTaskImpl.java:147)
        at jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:100)
        at jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:94)
        at org.codehaus.plexus.compiler.javac.JavaxToolsCompiler.compileInProcess(JavaxToolsCompiler.java:126)
        at org.codehaus.plexus.compiler.javac.JavacCompiler.performCompile(JavacCompiler.java:174)
        at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:1129)
        at org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:188)
        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:957)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:289)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:193)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:567)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] An unknown compilation problem occurred
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] SWRLAPI 2.0.8 ...................................... FAILURE [  6.873 s]
[INFO] Drools-based SWRL Rule Engine 2.0.8 ................ SKIPPED
[INFO] SWRLTab Plugin 2.0.8 ............................... SKIPPED
[INFO] SWRLAPI Example 2.0.8 .............................. SKIPPED
[INFO] Standalone SWRLTab 2.0.8 ........................... SKIPPED
[INFO] SWRLAPI Integration Tests 2.0.6 .................... SKIPPED
[INFO] SWRLAPI Project Builder 2.0.8 ...................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  8.052 s
[INFO] Finished at: 2019-12-18T09:30:19-05:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project swrlapi: Compilation failure
[ERROR] An unknown compilation problem occurred
[ERROR]
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[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/MojoFailureException

C:\Users\s_gut\Desktop\Protege\swrlapi\swrlapi-project>





_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev
_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev
_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev


_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev
Reply | Threaded
Open this post in threaded view
|

Re: SWRLAPI 2.0.8

Lorenz Buehmann
In reply to this post by sguthery


On 20.12.19 13:03, Scott Guthery wrote:
Normally this requirement can be safely interpreted as "Java 8 or later". 
Not really given that Java 11 removed, among others, the Java EE modules ...
But then normally programming languages take care to be backward compatible for obvious reasons.

Cheers, Scott


On Thu, Dec 19, 2019 at 2:21 AM Lorenz Buehmann <[hidden email]> wrote:

Protege 5.5.0 requires Java 8 as far as I know.

On 18.12.19 15:37, Scott Guthery wrote:
jdk-13.0.1 doesn't like SWRLAPI 2.0.8 (see below).  Is the recommendation to get Maven to use jdk1.8.x_yyy somehow?

Thanks in advance for any guidance.

Cheers, Scott

C:\Users\s_gut\Desktop\Protege\swrlapi>cd swrlapi-parent

C:\Users\s_gut\Desktop\Protege\swrlapi\swrlapi-parent>mvn clean install
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< edu.stanford.swrl:swrlapi-parent >------------------
[INFO] Building SWRLAPI Parent POM 2.0.8
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ swrlapi-parent ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ swrlapi-parent ---
[INFO]
[INFO] --- maven-site-plugin:3.8.2:attach-descriptor (attach-descriptor) @ swrlapi-parent ---
[INFO] No site descriptor found: nothing to attach.
[INFO]
[INFO] --- maven-install-plugin:3.0.0-M1:install (default-install) @ swrlapi-parent ---
[INFO] Installing C:\Users\s_gut\Desktop\Protege\swrlapi\swrlapi-parent\pom.xml to C:\Users\s_gut\.m2\repository\edu\stanford\swrl\swrlapi-parent\2.0.8\swrlapi-parent-2.0.8.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  2.351 s
[INFO] Finished at: 2019-12-18T09:29:40-05:00
[INFO] ------------------------------------------------------------------------

C:\Users\s_gut\Desktop\Protege\swrlapi\swrlapi-parent>cd ../swrlapi-project

C:\Users\s_gut\Desktop\Protege\swrlapi\swrlapi-project>mvn clean install
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] SWRLAPI                                                         [bundle]
[INFO] Drools-based SWRL Rule Engine                                   [bundle]
[INFO] SWRLTab Plugin                                                  [bundle]
[INFO] SWRLAPI Example                                                    [jar]
[INFO] Standalone SWRLTab                                                 [jar]
[INFO] SWRLAPI Integration Tests                                          [jar]
[INFO] SWRLAPI Project Builder                                            [pom]
[INFO]
[INFO] ---------------------< edu.stanford.swrl:swrlapi >----------------------
[INFO] Building SWRLAPI 2.0.8                                             [1/7]
[INFO] -------------------------------[ bundle ]-------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ swrlapi ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ swrlapi ---
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ swrlapi ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 13 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ swrlapi ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 277 source files to C:\Users\s_gut\Desktop\Protege\swrlapi\swrlapi\target\classes
An exception has occurred in the compiler (13.0.1). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com) for duplicates. Include your program, the following diagnostic, and the parameters passed to the Java compiler in your report. Thank you.
java.lang.AssertionError: Could not find exception index for type annotation @org.checkerframework.checker.nullness.qual.NonNull on exception parameter
        at jdk.compiler/com.sun.tools.javac.util.Assert.error(Assert.java:162)
        at jdk.compiler/com.sun.tools.javac.jvm.Code.fillExceptionParameterPositions(Code.java:2139)
        at jdk.compiler/com.sun.tools.javac.jvm.Gen.genMethod(Gen.java:1005)
        at jdk.compiler/com.sun.tools.javac.jvm.Gen.visitMethodDef(Gen.java:913)
        at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:876)
        at jdk.compiler/com.sun.tools.javac.jvm.Gen.genDef(Gen.java:597)
        at jdk.compiler/com.sun.tools.javac.jvm.Gen.genClass(Gen.java:2391)
        at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.genCode(JavaCompiler.java:756)
        at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.generate(JavaCompiler.java:1640)
        at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.generate(JavaCompiler.java:1608)
        at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:972)
        at jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.lambda$doCall$0(JavacTaskImpl.java:104)
        at jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.handleExceptions(JavacTaskImpl.java:147)
        at jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:100)
        at jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:94)
        at org.codehaus.plexus.compiler.javac.JavaxToolsCompiler.compileInProcess(JavaxToolsCompiler.java:126)
        at org.codehaus.plexus.compiler.javac.JavacCompiler.performCompile(JavacCompiler.java:174)
        at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:1129)
        at org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:188)
        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:957)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:289)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:193)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:567)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] An unknown compilation problem occurred
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] SWRLAPI 2.0.8 ...................................... FAILURE [  6.873 s]
[INFO] Drools-based SWRL Rule Engine 2.0.8 ................ SKIPPED
[INFO] SWRLTab Plugin 2.0.8 ............................... SKIPPED
[INFO] SWRLAPI Example 2.0.8 .............................. SKIPPED
[INFO] Standalone SWRLTab 2.0.8 ........................... SKIPPED
[INFO] SWRLAPI Integration Tests 2.0.6 .................... SKIPPED
[INFO] SWRLAPI Project Builder 2.0.8 ...................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  8.052 s
[INFO] Finished at: 2019-12-18T09:30:19-05:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project swrlapi: Compilation failure
[ERROR] An unknown compilation problem occurred
[ERROR]
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[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/MojoFailureException

C:\Users\s_gut\Desktop\Protege\swrlapi\swrlapi-project>





_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev
_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev

_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev

_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev