我试图从它的源代码构建斐济软件code.here的github页面:斐济源代码我开始使用ubuntu终端的maven构建项目,我面临这个错误:
ali@ali-All-Series:~/Downloads/fiji-master$ mvn WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release [INFO] Scanning for projects... [INFO] [INFO] ----------------------------< sc.fiji:fiji >---------------------------- [INFO] Building Fiji 2.1.2-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-rules) @ fiji --- [INFO] Adding ignore: module-info [INFO] Adding ignore: META-INF/versions/*/module-info [INFO] Adding ignore: com.esotericsoftware.kryo.* [INFO] Adding ignore: com.esotericsoftware.minlog.* [INFO] Adding ignore: com.esotericsoftware.reflectasm.* [INFO] Adding ignore: com.google.inject.* [INFO] Adding ignore: jnr.ffi.* [INFO] Adding ignore: org.apache.hadoop.yarn.*.package-info [INFO] Adding ignore: org.apache.spark.unused.UnusedStubClass [INFO] Adding ignore: org.hibernate.stat.ConcurrentStatisticsImpl [INFO] Adding ignore: org.jetbrains.kotlin.daemon.common.* [INFO] Adding ignore: org.junit.runner.Runner [INFO] Adding ignore: module-info [INFO] Adding ignore: module-info [WARNING] Rule 2: org.apache.maven.plugins.enforcer.RequireJavaVersion failed with message: Detected JDK Version: 11.0.8 is not in the allowed range [1.8.0-101,1.8.9999]. [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 22.131 s [INFO] Finished at: 2020-08-23T23:01:01+04:30 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.4.1:enforce (enforce-rules) on project fiji: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. -> [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/MojoExecutionException ali@ali-All-Series:~/Downloads/fiji-master$
这并不是针对你的具体情况,尽管它可能会有所帮助。
例如,在Eclipse中,您可以转到首选项
我正在与Maven合作,在编译和构建项目时遇到错误。评估一些pmml文件是jpmml项目。现在我发现了这个错误: 规则0:org.apache.maven.plugins.enforcer.要求MavenVersion失败,消息:检测到的Maven版本:3.0.5不在允许的范围3.2内。 检查链接以查看图像:https://www.dropbox.com/s/3r9d8g8l4r1zctp/mav
我一直在阅读各种帖子、问题、答案和文档,但到目前为止还没有解决我的问题。 我正在使用mbExtruder jQuery插件,为了将其集成到angular中,我为它创建了一个指令: 我正在提取容器div,编译它,应用scope并用转换后的div替换原来的div。 现在,我使用mbExtruder的功能从单独的HTML文件加载内容,如下所示: 在视图的HTML中,我有以下内容: 我在指令中得到的范围是
求求你帮帮我!我不知道还能做什么...我读了所有关于它的帮助,但到目前为止我还不能解决它! tiagos-iMac:app tiago$cordova运行android检查Java JDK和android SDK版本Android_SDK_ROOT=/users/tiago/library/android/(推荐设置)Android_Home=/users/tiago/library/androi
我正试图为我的angular应用程序生成。apk文件。 经过一些处理后,它会产生错误。 我还设置了用户变量和系统变量 ANDROID_HOME=c:\user\user\appdata\local\android\sdk java_home=c:\program files\java\jdk1.8.0_271 path=...;c:\program files\java\jdk1.8.0_271\
我试图为Android建立一个类星体cordova应用程序。当我运行命令时,我会得到错误: 检查Java JDK和Android SDK版本Android_SDK_ROOT=C:\users\myusername\appdata\local\Android\SDK(推荐设置)Android_Home=C:\users\myusername\appdata\local\Android\SDK(DEP
Java,当我重写一个方法时,编译器会将任何缩小可见性的尝试标记为错误。例如:我不能将公共方法重写为受保护的,而我可以将受保护的方法重写为公共的。 我有兴趣了解这条规则背后的设计决策/思维。