0 0

should not point at files within the project directory0


原来是web项目,想通过hudson自动部署插件把web项目打成war放到tomcat下
在项目根部加了一个pom文件
但打包的时候却报错
should not point at files within the project directory

<dependency> 
        <groupId>antlr</groupId> 
        <artifactId>antlr</artifactId> 
        <version>2.7.7</version>
        <scope>system</scope> 
        <systemPath>${basedir}/src/main/webapp/WEB-INF/lib/antlr-2.7.7.jar</systemPath> 
    </dependency>


还要在pom中添加什么吗?
2013年3月05日 13:39

1个答案 按时间排序 按投票排序

0 0

systemPath的使用有问题,看看这个提问:http://stackoverflow.com/questions/10935135/maven-and-adding-jars-to-system-scope.国际友人给你解决方案了,我就不翻譯了。

2013年3月05日 14:22

相关推荐

    oscarJDBC16 jar包 ,maven

    mvn install:install-file -Dfile=E:\ProgramFiles\apache-maven-3.6.1\国产数据库\oscarJDBC16 -DgroupId=com.stdb -DartifactId=oscarHibernate5 -Dversion=1.0 -Dpackaging=jar -Dfile:指定jar文件的路径,...

    Window系统无法调用OpenCV报错Directory separator should not appear in library name

    Window系统无法调用OpenCV代码报错:java.lang.UnsatisfiedLinkError: Directory separator should not appear in library name: C:\Windows\System32\opencv_java343.dll。出现该问题主要是安装的Windows系统缺乏...

    a project model for the FreeBSD Project.7z

    [1] This paper will provide such a project model and is donated to the FreeBSD Documentation project where it can evolve together with the project so that it can at any point in time reflect the way ...

    A Guide to the Project Management Body of Knowledge

    A Guide to the Project Management Body of Knowledge, (PMBOK® Guide), Third Edition Library of Congress Cataloging-in-Publication Data A guide to the project management body of knowledge: PMBOK ...

    $GOPATH/go.mod exists but should not goland

    golang 错误提示 $GOPATH/go.mod exists but should not goland 出现该问题 去掉vendor即可 初出茅庐有错必改 欢迎交流

    mvc grid工具

    jquery封装的grid工具 his sample shows a ... therefore the path for the XML files and database file should be resolved automatically. Many of the sample files also require the ObjectDumper project.

    FileOperate文件管理

    List the files and directories in the current directory (you do not have to expand any sub-directory) sorted by name, date, size, type, etc. Rename/delete a specified file. Copy a specified file to ...

    基于TCP的VC++聊天室

    This file (the project file) contains information at the project level and is used to build a single project or subproject. Other users can share the project (.dsp) file, but they should export the...

    关于网络与通信课程的资源包

    This file (the project file) contains information at the project level and is used to build a single project or subproject. Other users can share the project (.dsp) file, but they should export the...

    12 Deep Learning Interview questions you should not be missed

    12 Deep Learning Interview questions you should not be missed,深度学习的12个面试问题,分为Part I, Part II, Part III ,by JP Tech。

    【原创】【源代码】myshell:操作系统编程-自己用C语言写的Linux下的Shell

    The shell environment should contain shell=&lt;pathname&gt;/myshell where &lt;pathname&gt;/myshell is the full path for the shell executable (not a hardwired path back to your directory, but the one from which it...

    What Every Computer Scientist Should Know About Floating-Point Arithmetic

    It begins with background on floating-point representation and rounding error, continues with a discussion of the IEEE floating-point standard, and concludes with numerous examples of how computer ...

    Debugging Malloc Lab: Detecting Memory-Related Errors

    Also, the ptr parameter passed into MyFree(void *ptr) will point to the payload, not the beginning of the block. Information that you might want to store in this extra (header, footer) area include:...

    mfc复制文件,呵呵呵呵

    This file (the project file) contains information at the project level and is used to build a single project or subproject. Other users can share the project (.dsp) file, but they should export the...

    drupal 6.12

    Move the contents of that directory into a directory within your web server's document root or your public HTML directory: mv drupal-x.x/* drupal-x.x/.htaccess /var/www/html If you would like to...

    VclZip pro v3.10.1

    - If a file does not extend beyond any of the original limitations (filesizes of 4 gig or 65535 files) then no Zip64 format information is included in the archive. - property isZip64 - tells you when ...

    3G AT指令标准全集

    The present document has been developed within the 3rd Generation Partnership Project (3GPP TM) and may be further elaborated for the purposes of 3GPP. The present document has not been subject to ...

    Print-Images-Java.rar_editing_physical

    The Distribution directory should be moved under a directory that the USER that will execute the application does not have WRITE permissions. The USER will need EXECUTE permissions. The Holodeck10 ...

    Google C++ Style Guide(Google C++编程规范)高清PDF

    All of a project's header files should be listed as descentants of the project's source directory without use of UNIX directory shortcuts . (the current directory) or .. (the parent directory). For...

    97 things project manager should know

    97 Things Every Project Manager Should Know is a collection of wisdom from project managers, software developers, and a wide range of other occupation holders from all around the world who are ...

Global site tag (gtag.js) - Google Analytics