mh, ok, that's a nice report, and now please tell us what you are aiming for? Can you extract it to a reproducible project at Github?
cheers Tibor17 On Fri, Oct 23, 2020 at 12:50 PM Raivo Rebane <[email protected]> wrote: > > > > -------- Forwarded Message -------- > Subject: I can cannot execute my SolrJ application > Date: Wed, 21 Oct 2020 09:55:01 +0300 > From: Raivo Rebane <[email protected]> > To: [email protected] > > > > Hello > > I can compile my project properliy; > > But problems arise when I execute it: > > Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) > Maven home: /home/hydra/workspace1/test/EMBEDDED > Java version: 11.0.8, vendor: Ubuntu, runtime: > /usr/lib/jvm/java-11-openjdk-amd64 > Default locale: en_US, platform encoding: UTF-8 > OS name: "linux", version: "5.4.0-51-generic", arch: "amd64", family: > "unix" > [DEBUG] Created new class realm maven.api > [DEBUG] Importing foreign packages into class realm maven.api > [DEBUG] Imported: javax.annotation.* < plexus.core > [DEBUG] Imported: javax.annotation.security.* < plexus.core > [DEBUG] Imported: javax.enterprise.inject.* < plexus.core > [DEBUG] Imported: javax.enterprise.util.* < plexus.core > [DEBUG] Imported: javax.inject.* < plexus.core > [DEBUG] Imported: org.apache.maven.* < plexus.core > [DEBUG] Imported: org.apache.maven.artifact < plexus.core > [DEBUG] Imported: org.apache.maven.classrealm < plexus.core > [DEBUG] Imported: org.apache.maven.cli < plexus.core > [DEBUG] Imported: org.apache.maven.configuration < plexus.core > [DEBUG] Imported: org.apache.maven.exception < plexus.core > [DEBUG] Imported: org.apache.maven.execution < plexus.core > [DEBUG] Imported: org.apache.maven.execution.scope < plexus.core > [DEBUG] Imported: org.apache.maven.lifecycle < plexus.core > [DEBUG] Imported: org.apache.maven.model < plexus.core > [DEBUG] Imported: org.apache.maven.monitor < plexus.core > [DEBUG] Imported: org.apache.maven.plugin < plexus.core > [DEBUG] Imported: org.apache.maven.profiles < plexus.core > [DEBUG] Imported: org.apache.maven.project < plexus.core > [DEBUG] Imported: org.apache.maven.reporting < plexus.core > [DEBUG] Imported: org.apache.maven.repository < plexus.core > [DEBUG] Imported: org.apache.maven.rtinfo < plexus.core > [DEBUG] Imported: org.apache.maven.settings < plexus.core > [DEBUG] Imported: org.apache.maven.toolchain < plexus.core > [DEBUG] Imported: org.apache.maven.usability < plexus.core > [DEBUG] Imported: org.apache.maven.wagon.* < plexus.core > [DEBUG] Imported: org.apache.maven.wagon.authentication < plexus.core > [DEBUG] Imported: org.apache.maven.wagon.authorization < plexus.core > [DEBUG] Imported: org.apache.maven.wagon.events < plexus.core > [DEBUG] Imported: org.apache.maven.wagon.observers < plexus.core > [DEBUG] Imported: org.apache.maven.wagon.proxy < plexus.core > [DEBUG] Imported: org.apache.maven.wagon.repository < plexus.core > [DEBUG] Imported: org.apache.maven.wagon.resource < plexus.core > [DEBUG] Imported: org.codehaus.classworlds < plexus.core > [DEBUG] Imported: org.codehaus.plexus.* < plexus.core > [DEBUG] Imported: org.codehaus.plexus.classworlds < plexus.core > [DEBUG] Imported: org.codehaus.plexus.component < plexus.core > [DEBUG] Imported: org.codehaus.plexus.configuration < plexus.core > [DEBUG] Imported: org.codehaus.plexus.container < plexus.core > [DEBUG] Imported: org.codehaus.plexus.context < plexus.core > [DEBUG] Imported: org.codehaus.plexus.lifecycle < plexus.core > [DEBUG] Imported: org.codehaus.plexus.logging < plexus.core > [DEBUG] Imported: org.codehaus.plexus.personality < plexus.core > [DEBUG] Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core > [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < > plexus.core > [DEBUG] Imported: > org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core > [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < > plexus.core > [DEBUG] Imported: org.eclipse.aether.* < plexus.core > [DEBUG] Imported: org.eclipse.aether.artifact < plexus.core > [DEBUG] Imported: org.eclipse.aether.collection < plexus.core > [DEBUG] Imported: org.eclipse.aether.deployment < plexus.core > [DEBUG] Imported: org.eclipse.aether.graph < plexus.core > [DEBUG] Imported: org.eclipse.aether.impl < plexus.core > [DEBUG] Imported: org.eclipse.aether.installation < plexus.core > [DEBUG] Imported: org.eclipse.aether.internal.impl < plexus.core > [DEBUG] Imported: org.eclipse.aether.metadata < plexus.core > [DEBUG] Imported: org.eclipse.aether.repository < plexus.core > [DEBUG] Imported: org.eclipse.aether.resolution < plexus.core > [DEBUG] Imported: org.eclipse.aether.spi < plexus.core > [DEBUG] Imported: org.eclipse.aether.transfer < plexus.core > [DEBUG] Imported: org.eclipse.aether.version < plexus.core > [DEBUG] Imported: org.fusesource.jansi.* < plexus.core > [DEBUG] Imported: org.slf4j.* < plexus.core > [DEBUG] Imported: org.slf4j.event.* < plexus.core > [DEBUG] Imported: org.slf4j.helpers.* < plexus.core > [DEBUG] Imported: org.slf4j.spi.* < plexus.core > [DEBUG] Populating class realm maven.api > [INFO] Error stacktraces are turned on. > [DEBUG] Message scheme: plain > [DEBUG] Reading global settings from settings.xml > [DEBUG] Reading user settings from /home/hydra/.m2/settings.xml > [DEBUG] Reading global toolchains from toolchains.xml > [DEBUG] Reading user toolchains from /home/hydra/.m2/toolchains.xml > [DEBUG] Using local repository at /home/hydra/.m2/repository > [DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 > for /home/hydra/.m2/repository > [INFO] Scanning for projects... > [DEBUG] Extension realms for project test:test:jar:0.0.1-SNAPSHOT: (none) > [DEBUG] Looking up lifecycle mappings for packaging jar from > ClassRealm[plexus.core, parent: null] > [DEBUG] Resolving plugin prefix exec from [org.apache.maven.plugins, > org.codehaus.mojo] > [DEBUG] Resolved plugin prefix exec to > org.codehaus.mojo:exec-maven-plugin from POM test:test:jar:0.0.1-SNAPSHOT > [DEBUG] === REACTOR BUILD PLAN > ================================================ > [DEBUG] Project: test:test:jar:0.0.1-SNAPSHOT > [DEBUG] Tasks: [exec:java] > [DEBUG] Style: Regular > [DEBUG] > ======================================================================= > [INFO] > [INFO] -----------------------------< test:test > > ------------------------------ > [INFO] Building test 0.0.1-SNAPSHOT > [INFO] --------------------------------[ jar > ]--------------------------------- > [DEBUG] Resolving plugin prefix exec from [org.apache.maven.plugins, > org.codehaus.mojo] > [DEBUG] Resolved plugin prefix exec to > org.codehaus.mojo:exec-maven-plugin from POM test:test:jar:0.0.1-SNAPSHOT > [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, > process-sources, generate-resources, process-resources, compile, > process-classes, generate-test-sources, process-test-sources, > generate-test-resources, process-test-resources, test-compile, > process-test-classes, test, prepare-package, package, > pre-integration-test, integration-test, post-integration-test, verify, > install, deploy] > [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] > [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] > [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, > process-sources, generate-resources, process-resources, compile, > process-classes, generate-test-sources, process-test-sources, > generate-test-resources, process-test-resources, test-compile, > process-test-classes, test, prepare-package, package, > pre-integration-test, integration-test, post-integration-test, verify, > install, deploy] > [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] > [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] > [DEBUG] === PROJECT BUILD PLAN > ================================================ > [DEBUG] Project: test:test:0.0.1-SNAPSHOT > [DEBUG] Dependencies (collect): [] > [DEBUG] Dependencies (resolve): [test] > [DEBUG] Repositories (dependencies): [central > (https://repo.maven.apache.org/maven2, default, releases)] > [DEBUG] Repositories (plugins) : [central > (https://repo.maven.apache.org/maven2, default, releases)] > [DEBUG] --- init fork of test:test:0.0.1-SNAPSHOT for > org.codehaus.mojo:exec-maven-plugin:1.1:java (default-cli) --- > [DEBUG] Dependencies (collect): [] > [DEBUG] Dependencies (resolve): [] > [DEBUG] --- exit fork of test:test:0.0.1-SNAPSHOT for > org.codehaus.mojo:exec-maven-plugin:1.1:java (default-cli) --- > [DEBUG] > ----------------------------------------------------------------------- > [DEBUG] Goal: org.codehaus.mojo:exec-maven-plugin:1.1:java (default-cli) > [DEBUG] Style: Regular > [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?> > <configuration> > <arguments>${exec.arguments}</arguments> > <classpathScope > default-value="compile">${exec.classpathScope}</classpathScope> > <cleanupDaemonThreads>${exec.cleanupDaemonThreads} > default-value=</cleanupDaemonThreads> > <commandlineArgs>${exec.args}</commandlineArgs> > <daemonThreadJoinTimeout > > default-value="15000">${exec.daemonThreadJoinTimeout}</daemonThreadJoinTimeout> > <includePluginDependencies > > default-value="false">${exec.includePluginDependencies}</includePluginDependencies> > <includeProjectDependencies > > default-value="true">${exec.includeProjectDependencies}</includeProjectDependencies> > <keepAlive default-value="false">${exec.keepAlive}</keepAlive> > <killAfter default-value="-1">${exec.killAfter}</killAfter> > <localRepository>${localRepository}</localRepository> > <mainClass>${exec.mainClass}</mainClass> > <pluginDependencies>${plugin.artifacts}</pluginDependencies> > <project>${project}</project> > <remoteRepositories>${project.remoteArtifactRepositories}</remoteRepositories> > > > <sourceRoot>${sourceRoot}</sourceRoot> > <stopUnresponsiveDaemonThreads>${exec.stopUnresponsiveDaemonThreads} > default-value=</stopUnresponsiveDaemonThreads> > <testSourceRoot>${testSourceRoot}</testSourceRoot> > </configuration> > [DEBUG] > ======================================================================= > [INFO] > [INFO] >>> exec-maven-plugin:1.1:java (default-cli) > validate @ test >>> > [INFO] > [INFO] <<< exec-maven-plugin:1.1:java (default-cli) < validate @ test <<< > [INFO] > [DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=611393, > ConflictMarker.markTime=103576, ConflictMarker.nodeCount=12, > ConflictIdSorter.graphTime=395715, ConflictIdSorter.topsortTime=287017, > ConflictIdSorter.conflictIdCount=10, > ConflictIdSorter.conflictIdCycleCount=0, > ConflictResolver.totalTime=2883836, > ConflictResolver.conflictItemCount=11, > DefaultDependencyCollector.collectTime=37236274, > DefaultDependencyCollector.transformTime=6098927} > [DEBUG] test:test:jar:0.0.1-SNAPSHOT > [DEBUG] org.apache.solr:solr-solrj:jar:1.4.0:compile > [DEBUG] org.slf4j:slf4j-api:jar:1.5.5:compile > [DEBUG] commons-httpclient:commons-httpclient:jar:3.1:compile > [DEBUG] commons-logging:commons-logging:jar:1.0.4:compile > [DEBUG] commons-codec:commons-codec:jar:1.3:compile > [DEBUG] commons-io:commons-io:jar:1.4:compile > [DEBUG] commons-fileupload:commons-fileupload:jar:1.2.1:compile > [DEBUG] org.codehaus.woodstox:wstx-asl:jar:3.2.7:compile > [DEBUG] stax:stax-api:jar:1.0.1:compile > [DEBUG] > org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar:1.0.1:compile > [INFO] > [INFO] --- exec-maven-plugin:1.1:java (default-cli) @ test --- > [DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=124166, > ConflictMarker.markTime=76151, ConflictMarker.nodeCount=34, > ConflictIdSorter.graphTime=65648, ConflictIdSorter.topsortTime=14457, > ConflictIdSorter.conflictIdCount=13, > ConflictIdSorter.conflictIdCycleCount=0, > ConflictResolver.totalTime=727463, > ConflictResolver.conflictItemCount=31, > DefaultDependencyCollector.collectTime=28331888, > DefaultDependencyCollector.transformTime=1078373} > [DEBUG] org.codehaus.mojo:exec-maven-plugin:jar:1.1 > [DEBUG] org.apache.maven:maven-project:jar:2.0.4:compile > [DEBUG] org.apache.maven:maven-settings:jar:2.0.4:compile > [DEBUG] org.apache.maven:maven-profile:jar:2.0.4:compile > [DEBUG] org.apache.maven:maven-model:jar:2.0.4:compile > [DEBUG] org.apache.maven:maven-artifact:jar:2.0.4:compile > [DEBUG] org.apache.maven:maven-artifact-manager:jar:2.0.4:compile > [DEBUG] org.apache.maven:maven-repository-metadata:jar:2.0.4:compile > [DEBUG] org.apache.maven:maven-plugin-api:jar:2.0:compile > [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.5.1:compile > [DEBUG] > org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:compile > [DEBUG] junit:junit:jar:3.8.2:test (scope managed from default) > (version managed from default) > [DEBUG] classworlds:classworlds:jar:1.1-alpha-2:compile > [DEBUG] Created new class realm > plugin>org.codehaus.mojo:exec-maven-plugin:1.1 > [DEBUG] Importing foreign packages into class realm > plugin>org.codehaus.mojo:exec-maven-plugin:1.1 > [DEBUG] Imported: < maven.api > [DEBUG] Populating class realm > plugin>org.codehaus.mojo:exec-maven-plugin:1.1 > [DEBUG] Included: org.codehaus.mojo:exec-maven-plugin:jar:1.1 > [DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:1.5.1 > [DEBUG] Configuring mojo org.codehaus.mojo:exec-maven-plugin:1.1:java > from plugin realm > ClassRealm[plugin>org.codehaus.mojo:exec-maven-plugin:1.1, parent: > jdk.internal.loader.ClassLoaders$AppClassLoader@3d4eac69] > [DEBUG] Configuring mojo 'org.codehaus.mojo:exec-maven-plugin:1.1:java' > with basic configurator --> > [DEBUG] (f) arguments = [] > [DEBUG] (f) classpathScope = compile > [DEBUG] (f) cleanupDaemonThreads = false > [DEBUG] (f) daemonThreadJoinTimeout = 15000 > [DEBUG] (f) includePluginDependencies = false > [DEBUG] (f) includeProjectDependencies = true > [DEBUG] (f) keepAlive = false > [DEBUG] (f) killAfter = -1 > [DEBUG] (f) localRepository = id: local > url: file:///home/hydra/.m2/repository/ > layout: default > snapshots: [enabled => true, update => always] > releases: [enabled => true, update => always] > > [DEBUG] (f) mainClass = SolrJExample > [DEBUG] (f) pluginDependencies = > [org.codehaus.mojo:exec-maven-plugin:maven-plugin:1.1:, > org.apache.maven:maven-project:jar:2.0.4:compile, > org.apache.maven:maven-settings:jar:2.0.4:compile, > org.apache.maven:maven-profile:jar:2.0.4:compile, > org.apache.maven:maven-model:jar:2.0.4:compile, > org.apache.maven:maven-artifact:jar:2.0.4:compile, > org.apache.maven:maven-artifact-manager:jar:2.0.4:compile, > org.apache.maven:maven-repository-metadata:jar:2.0.4:compile, > org.apache.maven:maven-plugin-api:jar:2.0:compile, > org.codehaus.plexus:plexus-utils:jar:1.5.1:compile, > org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:compile, > classworlds:classworlds:jar:1.1-alpha-2:compile] > [DEBUG] (f) project = MavenProject: test:test:0.0.1-SNAPSHOT @ > /home/hydra/workspace1/test/pom.xml > [DEBUG] (f) remoteRepositories = [ id: central > url: https://repo.maven.apache.org/maven2 > layout: default > snapshots: [enabled => false, update => daily] > releases: [enabled => true, update => daily] > ] > [DEBUG] (f) stopUnresponsiveDaemonThreads = false > [DEBUG] -- end configuration -- > [DEBUG] Invoking : SolrJExample.main() > [DEBUG] Plugin Dependencies will be excluded. > [DEBUG] Project Dependencies will be included. > [DEBUG] Collected project artifacts > [org.apache.solr:solr-solrj:jar:1.4.0:compile, > org.slf4j:slf4j-api:jar:1.5.5:compile, > commons-httpclient:commons-httpclient:jar:3.1:compile, > commons-logging:commons-logging:jar:1.0.4:compile, > commons-codec:commons-codec:jar:1.3:compile, > commons-io:commons-io:jar:1.4:compile, > commons-fileupload:commons-fileupload:jar:1.2.1:compile, > org.codehaus.woodstox:wstx-asl:jar:3.2.7:compile, > stax:stax-api:jar:1.0.1:compile, > org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar:1.0.1:compile] > [DEBUG] Collected project classpath > [/home/hydra/workspace1/test/target/classes] > [DEBUG] Adding to classpath : > file:/home/hydra/workspace1/test/target/classes/ > [DEBUG] Adding project dependency artifact: solr-solrj to classpath > [DEBUG] Adding project dependency artifact: slf4j-api to classpath > [DEBUG] Adding project dependency artifact: commons-httpclient to classpath > [DEBUG] Adding project dependency artifact: commons-logging to classpath > [DEBUG] Adding project dependency artifact: commons-codec to classpath > [DEBUG] Adding project dependency artifact: commons-io to classpath > [DEBUG] Adding project dependency artifact: commons-fileupload to classpath > [DEBUG] Adding project dependency artifact: wstx-asl to classpath > [DEBUG] Adding project dependency artifact: stax-api to classpath > [DEBUG] Adding project dependency artifact: geronimo-stax-api_1.0_spec > to classpath > [DEBUG] joining on thread Thread[SolrJExample.main(),5,SolrJExample] > [DEBUG] Setting accessibility to true in order to invoke main(). > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 53.717 s > [INFO] Finished at: 2020-10-21T09:41:08+03:00 > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.codehaus.mojo:exec-maven-plugin:1.1:java (default-cli) on project > test: An exception occured while executing the Java class. null: > InvocationTargetException: Unresolved compilation problem: -> [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to > execute goal org.codehaus.mojo:exec-maven-plugin:1.1:java (default-cli) > on project test: An exception occured while executing the Java class. null > at > > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:215) > 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:566) > 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) > Caused by: org.apache.maven.plugin.MojoExecutionException: An exception > occured while executing the Java class. null > at org.codehaus.mojo.exec.ExecJavaMojo.execute(ExecJavaMojo.java:345) > at > > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137) > at > > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210) > ... 20 more > Caused by: java.lang.reflect.InvocationTargetException > 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:566) > at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:290) > at java.base/java.lang.Thread.run(Thread.java:834) > Caused by: java.lang.Error: Unresolved compilation problem: > > at SolrJExample.main(SolrJExample.java:41) > ... 6 more > [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/MojoExecutionException > > My pom.xml looks like: > > <project xmlns="http://maven.apache.org/POM/4.0.0" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > https://maven.apache.org/xsd/maven-4.0.0.xsd"> > <modelVersion>4.0.0</modelVersion> > <groupId>test</groupId> > <artifactId>test</artifactId> > <version>0.0.1-SNAPSHOT</version> > <dependencies> > <dependency> > <artifactId>solr-solrj</artifactId> > <groupId>org.apache.solr</groupId> > <version>1.4.0</version> > <type>jar</type> > <scope>compile</scope> > </dependency> > </dependencies> > <build> > <sourceDirectory>src</sourceDirectory> > <plugins> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-surefire-plugin</artifactId> > <version>3.0.0-M5</version> > <executions> > <execution> > <phase>test</phase> > <configuration> > <mainClass>SolrJExample</mainClass> > <arguments> > <argument>arg0</argument> > <argument>arg1</argument> > </arguments> > </configuration> > </execution> > </executions> > <configuration> > <useSystemClassLoader>false</useSystemClassLoader> > </configuration> > </plugin> > <plugin> > <artifactId>maven-compiler-plugin</artifactId> > <version>3.8.1</version> > <configuration> > <release>11</release> > </configuration> > </plugin> > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>exec-maven-plugin</artifactId> > <version>1.1</version> > <executions> > </executions> > </plugin> > </plugins> > </build> > > > How to fix that problem ? > > Looking forward > > Raivo Rebane > > -- Cheers Tibor
