junit.framework.AssertionFailedError: Could not find datasource

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via strutstestcase by nobody
, 1 year ago
Could not find datasource
via Coderanch by geeta gonchala, 11 months ago
The /WEB-INF/web.xml was not found.
via strutstestcase by nobody
, 1 year ago
Error while parsing file '/WEB-INF/tiles-config.xml'. Error at (8, 53: Could not convert java.lang.String to java.lang.Object
via strutstestcase by nobody
, 1 year ago
The /WEB-INF/web.xml was not found.
via sourceforge.net by Unknown author, 2 years ago
org.apache.commons.digester.Rule: method <init>()V not found
junit.framework.AssertionFailedError: Could not find datasource
at servletunit.struts.MockStrutsTestCase.getActionServlet(MockStrutsTestCase.java:344)
at servletunit.struts.MockStrutsTestCase.tearDown(MockStrutsTestCase.java:130)
at com.aneca.papf.struts.test.TestLoginAction.tearDown(TestLoginAction.java:27)
at com.aneca.papf.struts.test.TestLoginAction.main(TestLoginAction.java:38)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at org.eclipse.ve.internal.java.vce.launcher.remotevm.JavaBeansLauncher.main(JavaBeansLauncher.java:79)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.