Question

I did a SVN checkout on a Java project in which the devs used WindowBuilder Pro to develop a GUI application - however, the devs mentioned that they didn't use any third party libraries (outside of the Java SDK - Swing and AWT). However, in the problems view of Eclipse is see three errors:

Project 'Projectname' is missing required library: 'forms-1.3.0.jar'
Project 'Projectname' is missing required library: 'miglayout15-swing.jar'
The project cannot be built until build path errors are resolved

Compiling ('javac') the entry point class (main()) from the command line and then running it with 'java' successfully runs the program.

Any ideas why those errors pop up in Eclipse and how I can resolve the issue?

EDIT: Here is the .project content

<projectDescription>
    <name>Projectname</name>
    <comment></comment>
    <projects>
    </projects>
    <buildSpec>
        <buildCommand>
            <name>org.eclipse.jdt.core.javabuilder</name>
            <arguments>
            </arguments>
        </buildCommand>
    </buildSpec>
    <natures>
        <nature>org.eclipse.jdt.core.javanature</nature>
    </natures>
</projectDescription>
Was it helpful?

Solution

Turns out WindowBuilder Pro inserted unneeded dependencies on the .classpath file.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top