Note that there are some explanatory texts on larger screens.

plurals
  1. POyui compressor maven: A required class is missing: org.mozilla.javascript.ErrorReporter
    primarykey
    data
    text
    <p>I am not able to use yui-compressor maven plugin in my web app. When I run maven I get following error</p> <pre> [INFO] Internal error in the plugin manager executing goal 'net.sf.alchim:yuicompressor-maven-plugin:0.7.1:compress': Unable to load the mojo 'net.sf.alchim: yuicompressor-maven-plugin:0.7.1:compress' in the plugin 'net.sf.alchim:yuicompressor-maven-plugin'. A required class is missing: org.mozilla.javascript.ErrorReporter </pre> <p>Later I found that rhino js plugin contains this class org.mozilla.javascript.ErrorReporter. So I included this plugin in dependency tag but still I am getting the same error. </p> <p>Has anyone came across such error. </p> <p>--> updating main question to add the pom plugin details</p> <pre><code>&lt;plugin&gt; &lt;groupId&gt;net.sf.alchim&lt;/groupId&gt; &lt;artifactId&gt;yuicompressor-maven-plugin&lt;/artifactId&gt; &lt;version&gt;0.7.1&lt;/version&gt; &lt;executions&gt; &lt;execution&gt; &lt;phase&gt;compile&lt;/phase&gt; &lt;goals&gt; &lt;goal&gt;jslint&lt;/goal&gt; &lt;goal&gt;compress&lt;/goal&gt; &lt;/goals&gt; &lt;/execution&gt; &lt;/executions&gt; &lt;configuration&gt; &lt;failOnWarning&gt;true&lt;/failOnWarning&gt; &lt;nosuffix&gt;true&lt;/nosuffix&gt; &lt;aggregations&gt; &lt;aggregation&gt; &lt;!-- remove files after aggregation (default: false) --&gt; &lt;removeIncluded&gt;false&lt;/removeIncluded&gt; &lt;!-- insert new line after each concatenation (default: false) --&gt; &lt;insertNewLine&gt;false&lt;/insertNewLine&gt; &lt;output&gt;${project.basedir}/${webcontent.dir}/js/compressedAll.js&lt;/output&gt; &lt;!-- files to include, path relative to output's directory or absolute path--&gt; &lt;!--inputDir&gt;base directory for non absolute includes, default to parent dir of output&lt;/inputDir--&gt; &lt;includes&gt; &lt;include&gt;**/autocomplete.js&lt;/include&gt; &lt;include&gt;**/calendar.js&lt;/include&gt; &lt;include&gt;**/dialogs.js&lt;/include&gt; &lt;include&gt;**/download.js&lt;/include&gt; &lt;include&gt;**/folding.js&lt;/include&gt; &lt;include&gt;**/jquery-1.4.2.min.js&lt;/include&gt; &lt;include&gt;**/jquery.bgiframe.min.js&lt;/include&gt; &lt;include&gt;**/jquery.loadmask.js&lt;/include&gt; &lt;include&gt;**/jquery.printelement-1.1.js&lt;/include&gt; &lt;include&gt;**/jquery.tablesorter.mod.js&lt;/include&gt; &lt;include&gt;**/jquery.tablesorter.pager.js&lt;/include&gt; &lt;include&gt;**/jquery.validate.js&lt;/include&gt; &lt;include&gt;**/jquery-ui-1.8.custom.min.js&lt;/include&gt; &lt;include&gt;**/languageDropdown.js&lt;/include&gt; &lt;include&gt;**/messages.js&lt;/include&gt; &lt;include&gt;**/print.js&lt;/include&gt; &lt;include&gt;**/tables.js&lt;/include&gt; &lt;include&gt;**/tabs.js&lt;/include&gt; &lt;include&gt;**/uwTooltip.js&lt;/include&gt; &lt;/includes&gt; &lt;!-- files to exclude, path relative to output's directory--&gt; &lt;/aggregation&gt; &lt;/aggregations&gt; &lt;/configuration&gt; &lt;dependencies&gt; &lt;dependency&gt; &lt;groupId&gt;rhino&lt;/groupId&gt; &lt;artifactId&gt;js&lt;/artifactId&gt; &lt;scope&gt;compile&lt;/scope&gt; &lt;version&gt;1.6R5&lt;/version&gt; &lt;/dependency&gt; &lt;dependency&gt; &lt;groupId&gt;org.apache.maven&lt;/groupId&gt; &lt;artifactId&gt;maven-plugin-api&lt;/artifactId&gt; &lt;version&gt;2.0.7&lt;/version&gt; &lt;scope&gt;provided&lt;/scope&gt; &lt;/dependency&gt; &lt;dependency&gt; &lt;groupId&gt;org.apache.maven&lt;/groupId&gt; &lt;artifactId&gt;maven-project&lt;/artifactId&gt; &lt;version&gt;2.0.7&lt;/version&gt; &lt;scope&gt;provided&lt;/scope&gt; &lt;/dependency&gt;&lt;dependency&gt; &lt;groupId&gt;net.sf.retrotranslator&lt;/groupId&gt; &lt;artifactId&gt;retrotranslator-runtime&lt;/artifactId&gt; &lt;version&gt;1.2.9&lt;/version&gt; &lt;scope&gt;runtime&lt;/scope&gt; &lt;/dependency&gt; &lt;/dependencies&gt; &lt;/plugin&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload