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

error starting test #1

Open
paleksic opened this issue Nov 17, 2020 · 0 comments
Open

error starting test #1

paleksic opened this issue Nov 17, 2020 · 0 comments

Comments

@paleksic
Copy link

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.909 sec <<< FAILURE! - in es.urjc.etsii.code.WebRtcBenchmarkTest
test[0: 2Xchrome](es.urjc.etsii.code.WebRtcBenchmarkTest)  Time elapsed: 1.587 sec  <<< ERROR!
org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tomcatEmbeddedServletContainerFactory' defined in class path resource [org/springframework/boot/autoconfigure/web/EmbeddedServletContainerAutoConfiguration$EmbeddedTomcat.class]: Initialization of bean failed; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.boot.autoconfigure.web.HttpEncodingAutoConfiguration': Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spring.http.encoding-org.springframework.boot.autoconfigure.web.HttpEncodingProperties': Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/ValidationException
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tomcatEmbeddedServletContainerFactory' defined in class path resource [org/springframework/boot/autoconfigure/web/EmbeddedServletContainerAutoConfiguration$EmbeddedTomcat.class]: Initialization of bean failed; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.boot.autoconfigure.web.HttpEncodingAutoConfiguration': Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spring.http.encoding-org.springframework.boot.autoconfigure.web.HttpEncodingProperties': Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/ValidationException
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.boot.autoconfigure.web.HttpEncodingAutoConfiguration': Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spring.http.encoding-org.springframework.boot.autoconfigure.web.HttpEncodingProperties': Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/ValidationException
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spring.http.encoding-org.springframework.boot.autoconfigure.web.HttpEncodingProperties': Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/ValidationException
Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/ValidationException
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.ValidationException

2020-11-17 14:59:12.167 DEBUG 22159 --- [           main] o.k.test.lifecycle.KurentoTestListener   : Finishing test class es.urjc.etsii.code.WebRtcBenchmarkTest. Test(s) failed: 1
2020-11-17 14:59:12.167 DEBUG 22159 --- [           main] o.k.test.lifecycle.KurentoTestListener   : ** Only for debugging: serviceRunner: org.kurento.test.services.WebServerService@4b0d79fc. All Service Runners: [org.kurento.test.services.WebServerService@4b0d79fc]
2020-11-17 14:59:12.167 DEBUG 22159 --- [           main] o.k.test.lifecycle.KurentoTestListener   : ** Only for debugging: serviceRunner.getScope: TEST
2020-11-17 14:59:12.169 DEBUG 22159 --- [p-shutdown-hook] o.k.test.lifecycle.KurentoTestListener   : Finishing test suite
2020-11-17 14:59:12.171 DEBUG 22159 --- [p-shutdown-hook] o.k.test.lifecycle.KurentoTestListener   : ** Only for debugging: serviceRunner: org.kurento.test.services.WebServerService@4b0d79fc. All Service Runners: [org.kurento.test.services.WebServerService@4b0d79fc]
2020-11-17 14:59:12.171 DEBUG 22159 --- [p-shutdown-hook] o.k.test.lifecycle.KurentoTestListener   : ** Only for debugging: serviceRunner.getScope: TEST

Results :

Tests in error:
  WebRtcBenchmarkTest.test[0: 2Xchrome] » ApplicationContext Unable to start emb...

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  9.555 s
[INFO] Finished at: 2020-11-17T14:59:12+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project webrtc-benchmark: There are test failures.
[ERROR]
[ERROR] Please refer to /home/ubuntu/kurento-benchmark/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

any help appreciated

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