\users\liuyangos2237\workspaces\myeclipse%2010\zhuce \webroot\web-inf\classes\users.xml (the system cannot find the path specified.) Solve

Source: Internet
Author: User\users\liuyangos2237\workspaces\myeclipse%2010\ Zhuce\webroot\web-inf\classes\users.xml (the system cannot find the path specified.) )
At Com.dao.impl.UserDaoDom4jImpl.addUser (
At Com.test.UserDaoDom4jImplTest.testAddUser (
At Sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
At Sun.reflect.NativeMethodAccessorImpl.invoke (
At Sun.reflect.DelegatingMethodAccessorImpl.invoke (
At Java.lang.reflect.Method.invoke (
At Org.junit.runners.model.frameworkmethod$1.runreflectivecall (
At (
At org.junit.runners.model.FrameworkMethod.invokeExplosively (
At Org.junit.internal.runners.statements.InvokeMethod.evaluate (
At Org.junit.internal.runners.statements.RunBefores.evaluate (
At Org.junit.internal.runners.statements.RunAfters.evaluate (
At Org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored (
At Org.junit.runners.BlockJUnit4ClassRunner.runChild (
At Org.junit.runners.BlockJUnit4ClassRunner.runChild (
At Org.junit.runners.parentrunner$ (
At Org.junit.runners.parentrunner$1.schedule (
At Org.junit.runners.ParentRunner.runChildren (
At org.junit.runners.parentrunner.access$000 (
At Org.junit.runners.parentrunner$2.evaluate (
At (
At (
At (
At Org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests (
At Org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests (
At (
At Org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main (
caused\users\liuyangos2237\workspaces\myeclipse%2010\zhuce\webroot\web-inf\ Classes\users.xml (the system cannot find the path specified.) )
At (Native Method)
At<init> (
At<init> (
at COM. Util.Dom4jUtil.write2xml (
At Com.dao.impl.UserDaoDom4jImpl.addUser (
... More

When this problem occurs, no matter how the lookup is Eclipse or myeclipse, you cannot find the Users.xml under the classes file.
To change the workspace path is to delete the file under the Package Explorer, create a new project on the desktop, then import the file into the workspace using import, and re-juit test will work, for this reason
The analysis is due to memory storage, not in the C drive, and may not be recognized by Eclipse.\users\liuyangos2237\workspaces\myeclipse%2010\zhuce \webroot\web-inf\classes\users.xml (the system cannot find the path specified.) Solve

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.