in eclipse I get this error when I run my program: The archive which is referenced by the classpath, does not exist. I got another program which look exactly the same but there is it working. Here are some screenshots:
Here are the codes from the classpath files. Not working one:
<?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 one:
<?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. in javazoom there are only classes and no java files so I can not edit them.
jar which is referenced by the classpath, does not exist. This error comes if when the jar file is dislocated from the path you added to the class path.
By default the {project}/src folder is the classpath folder. Save this answer.
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 libs
folder as class folder instead of the javazoom
folder.
Just check if the workspace name of the eclipse and the projectName
is not same i.e "WeLive4Money". I faced similar kind of issue and it got resolved when I changed my project name.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With