org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed /.../.../.../Examples/SomeStory.groovy: unable to resolve class com.myapp.Examples.LoginSteps @line 3, column 1 import com.myapp.Examples.LoginSteps ^ 1 error

Google Groups | Dimon Ch | 6 years ago
  1. 0

    Havin' an issue with EasyB+Selenium 2 PageObjects+Java

    Google Groups | 6 years ago | Dimon Ch
    org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed /.../.../.../Examples/SomeStory.groovy: unable to resolve class com.myapp.Examples.LoginSteps @line 3, column 1 import com.myapp.Examples.LoginSteps ^ 1 error
  2. 0

    Issue in latest BDA 4.2.1 VM with IKM File to Hive (LOAD DATA)

    Oracle Community | 1 year ago | df0ca628-9cca-4549-95cf-21639d42a893
    org.apache.bsf.BSFException: exception from Groovy: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: _: 3: unable to resolve class org.apache.hadoop.fs.FileSystem @ line 3, column 1. import org.apache.hadoop.fs.FileSystem ^ _: 5: unable to resolve class org.apache.hadoop.conf.Configuration @ line 5, column 1. import org.apache.hadoop.conf.Configuration ^ _: 4: unable to resolve class org.apache.hadoop.fs.Path @ line 4, column 1. import org.apache.hadoop.fs.Path ^ 3 errors
  3. 0

    unable to resolve class in application.groovy

    GitHub | 3 weeks ago | purpleraven
    org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: script1479231350405936681851.groovy: 1: unable to resolve class import com.xxx.XxxType @ line 1, column 1. import import com.xxx.XxxType ^ 1 error
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    import com.eviware.soapui.model.iface ^ org.codehaus.groovy.syntax.SyntaxException: unable to resolve class com.eviware.soapui.model.iface

    Stack Overflow | 1 month ago | Hareesh Pasumarthi
    org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: Script39.groovy: 3: unable to resolve class com.eviware.soapui.model.iface @ line 3, column 1. import com.eviware.soapui.model.iface ^ org.codehaus.groovy.syntax.SyntaxException: unable to resolve class com.eviware.soapui.model.iface @ line 3, column 1.
  6. 0

    Upgrading to Jenkins 1.469 and configuration for LDAP server causes the following exception using a clean configuration from start for LDAP: {code} Status Code: 500 Exception: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: Script1.groovy: 32: unable to resolve class hudson.security.LDAPSecurityRealm.AuthoritiesPopulatorImpl @ line 32, column 1. import hudson.security.LDAPSecurityRealm.AuthoritiesPopulatorImpl ^ 1 error Stacktrace: javax.servlet.ServletException: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: Script1.groovy: 32: unable to resolve class hudson.security.LDAPSecurityRealm.AuthoritiesPopulatorImpl @ line 32, column 1. import hudson.security.LDAPSecurityRealm.AuthoritiesPopulatorImpl ^ 1 error at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:616) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:488) at org.kohsuke.stapler.Stapler.service(Stapler.java:162) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:50) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) Caused by: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: Script1.groovy: 32: unable to resolve class hudson.security.LDAPSecurityRealm.AuthoritiesPopulatorImpl @ line 32, column 1. import hudson.security.LDAPSecurityRealm.AuthoritiesPopulatorImpl ^ 1 error at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:302) at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:858) at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:548) at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:497) at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:306) at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:287) at groovy.lang.GroovyShell.parseClass(GroovyShell.java:731) at groovy.lang.GroovyShell.parse(GroovyShell.java:743) at groovy.lang.GroovyShell.parse(GroovyShell.java:723) at groovy.lang.GroovyShell.parse(GroovyShell.java:790) at hudson.util.spring.BeanBuilder.parse(BeanBuilder.java:133) at hudson.security.LDAPSecurityRealm.createSecurityComponents(LDAPSecurityRealm.java:359) at hudson.security.SecurityRealm.getSecurityComponents(SecurityRealm.java:398) at hudson.security.HudsonFilter.reset(HudsonFilter.java:134) at jenkins.model.Jenkins.setSecurityRealm(Jenkins.java:1960) at hudson.security.GlobalSecurityConfiguration.configure(GlobalSecurityConfiguration.java:58) at jenkins.model.Jenkins.configureDescriptor(Jenkins.java:2683) at jenkins.model.Jenkins.doConfigSubmit(Jenkins.java:2646) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:288) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:151) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:90) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:111) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574) ... 38 more {code}

    Jenkins JIRA | 4 years ago | Behrooz Nobakht
    javax.servlet.ServletException: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: Script1.groovy: 32: unable to resolve class hudson.security.LDAPSecurityRealm.AuthoritiesPopulatorImpl @ line 32, column 1. import hudson.security.LDAPSecurityRealm.AuthoritiesPopulatorImpl ^ 1 error

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.codehaus.groovy.control.MultipleCompilationErrorsException

      startup failed /.../.../.../Examples/SomeStory.groovy: unable to resolve class com.myapp.Examples.LoginSteps @line 3, column 1 import com.myapp.Examples.LoginSteps ^ 1 error

      at com.codehaus.groovy.control.ErrorController.FailErrors()
    2. com.codehaus.groovy
      CompilationUnit.applyToSourceUnits
      1. com.codehaus.groovy.control.ErrorController.FailErrors(ErrorController.java:302)
      2. com.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:833)
      2 frames