I just want to change my build
path in my groovy/gradleproject cucumber project since I have change the source
from test
to main
(Believe this is possible)
Even after deleting the build folder and tried to re build the project. Then it created same class path and given the below error. May be because of class path issue.
Groovyc: java.lang.NoClassDefFoundError: org/openqa/selenium/WebDriver
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2531)
at java.lang.Class.getDeclaredMethods(Class.java:1855)
at org.codehaus.groovy.vmplugin.v5.Java5.configureClassNode(Java5.java:328)
Versions
IntelliJ : 13.0.3
Gradle 1.9
Groovy: 1.8.6
It gives below error when try to add main
folder as content root
Thanks