Writting custom Java rules for JavaScript/EcmaScript files
A source code analyzer
Brought to you by:
adangel,
juansotuyo
Facing an error while writting custom java rules for JavaScript Files. help will be appreciated.
dependencies {
//compile('org.springframework.boot:spring-boot-starter')
}
public class EcmaScriptRule extends AbstractEcmascriptRule {
}
java.lang.NoSuchMethodError: net.sourceforge.pmd.lang.ecmascript.rule.AbstractEcmascriptRule.definePropertyDescriptor(Lnet/sourceforge/pmd/properties/PropertyDescriptor;)V
i can see other people are also faced similar issues but not able to found solution in the respective topics.
The dependency compile group: 'net.sourceforge.pmd', name: 'pmd', version:
'6.5.0' is incorrect.
You should include compile group: 'net.sourceforge.pmd', name: 'pmd-core',
version: '6.5.0'
The pmd artifact is a parent pom, the jar for base functionality is pmd-core
.
Regards
On Mon, Jul 16, 2018 at 9:47 AM Venkat venkatpmd@users.sourceforge.net
wrote: