rcenvironment / rce

Distributed, workflow-driven integration environment
https://rcenvironment.de/
51 stars 16 forks source link

could not be found org.apache.commons.logging 1.1.1 #27

Closed Cooward closed 4 years ago

Cooward commented 4 years ago

When I run the build the default product launch file, appeared in the process of compiling can't find org.apache.com mons. Logging 1.1.1 errors

error stack is

[INFO] --- exec-maven-plugin:1.3.2:java (default) @ de.rcenvironment.maven.preprocessor --- [INFO] Scanning for projects... [INFO] Computing target platform for MavenProject: de.rcenvironment:de.rcenvironment.core.authentication:10.1.1-SNAPSHOT @ E:\workspace\rce-10.1.1-release-source\de.rcenvironment.core.authentication\pom.xml [INFO] Resolving dependencies of MavenProject: de.rcenvironment:de.rcenvironment.core.authentication:10.1.1-SNAPSHOT @ E:\workspace\rce-10.1.1-release-source\de.rcenvironment.core.authentication\pom.xml [INFO] {osgi.os=linux, osgi.ws=gtk, org.eclipse.update.install.features=true, osgi.arch=x86_64} [ERROR] Cannot resolve project dependencies: [ERROR] Software being installed: de.rcenvironment.core.authentication 10.1.1.qualifier [ERROR] Missing requirement: de.rcenvironment.core.authentication 10.1.1.qualifier requires 'java.package; org.apache.commons.logging 1.1.1' but it could not be found [ERROR] [ERROR] See http://wiki.eclipse.org/Tycho/Dependency_Resolution_Troubleshooting for help. [ERROR] Cannot resolve dependencies of MavenProject: de.rcenvironment:de.rcenvironment.core.authentication:10.1.1-SNAPSHOT @ E:\workspace\rce-10.1.1-release-source\de.rcenvironment.core.authentication\pom.xml: See log for details -> [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/MavenExecutionException

aweinert commented 4 years ago

This issue may be caused by using a recent version of Apache Maven for building. Current Eclipse versions use Maven 3.6.3 by default. Could you try using Maven 3.3.9? You can choose the Maven version used for executing the launchers under Run Configurations > Maven Build > Maven Runtime (the latter entry can be found at the bottom of the wizard)

Cooward commented 4 years ago

This issue may be caused by using a recent version of Apache Maven for building. Current Eclipse versions use Maven 3.6.3 by default. Could you try using Maven 3.3.9? You can choose the Maven version used for executing the launchers under Run Configurations > Maven Build > Maven Runtime (the latter entry can be found at the bottom of the wizard)

Thank you, brother! This issue has been resolved and the Maven Runtime version that I use by default when Compiling Eclipse is 3.6.1. After modifying the version to 3.6.3, it will compile normally.