Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed gradle build : org.springframework.beans.factory.BeanCreationException #10

Open
ghost opened this issue Oct 9, 2015 · 1 comment

Comments

@ghost
Copy link

ghost commented Oct 9, 2015

Hello,

I get this error at step :test when launching the gradle build command (development branch):

:test

com.nike.mm.MeasurementorApplicationTests > contextLoads FAILED
    java.lang.IllegalStateException
        Caused by: org.springframework.beans.factory.BeanCreationException
            Caused by: org.springframework.beans.factory.BeanCreationException
                Caused by: org.springframework.beans.factory.BeanCreationException
                    Caused by: org.springframework.beans.factory.BeanCreationException
                        Caused by: org.springframework.beans.factory.BeanCreationException
                            Caused by: java.lang.IllegalArgumentException

com.nike.mm.business.plugin.PleaseWorkJiraSpec > $spock_feature_0_0 FAILED
    java.lang.IllegalStateException
        Caused by: org.springframework.beans.factory.BeanCreationException
            Caused by: org.springframework.beans.factory.BeanCreationException
                Caused by: org.springframework.beans.factory.BeanCreationException
                    Caused by: org.springframework.beans.factory.BeanCreationException
                        Caused by: org.springframework.beans.factory.BeanCreationException
                            Caused by: java.lang.IllegalArgumentException

com.nike.mm.business.plugin.PleaseWorkStashSpec > $spock_feature_0_0 FAILED
    java.lang.IllegalStateException
        Caused by: org.springframework.beans.factory.BeanCreationException
            Caused by: org.springframework.beans.factory.BeanCreationException
                Caused by: org.springframework.beans.factory.BeanCreationException
                    Caused by: org.springframework.beans.factory.BeanCreationException
                        Caused by: org.springframework.beans.factory.BeanCreationException
                            Caused by: java.lang.IllegalArgumentException

com.nike.mm.repository.es.internal.JobConfigHistoryRepositorySpec > $spock_feature_0_0 FAILED
    java.lang.IllegalStateException
        Caused by: org.springframework.beans.factory.BeanCreationException
            Caused by: org.springframework.beans.factory.BeanCreationException
                Caused by: org.springframework.beans.factory.BeanCreationException
                    Caused by: org.springframework.beans.factory.BeanCreationException
                        Caused by: org.springframework.beans.factory.BeanCreationException
                            Caused by: java.lang.IllegalArgumentException

com.nike.mm.repository.es.internal.JobHistoryRepositoryItSpec > $spock_feature_0_0 FAILED
    java.lang.IllegalStateException
        Caused by: org.springframework.beans.factory.BeanCreationException
            Caused by: org.springframework.beans.factory.BeanCreationException
                Caused by: org.springframework.beans.factory.BeanCreationException
                    Caused by: org.springframework.beans.factory.BeanCreationException
                        Caused by: org.springframework.beans.factory.BeanCreationException
                            Caused by: java.lang.IllegalArgumentException

com.nike.mm.repository.es.internal.JobHistoryRepositoryItSpec > $spock_feature_0_1 FAILED
    java.lang.IllegalStateException
        Caused by: org.springframework.beans.factory.BeanCreationException
            Caused by: org.springframework.beans.factory.BeanCreationException
                Caused by: org.springframework.beans.factory.BeanCreationException
                    Caused by: org.springframework.beans.factory.BeanCreationException
                        Caused by: org.springframework.beans.factory.BeanCreationException
                            Caused by: java.lang.IllegalArgumentException

com.nike.mm.repository.es.internal.JobHistoryRepositoryItSpec > $spock_feature_0_2 FAILED
    java.lang.IllegalStateException
        Caused by: org.springframework.beans.factory.BeanCreationException
            Caused by: org.springframework.beans.factory.BeanCreationException
                Caused by: org.springframework.beans.factory.BeanCreationException
                    Caused by: org.springframework.beans.factory.BeanCreationException
                        Caused by: org.springframework.beans.factory.BeanCreationException
                            Caused by: java.lang.IllegalArgumentException

com.nike.mm.repository.es.internal.MeasureMentorJobsConfigRepositorySpec > $spock_feature_0_0 FAILED
    java.lang.IllegalStateException
        Caused by: org.springframework.beans.factory.BeanCreationException
            Caused by: org.springframework.beans.factory.BeanCreationException
                Caused by: org.springframework.beans.factory.BeanCreationException
                    Caused by: org.springframework.beans.factory.BeanCreationException
                        Caused by: org.springframework.beans.factory.BeanCreationException
                            Caused by: java.lang.IllegalArgumentException

com.nike.mm.repository.es.plugins.StashRepositorySpec > $spock_feature_0_0 FAILED
    java.lang.IllegalStateException
        Caused by: org.springframework.beans.factory.BeanCreationException
            Caused by: org.springframework.beans.factory.BeanCreationException
                Caused by: org.springframework.beans.factory.BeanCreationException
                    Caused by: org.springframework.beans.factory.BeanCreationException
                        Caused by: org.springframework.beans.factory.BeanCreationException
                            Caused by: java.lang.IllegalArgumentException
18:35:35.142 [Thread-6] INFO  o.s.c.a.AnnotationConfigApplicationContext - Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@63954b91: startup date [Fri Oct 09 18:34:20 UTC 2015]; root of context hierarchy 18:35:35.142 [Thread-10] INFO  o.s.c.a.AnnotationConfigApplicationContext - Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@f88d177: startup date [Fri Oct 09 18:35:03 UTC 2015]; root of context hierarchy 18:35:35.144 [Thread-7] INFO  o.s.c.a.AnnotationConfigApplicationContext - Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@42d35403: startup date [Fri Oct 09 18:34:29 UTC 2015]; root of context hierarchy 18:35:35.145 [Thread-8] INFO  o.s.c.a.AnnotationConfigApplicationContext - Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@62940ec4: startup date [Fri Oct 09 18:34:49 UTC 2015]; root of context hierarchy 18:35:35.147 [Thread-11] INFO  o.s.c.a.AnnotationConfigApplicationContext - Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@59b2d991: startup date [Fri Oct 09 18:35:10 UTC 2015]; root of context hierarchy

18:35:35.149 [Thread-12] INFO  o.s.c.a.AnnotationConfigApplicationContext - Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@653c11cd: startup date [Fri Oct 09 18:35:17 UTC 2015]; root of context hierarchy

18:35:35.150 [Thread-9] INFO  o.s.c.a.AnnotationConfigApplicationContext - Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@2ef11ed8: startup date [Fri Oct 09 18:34:57 UTC 2015]; root of context hierarchy 18:35:35.150 [Thread-5] INFO  o.s.c.a.AnnotationConfigApplicationContext - Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@548c3d92: startup date [Fri Oct 09 18:33:47 UTC 2015]; root of context hierarchy 18:35:35.156 [Thread-13] INFO  o.s.c.a.AnnotationConfigApplicationContext - Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@64f26d57: startup date [Fri Oct 09 18:35:24 UTC 2015]; root of context hierarchy


105 tests completed, 9 failed
:test FAILED
:jacocoTestReport

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':test'.
> There were failing tests. See the report at: file:///home/vagrant/measurementor/build/reports/tests/index.html

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Thank you for the support

@munai-das
Copy link

Hi, did you fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant