Advertisement
GerasevKirill

Untitled

May 21st, 2015
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.10 KB | None | 0 0
  1. -------------------------------------------------------
  2. T E S T S
  3. -------------------------------------------------------
  4. Running org.madnews.service.impl.ServiceImplTest
  5. log4j:WARN No appenders could be found for logger (org.jboss.logging).
  6. log4j:WARN Please initialize the log4j system properly.
  7. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
  8. Initial SessionFactory creation failedorg.hibernate.AnnotationException: @OneToOne or @ManyToOne on org.madnews.entity.User.role references an unknown entity: org.madnews.entity.Role
  9. Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.457 sec <<< FAILURE!
  10. Running org.madnews.service.impl.PostServiceImplTest
  11. Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.99 sec <<< FAILURE!
  12.  
  13. Results :
  14.  
  15. Failed tests: warning(junit.framework.TestSuite$1): Exception in constructor: testAddPost (java.lang.ExceptionInInitializerError
  16.  
  17. Tests in error:
  18. inserts(org.madnews.service.impl.PostServiceImplTest): Failed to load ApplicationContext
  19.  
  20. Tests run: 2, Failures: 1, Errors: 1, Skipped: 0
  21.  
  22. [INFO] ------------------------------------------------------------------------
  23. [INFO] BUILD FAILURE
  24. [INFO] ------------------------------------------------------------------------
  25. [INFO] Total time: 19.659s
  26. [INFO] Finished at: Thu May 21 08:27:46 EEST 2015
  27. [INFO] Final Memory: 10M/171M
  28. [INFO] ------------------------------------------------------------------------
  29. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-test) on project madNews: There are test failures.
  30. [ERROR]
  31. [ERROR] Please refer to /home/kirill/work/madNews/target/surefire-reports for the individual test results.
  32. [ERROR] -> [Help 1]
  33. [ERROR]
  34. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  35. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  36. [ERROR]
  37. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  38. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement