最近用法 jenkins部署maven项目时候,突然出现Build step 'Invoke top-level Maven targets' marked build as failure Finished这个部署失败的情况,检查代码没有问题,本地运行也正常.本来以为是jdk版本问题,检查一下版本一致.最终,只好重启jenkins,竟然莫名其妙的好了.最后,在网上查找资料,才知道是tomcat运行内存溢出.解决方法: 在tomcat的bin目录下的catalina.sh文件中,修改运行内存数值…
今天jenkins构建时运行脚本报错如下: Build step 'Execute shell' marked build as failure 脚本没问题后来看了下原因是磁盘空间不足导致报错,清除下空间构建就正常了 ,虚惊一场!!…
坑爹的Jenkis,在执行windows命令编译.NET项目的时候命令执行成功了,但是却还是报了这样一个错: Build step 'Execute Windows batch command' marked build as failure 综合了几个stackoverflow上的答案,原因如下: jenkins执行windows命令,若退出代码不为0 ,则jenkins会将构建标记为失败 我解决的方法:在bat脚本最后一行加上 exit 0…
问题出现: Jenkins一直都构建成功,今天突然报错:Jenkins Build step 'Execute shell' marked build as failure 问题原因: By default Jenkins take /bin/sh -xe and this means -x will print each and every command.And the other option -e, which causes shell to stop running a script…
新建项目没有src/main/java 和 src/main/resources 两个source文件的解决方法: Step 1 : Create a Maven Webapp project. Right click on the Package Explorer pane go to New –> Maven Project Step 2 : Select the archetype as “maven-archetype-webapp”  and click on next and giv…
CoreException: Could not calculate build plan: Plugin org.apache.maven.plugins:maven-compiler-plugin:3.1 or one of its dependencies could not be resolved: Failure to find org.apache.maven.plugins:maven-compiler-plugin:jar:3.1 in http://repository.jbo…
1008. Airline Routes (35) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 8000 B 判题程序 Standard 作者 CHEN, Yue Given a map of airline routes, you are supposed to check if a round trip can be planned between any pair of cities. Input Specification: Each input file cont…
Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved   此问题的解决:   1.要确认spring sts已经设置代理 2.要确认windows -> Preferences -> maven 的settings.xml文件中,设置代理. 3.C:\Users\ttt\…
Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6 解决方法: 删除maven库…
通过xib创建cell的时候 一定要注意!!! 这个错误是在这个xib中在View同一层级出现了其他的控件,检查一下xib中左边的层级关系,让cell的view是唯一的控件就可以了,否则一执行 就会提示 "* Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'invalid nib registered for identifier (Cell) - nib must co…
什么时候需要交换Top Level ? 上一篇中提到,如果采用仿真的时候,运用门级仿真就需要进行顶层交换,RTL仿真不需要,那么什么时候需要呢? QuartusII 向下包含,在Project Navigator中可以查看到整个工程包含的module,在牵涉到硬件电路上的相关配置时,QuartusII 只会从这个Top Level中向下包含,所以在门级仿真的时候就必须交换到当前的顶层.在Top Level之外的module是不会被使用的. 有时候简直就像是个BUG,会出现RTL 仿真没有交换到当…
build step https://jenkins.io/doc/pipeline/steps/pipeline-build-step/#build-build-a-job 一个任务的执行触发,另外一个任务的执行,以代码的形式. build: Build a job Triggers a new build for a given job. job Name of a downstream job to build. May be another Pipeline job, but more…
使用maven创建简单的项目时候经常会遇到 Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:…
生产部署环境:A:192.168.1.2 B:192.168.1.3  两台服务器系统均是Centos 7.3 , Docker版本都1.12.6 Jenkins安装操作步骤: 1.在A服务器上使用命令:docker pull jenkinsci/jenkins  获取到Docker镜像: 2.使用命令:docker run -p 8080:8080 -p 50000:50000 --name jenkins -u root -v /var/jenkins_home:/var/jenkins_h…
1. 详细错误信息 [ 11%] Building C object CMakeFiles/fstools.dir/libfstools/overlay.c.o/home/jello/openwrt/build_dir/target-aarch64_generic_glibc/fstools-2018-01-02-11efbf3b/libfstools/overlay.c: In function 'jffs2_switch':/home/jello/openwrt/build_dir/targ…
今天在使用IDEA配置springmvc文件时,出现类似在Android studio 中样式文件报top level element is not completed错,郁闷极了,找了好久 才找到解决方案,问题解决了  然而并没有理解为什么 ,希望有大神可以帮回复.问题类似如下: <resources> <!-- Base application theme. --> <style name="AppTheme" parent=""T…
在用Eclipse IDE for Java EE Developers进行maven项目的开发时,报错Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of:解决方法: 1.查看windows -> Preferences -> maven->user Settings 中的user settings目录: 的settings.xml文件中.…
Maven 导入项目时报错: Could not calculate build plan: Plugin org.apache.maven.plugins:maven-war-plugin:2.3 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-war-plugin:jar:2.3Plugin org.a…
[自己的操作] (1)windows -> Preferences -> maven 的settings.xml文件中.m2的位置已经失效,更改正确后尝试 (2)pom.xml还有下面错误  把pom.xml中报错的注释后再次尝试启动 Publishing failed with multiple errors Error reading file F:\HWORK\repository\com\danga\MemCached\2.0.1\memcached-2.0.1.jar F:\HWOR…
could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of 解决方法: 首先要确保eclipse中maven的配置正确! 找到自己的maven仓库所在的位置,例如我的: C:\Users\liugen.xu.m2\repository\org\apache\maven\plugins 找到repository\org\apache\maven\plugin…
在ecplise上新建maven项目 报错: Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin…
错误如下: Could not calculate build plan: Plugin org.apache.maven.plugins:maven-war-plugin:2.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-war-plugin:jar:2.2... 解决方法: 1.项目右键->[Ma…
IntelliJ IDEA 进行Maven项目创建build 1,文件-新建-maven 项目:2,编写pom.xml文件:3,鼠标放到左下,然后选择Maven Projects,然后可以查看项目信息:4,在Maven Projects中点击刷新,可以将Dependencies刷新出来:5,选择file-project structure-artifacts,选择右侧的“+”号,选择jar-> from modules with dependencies在弹出的对话框中选择Main Class,…
eclipse中新建maven项目,出现 Could not calculate build plan :lugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of  its dependencies could not be resolved 解决办法: 删除maven本地库里面的org.apache.maven.plugins:maven-resources-plugin所在目录,让mavan重新下载这个包 例如:C…
oot@DK:/home/daokr/downfile/php-7.0.0/ext/mysqlnd# /home/php/bin/phpizeCannot find config.m4. Make sure that you run '/home/php/bin/phpize' in the top level source directory of the module 这个错误出现说明找不到 config.m4 ls 查询下当前目录是是否有个 config9.m4 这个:把他修改成confi…
问题由来: 一个项目可能会有多个子module,在特定情况下可能只需要build其中几个module. 例如我的项目的目录结构如下 myproject |------------module_one |------------module_two |------------module_three |------------module_four |------------module_five |------------module_six |------------module_seven…
Introduction Microsoft Visual Studio 2012 provides a new set of tools for developing apps for Office and apps for SharePoint, as well as SharePoint farm and sandboxed solutions. By using these tools, developers can easily leverage the familiar Visual…
maven部署tomcat项目时403错误的解决方法 web模块的pom文件 pom.xml <plugin> <groupId>org.apache.tomcat.maven</groupId> <artifactId>tomcat7-maven-plugin</artifactId> <version>2.0</version> <configuration> <url>http://local…
maven的pom报plugins却是的解决方法. 引用 Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.7.1 from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central h…
Failure to transfer org.apache.maven.plugins:maven-plugins:pom:25 from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced.…