Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -------------------------------------------------------
- T E S T S
- -------------------------------------------------------
- Running org.madnews.service.impl.ServiceImplTest
- log4j:WARN No appenders could be found for logger (org.jboss.logging).
- log4j:WARN Please initialize the log4j system properly.
- log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
- Initial SessionFactory creation failedorg.hibernate.AnnotationException: @OneToOne or @ManyToOne on org.madnews.entity.User.role references an unknown entity: org.madnews.entity.Role
- Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.457 sec <<< FAILURE!
- Running org.madnews.service.impl.PostServiceImplTest
- Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.99 sec <<< FAILURE!
- Results :
- Failed tests: warning(junit.framework.TestSuite$1): Exception in constructor: testAddPost (java.lang.ExceptionInInitializerError
- Tests in error:
- inserts(org.madnews.service.impl.PostServiceImplTest): Failed to load ApplicationContext
- Tests run: 2, Failures: 1, Errors: 1, Skipped: 0
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 19.659s
- [INFO] Finished at: Thu May 21 08:27:46 EEST 2015
- [INFO] Final Memory: 10M/171M
- [INFO] ------------------------------------------------------------------------
- [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-test) on project madNews: There are test failures.
- [ERROR]
- [ERROR] Please refer to /home/kirill/work/madNews/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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement