当前位置:编程学习 > JAVA >>

MAVEN打包压缩JS CSS报错的问题

我在打包的时候出现这样的错:
[ERROR] Failed to execute goal net.alchim31.maven:yuicompressor-maven-plugin:1.3.0:compress (default) on project hoteltuan-web: Execution default of goal net.alchim31.maven:yuicompressor-maven-plugin:1.3.0:compress failed: String index out of range: 340904 -> [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/PluginExecutionException
看情况是压缩插件的问题,这是我的插件配置信息:
<plugin>
    <groupId>net.alchim31.maven</groupId>
    <artifactId>yuicompressor-maven-plugin</artifactId>
</plugin> 
报出String index out of range这样的错,这是为什么? maven 压缩 js css 插件 --------------------编程问答-------------------- 没人遇到类似的问题么?我去了。。。
补充:Java ,  Java SE
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,