STS+Jetty+Maven+Jrebel 打包时一直在报错

核桃白果 发布于 2012/11/15 20:55
阅读 1K+
收藏 1

STS+Jetty+Maven跑起时如果修改了java文件,或者简单的xml,都必须重新run Jetty ,debug as Jetty 时也会要必须重启,很是麻烦,就打算装个JRebel,按照官方的文档一步一步下来

http://zeroturnaround.com/software/jrebel/eclipse-jrebel-tutorial/

其中插件是用的csdn上下载的JAR包,maven打包时一直报错:

其中修改了web中的pom文件,增加了javarebel-maven-plugin的配置,但是打包时一直报:

[ERROR] Failed to execute goal org.zeroturnaround:javarebel-maven-plugin:1.0.5:generate (generate-rebel-xml) on project mp-web: Execution generate-rebel-xml of goal org.zeroturnaround:javarebel-maven-plugin:1.0.5:generate failed: A required class was missing while executing org.zeroturnaround:javarebel-maven-plugin:1.0.5:generate: org/apache/commons/lang/StringEscapeUtils
[ERROR] -----------------------------------------------------
[ERROR] realm =    plugin>org.zeroturnaround:javarebel-maven-plugin:1.0.5
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/C:/Users/xie/.m2/repository/org/zeroturnaround/javarebel-maven-plugin/1.0.5/javarebel-maven-plugin-1.0.5.jar
[ERROR] urls[1] = file:/C:/Users/xie/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import  from realm ClassRealm[maven.api, parent: null]]
[ERROR] 
[ERROR] -----------------------------------------------------: org.apache.commons.lang.StringEscapeUtils
[ERROR] -> [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/PluginContainerException
[ERROR] 


A required class was missing while executing org.zeroturnaround:javarebel-maven-plugin:1.0.5:generate: org/apache/commons/lang/StringEscapeUtils

这个文件是存在的,commons-lang包也存在的,但是不知道为什么一直报这个错

求指导啊求指导啊

加载中
0
核桃白果
核桃白果
   求指导啊求指导
返回顶部
顶部