Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2019
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.40 KB | None | 0 0
  1. <dependency>
  2. <groupId>org.mockito</groupId>
  3. <artifactId>mockito-core</artifactId>
  4. <version>1.9.5</version>
  5. <scope>test</scope>
  6. </dependency>
  7. <dependency>
  8. <groupId>org.powermock</groupId>
  9. <artifactId>powermock-module-junit4</artifactId>
  10. <version>1.6.1</version>
  11. <scope>test</scope>
  12. </dependency>
  13. <dependency>
  14. <groupId>org.powermock</groupId>
  15. <artifactId>powermock-api-mockito</artifactId>
  16. <version>1.6.1</version>
  17. <scope>test</scope>
  18. </dependency>
  19.  
  20. Latest pom.xml dependencies
  21.  
  22.  
  23.  
  24. <dependency>
  25. <groupId>org.junit.vintage</groupId>
  26. <artifactId>junit-vintage-engine</artifactId>
  27. <version>5.3.2</version>
  28. <scope>test</scope>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.mockito</groupId>
  32. <artifactId>mockito-core</artifactId>
  33. <version>2.23.4</version>
  34. <scope>test</scope>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.powermock</groupId>
  38. <artifactId>powermock-module-junit4</artifactId>
  39. <version>2.0.0</version>
  40. <scope>test</scope>
  41. </dependency>
  42. <dependency>
  43.  
  44.  
  45. <groupId>org.powermock</groupId>
  46. <artifactId>powermock-api-mockito2</artifactId>
  47. <version>1.7.4</version>
  48. <scope>test</scope>
  49. </dependency>
  50.  
  51.  
  52. i m getting below errors
  53.  
  54. Errors:
  55. [ERROR] IntegratorAccessUpdateTest.testBeanProperties:13 » NullPointer
  56. [ERROR] ActionHistoryTest.testBeanProperties » StackOverflow
  57. [ERROR] ApplicationPreferenceManagerTest.testGetBoolean » NoClassDefFound org/powermoc...
  58. [ERROR] ApplicationPreferenceManagerTest.testGetString » NoClassDefFound org/powermock...
  59. [ERROR] CommonValidatorsDispatcherTest.setUp:25 » IllegalState Could not initialize pl...
  60. [ERROR] CommonValidatorsDispatcherTest.setUp:25 » IllegalState Could not initialize pl...
  61.  
  62.  
  63. How can i remove these errors, I am not sure that changing each and every class is feasible.is there is any compatibility issue with the versions? why is it showing stackoverflow error?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement