Eclipse. The archive referenced by the classpath does not exist

in eclipse I am getting this error when running my program: The archive referenced by the classpath does not exist. I have another program that looks exactly the same, but it works. Here are some screenshots: http://i.imgur.com/ISMI0UX.pnghttp://i.imgur.com/WZxgGXF.pnghttp://i.imgur.com/4tt6XJl.pnghttp://i.imgur.com/LQEEsHA.pnghttp://i.imgur.com/E2Dm2Qp.png

Here are the codes from the class files. Does not work:

<?xml version="1.0" encoding="UTF-8"?>
<classpath>
    <classpathentry kind="src" path="src"/>
    <classpathentry kind="lib" path="javazoom"/>
    <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jre7"/>
    <classpathentry kind="output" path="bin"/>
</classpath>

      

Working:

<?xml version="1.0" encoding="UTF-8"?>
<classpath>
    <classpathentry excluding="javazoom/" kind="src" path=""/>
    <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
    <classpathentry kind="lib" path="javazoom"/>
    <classpathentry kind="output" path=""/>
</classpath>

      

it's about the javazoom thing. there are only classes in javazoom and no java files, so I cannot edit them.

+3


source to share


2 answers


Just an idea, not sure if it works:

move the javazoom folder one folder down: PROJECT\libs\javazoom

instead of PROJECT\javazoom

.



then import the folder libs

as class folder instead of folder javazoom

.

+4


source


Just check if the name of the eclipse workspace is the same as projectName

ie "WeLive4Money". I faced a similar issue and it got resolved when I changed the name of my project.



+1


source







All Articles