STS+Jetty+Maven+Jrebel 打包时一直在报错
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包也存在的,但是不知道为什么一直报这个错
求指导啊求指导啊
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
求指导啊求指导