Struts 2 Junit Test case execution failed (StrutsTestCase.getActionProxy:138 » NullPointer)

坚强是说给别人听的谎言 提交于 2019-12-18 09:37:28

问题


I created a sample struts 2 project & junit test case by referring the below link.

http://self-learning-java-tutorial.blogspot.com.au/2015/04/struts2-junit-integration.html

But, while executing the test case I am getting following error,

Error in Eclipse JUNIT stacktrace

Can Anyone advice me how to resolve this issue ?


回答1:


The error in eclipse is resolved after adding the classes folder in the build path.

But after I faced a new Issue during maven build test execution.



来源:https://stackoverflow.com/questions/42014478/struts-2-junit-test-case-execution-failed-strutstestcase-getactionproxy138-n

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!